This is my code to start with…
label for=“cars”>Choose a car:
select id=“cars” name=“cars” size=“4” multiple=“multiple”>
option value=“volvo” Volvo option
option value=“saab” Saab option
option value=“fiat” Fiat option
option value=“audi” Audi option
and then when i run the tests on it i get this error message:
Inside the form element, I can select an option from a dropdown that has corresponding id=“dropdown”.’ Cannot read properties of null (reading ‘tagName’)
and what i notice is that the code i’ve written allows me to chose more than one option. but only when i press the ctrl key + the windows key. so technically, i did it right. but that’s apparently not the right way. i’m totally at a loss after spending several hours on this.
and then… i have no idea what it means when it says “null” and ‘TagName’. is the ‘TagName’ part referring to where i wrote multiple=“multiple”?
any help would be much appreciated.