Hello, I am currently on step 41.
Q. To prevent a user from submitting your form when required information is missing, you need to add the required
attribute to an input
element. There’s no need to set a value to the required
attribute. Instead, just add the word required
to the input
element, making sure there is space between it and other attributes.
I don’t have a problem with the challenge itself but I would like to understand why the required attribute does need a value.
Thanks!
code >