Homework Week 4

Introduction

This week, we finally began to actually do something with the JavaScript that we’ve been learning about for the past couple of weeks. We’re gradually learning the magic of DOM manipulation, which allows us to mutate our HTML and CSS with code!

Once again, this week will be pretty much entirely practice-based. For the regular homework, we have some exercises from W3Schools, and in the bonus homework this week, you’ll get the chance to make a robot that plays “rock, paper, scissors”!

Image of final product

Assignment

1) W3Schools exercises | 1 hour

To my bafflement this week, it turns out that freeCodeCamp have no tutorials on DOM manipulation or events in JavaScript! For the next run of this course, I’m intending to create my own version of the FCC sandbox, which will have more up-to-date code snippets, and fit better to the content of the course!

In the meantime, we have some lessons from W3Schools. W3Schools is fairly similar to FCC - there is text content explaining a given subject, and you can practice writing code for yourself:

Image of W3Schools sandbox

Wherever possible with these articles, try to have a go at actually trying this code out!

2) Week 4 Feedback | 2 mins

Fill out the form for this week’s feedback form here. This will include some standard feedback that you’ll be asked every time, as well as some specific questions for this week.

This will be helpful for me to tweak the course as we go along, and will help me to flag any topics which were confusing, which I should revisit in future lectures.