Tell us what’s happening:
Everything seems to be working on my form. Why doesn’t it pass the test. Please help me find my error!
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0
Challenge Information:
Build a Customer Complaint Form - Build a Customer Complaint Form
Hey there,
Remember to post your code so far. What have you tried?
ILM
June 28, 2025, 8:05am
3
Hey there,
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.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
validateForm()["order-no"]
should be
true
when
#order-no
contains a valid value, and
false
otherwise. 8. When a
change
event is triggered on
#order-no
, you should set its border color to
green
if it contains a valid value, and
red
otherwise. 9.
validateForm()["product-code"]
should be
true
when
#product-code
contains a valid value, and
false
otherwise. 10. When a
change
event is triggered on
#product-code
, you should set its border color to
green
if it contains a valid value, and
red
otherwise. 21. When a radio button from
#solutions-group
is checked,
validateForm()["solutions-group"]
should be
true
. 23. Once a radio button from
#solutions-group
is checked, you should set
#solutions-group
's border color to
green
. 30. Your
isValid
function should take the
validateForm()
as its argument and return
true
when all the form fields have been filled correctly. // tests completed
This isn’t your code. It’s also hard to read and not really helpful.
If you don’t share your code, no one can help you.