I just recenlty started learning how to code and had a question about one of the basic html projects.
I am only able to get 16/17 on the project and when I check to see what was not completed it showed me this message.
For the name, email, and number input fields inside the form I can see corresponding labels that describe the purpose of each field with the following ids: id=“name-label”, id=“email-label”, and id=“number-label”.
I have all of the correct labels in the correct places.
What I believe to be the issue is line 43.
It seems to be some sort of “dead” line because the “id” and “for” values are the same color as the
I have tried for a while to get the line to match the correct colors with no success.
Any help would be much appreciated.
Thank you for your time.
The line itself used to work fine until recently without me changing anything.
If I remove the angle brackets around age and span, then “Age” is removed from the label next to the number input.
Do you know why the line is all the same color before <span class… on line 43?
Similar code was used for the other labels that worked as planned.
Once again, your help is much appreciated.
when a line has a weird color I would look just above it to see if there is anything missing or out of place - if you fix that I am sure it returns colored normally
I’ve edited your post 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.