Complete:
- Structure your project.
project
\css
\img
\lib
\js
\...
index.html
...
- Use JQuery to rewrite your Q1 and Q2 code.
Try to use JQuery to manipulate DOM elements and send HTTP requests.
- New feature: Add a search box
Instead of fixing the search keyword to javascript
, we want to let
user input search keyword.
When user click search button, it should search GitHub with input keyword and show the first 10 results.
- User is able to search multiple times without refreshing the page.
It means a user searched javascript
first, and the page shows the
first 10 results. Then user input jquery
and click search button,
it should show the first 10 results for jquery
.
- Good UI for both PC and mobile.