What's wrong with the dropdown tag?

Issue Description

I do not seem to be able to execute my code because of the “dropdown tag”. The code seems to be having no error. Would you please look into the same.

Browser Information

  • Browser Name, Version: chrome
  • Operating System: Windows 10
  • Mobile, Desktop, or Tablet: desk

Your Code / Link to Your Pen

Hello there,

Whilst you do have a dropdown, and the tests could be rewritten to account for the method you have used to create one, there are a few issues with the method you have, and it does not fall under best-practices.

I suggest you have a look at Mozilla Docs for more information. Essentially, it boils down to how the data is passed to the server, as well as accessibility.

Following the above link will help you create a dropdown conforming to best-practices as well as passing the test.

Hope this helps

1 Like

Thanks, @ Shaun Sky020! That saved me a day!