Set the Breakfast option as the selected option.
<div class="controls">
<span>
<label for="entry-dropdown">Add food or exercise:</label>
<select id="entry-dropdown" name="options">
<option value="breakfast">Breakfast</option>
<option value="lunch">Lunch</option>
<option value="dinner">Dinner</option>
<option value="snacks">Snacks</option>
<option value="exercise">Exercise</option>
</select>
<button type="button" id="add-entry">Add Entry</button>
</span>
</div>
You should put selected on first <option> after the value. Looks like this: <option selected>.
2 Likes
okay i got some progress, but now the hint says
Your first option should be selected by default.
and this is what i have so far
Add food or exercise:
Add Entry
goooottttt it thANNNNKA BRRROOO!!!
2 Likes
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.