Topic
JavaScript (Advanced)
The first JavaScript topic made the page react to the user. This one is about JavaScript that holds up: code that runs later, handlers you can add and remove, errors you catch instead of crash on, forms that explain what is wrong, objects and classes that describe your data, the array methods you will use every day, and the three places a browser can keep data between visits.
Lessons
0 of 8 done- TimersRun code later with setTimeout, repeat it with setInterval, and stop both.Start
- Event listenersWhy addEventListener beats onclick, how to remove a listener, and what the event object tells you.Start
- try, catch, finallyCatch errors instead of crashing on them, and throw your own.Start
- Better form validationCheck a form yourself on submit and show your own messages next to the fields.Start
- Objects and classesObjects inside objects, safe reading with ?., and classes as templates for objects.Start
- map, filter, find and reduceFour array methods that replace most of the loops you write.Start
- Browser storageKeep data between visits with localStorage, sessionStorage and cookies.Start
- Capstone: an expense listBuild a small expense list that validates, totals and saves itself.Start
Need the notes? The key points and live demos for JavaScript (Advanced) are on one page: reference notes.



