Hi,
add ``` before and after your code so we can see the actual code. You can also write your code and select all then ctr + e and it will format it for you.
When you enter a code block into a forum post, 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.
You have three more empty input elements. One here (<input/>):
and another one here:
and another one after your date of birth input.
It’s worth mentioning that input elements do not need a closing tag, so if you intended to use those (<input/>) tags as closing tags then it won’t work, they are seen as separate input elements.
Overall, there should be three input elements.
Good luck!
I’ve edited your code for readability. When you enter a code block into a forum post, 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.
It looks like there are some issues in the form structure, particularly with the input fields inside the “Student Info” section. Each <label> should be correctly associated with a single <input> using the for attribute, but there are duplicate input fields without proper structure. For example, in the name, email address, and date of birth fields, there are extra <input/> tags that should be removed.
Additionally, the for attributes inside <label> should match the corresponding id of the input fields. The label for “email address” currently has for="email address", but the input has id="email", which is inconsistent. Changing it to for="email" will ensure proper accessibility. Fixing these issues should resolve the problem. Keep going, you’re almost there!
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.