Learn basic JavaScript/jQuery, basic click-events, more advanced CSS, and make an interactive personal website.
- script and stylesheet include
- more about #id's
- selecting elements with the jQuery function
$()
- jQuery
click()
andtoggle()
- include jQuery from CDN
- copy and paste CSS into separate file and include as stylesheet
- show how
$()
works with headers and paragraphs - add id's to headers and content wrapper divs
- add event listeners to make content divs show/hide on click of corresponding header