This is the code I have and I’ve followed the instruction exactly to what they say and its not running the tests and passing them
If anyone can tell me if I have something wrong i’m not doing I would appreciate the help, thank you
https://justpaste.it/4xffz
Here’s the challenge: https://www.freecodecamp.org/learn/2022/responsive-web-design/build-a-survey-form-project/build-a-survey-form
Please add link to the challenge, it will be easier for us to help you.
First:
<input id="name" type="text" placeholder="Enter Name Here" required></input>
This is incorrect. Consider refresh knowledge about input elements. Then fix them.
To check your code you can use this:
If needed, ask more questions please
omg im so stupid input elements are self closing, smh thank you so much for the help lol
nope
You just need more practice, you’ll get there
its saying my code has no errors using the markup validator and I fixed my input elements but still failing the tests
Well, I need to see your updated code.
And also tell me which tests are failing, there are lot of them in this project.
JustPaste.it - Share Text & Images the Easy Way none of the tests are check marking when I click Run The Tests nothing happens
Your code passes ALL tests except one for me.
All your checkboxes inside #survey-form
should have a value
attribute and value.
And the same trouble with radiobuttons
hmm I guess that fixed it I had value set to value=“” instead of starting it with value=“1”
and now when I run tests it says 20% complete and lets me submit and go to next challenge
so congratulations, project done
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.