I keep getting this error and I cant seem to be able to fix it.
16. Inside the form element, I am presented with a button with id=“submit” to submit all my inputs.
The button with id=“submit” is not inside the form element : expected 0 to be above 0
AssertionError: The button with id=“submit” is not inside the form element : expected 0 to be above 0
Can you provide more infos like a codepen.io link? Or a piece of code? Thanks!
I cant put the link what should ido
add “//” before the link so we could help…
Are you sure that your
<button> element is
Copy a piece of your code here. Copy the
<form> element and let’s see why you get this error.
Your problem is that you open a
<form> element and you close the div inside the form. Close the big div after your close the form.
OMG your a genius. thank you lauren
You have other problems even if the tests are not catching them. You are not closing the label elements. I should see something like below:
battle royale <input type="checkbox" value="1">
Also, what is
<span class="checkmark"></span> for? It does not seem to change anything if I all the instances of it in your form.
I was gonna edit the checkmark with other properties but decided not to do it and Forgot to remove them
I was just following the w3school format.
and added those elements without really thinking what they are use for.
Thank you for the tips and feedback.
now I know what I have to work on.
closing tags and mostly paying attention to detail
thank you MR dawson