Im stuck on how to do this specific thing

Set the Breakfast option as the selected option.

     <div class="controls">
          <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>
          <button type="button" id="add-entry">Add Entry</button>

You should put selected on first <option> after the value. Looks like this: <option selected>.


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!!!


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.