Week 3 and Week 4 Javascript examples