Assessment for Conditional Test 1

Hi! I need assessment for Conditional Test 1. If I wrote the code right - somehow.

Conditional Test 1

Hello Reynante_Villalonja, your conditional checks are OK, but you have to declare the variables season and response before using them: add the following two lines at the very top of your script:

let season = 'summer';
let response;

Furthermore, you have to add this line just below the comment saying β€œDon’t edit the code below here!”:

let section = document.querySelector('section');

otherwise the response is not displayed.

1 Like