I’m failing 5 tests, and they all seem related. 18/20 are about the complaint checkboxes and description, and 26/28 are the same issues relative to the solution radio button and description. In both cases, if I check/select Other and enter less than 20 characters, the borders turn red and I can’t submit. The tests are saying that validateForm() for the relevant elements should be false, but the fact that the borders are turning red suggests they are. Test 31 says isValid should return false ..
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.2 Safari/605.1.15 Ddg/26.2
Challenge Information:
Build a Customer Complaint Form - Build a Customer Complaint Form
Please update the message to include your code. The code was too long to be automatically inserted by the help button.
When you enter a code, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.