Preview
Let's use jQuery to build a news reader.
- The file index.html contains the page structure and content
- The file style.css has the styling for the page
- Click on the first article.
- Use the
n
keyboard shortcut to go to the next article. - Then use the
o
keyboard shortcut to open the article description. - If you have issues, check out the hint!
- Click Save & Submit Code to get started!
- Click on the first article.
- Use the
n
keyboard shortcut to go to the next article. - Then use the
o
keyboard shortcut to open the article description. - If you have issues, check out the hint!
- Click Save & Submit Code to get started!
Program skeleton
The index.html file has two scriptelements right before the closing </body>
tag:
- The first script loads jQuery.
- The second script loads app.js. The fileapp.js is where we'll write jQuery code for our news reader.
var main = function() {
};
$(document).ready(main);
반응형
'Frontend > HTML5' 카테고리의 다른 글
Get Start Less (0) | 2014.09.02 |
---|---|
.prependTo() (0) | 2014.08.22 |
margin by codecademy (0) | 2014.08.21 |
ASP.NET MVC4 WEB API (1) | 2013.10.22 |
Javascript / text / cs 연결할 때 (59) | 2013.08.30 |