Step 23
Similar to your #stats
element, your #monsterStats
element needs two span
elements. Give them the class stat
and give the first element the text Monster Name:
and the second the text Health:
. After the text in each, add a strong
element with an empty nested span
element. Give the first inner span
element an id
of monsterName
and the second inner span
element an id
of monsterHealth
.
<div id="monsterStats">
<span class="stat">
<strong>Monster Name:
<span id="monsterName">
</span>
</strong>
</span>
<span class="stat">
<strong>Health:
<span id="monsterHealth"></span>
</strong>
</span>
</div>