🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Exercises.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.

Day 10: Checkboxes & Radio

HTML Masterclass
Current Task

Objective

Different inputs for different choices.

Step 1: Add an <input> of type "radio", name "color", value "red". Write " Red" next to it.

Step 2: Add an <input> of type "checkbox", name "agree". Write " Agree" next to it.

index.html
<form> <input type="radio" name="color" value="red" /> Red <input type="checkbox" name="agree" /> Agree </form>

* Hint: Correct characters turn green, incorrect ones turn red.

Live Preview
🖼️

Verify your code to see the preview