Welcome to week 5 of Intro to Web Dev!
Now you know how to use JavaScript, which lets you make your content interactive. This week you’re learning about if statements, which let you make decisions in your code.
Work through the activities in this page to complete the week!
First, watch this video and read through the tutorial:
if statement, an else if statement, and an else statement?Now you’ve seen the fundamentals of if statements in JavaScript.
To practice that, modify the files in the week-05-if-statements directory of your project repo.
if statementsweek-05-if-statements directory of your project repo