Why doesn't this pass validation?

After practicing this exercise in codepen, I had codepen “analyze html” and it produced the following result.

So, is this accurate? Thank You.

this is the official tool:

https://validator.w3.org/

i assume codepen implements it

you forgot the > to close the form opening tag. As such, label is seen as an attribute while it should be a child element.

2 Likes