March 22, 2024, 7:18 a.m. | Mads Stoumann

DEV Community dev.to

This is a submission for DEV Challenge v24.03.20, Glam Up My Markup: Camp Activities





What I Built


This challenge is about spicing up some markup with styles.


I added a few things to the <select>-element:



<select required>
<option value="" selected disabled>...</option>
<hr>
</select>


Adding required will trigger the browsers built-in validation, and by setting the default <option> to selected disabled and with an empty value, we make sure that it's selected by default, but not “re-selectable”.


Thus if you try …

browsers challenge css dev devchallenge element frontendchallenge glam html javascript validation value will

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US