Complete the Form Input
Fill in the Blank Beginner
Question
Fill in the blank to make this email input required.
Code
<input type="email" id="email" ___>
Hint
It is a boolean attribute — its presence alone is enough.
Explanation
The 'required' attribute is a boolean attribute. Its mere presence tells the browser the field must be filled before the form can be submitted. No value is needed: <input type="email" required>.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.