JavaScript Data Structures and Algorithm -stuck in step23

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>

Hi! Please share your code, use the backticks (```). How to do:
Forum code formatting

thanks for guidance. I am stuck in this step.

Well, you’re almost done, just put this closing span after the last strong tag.

   Monster Name:
   </span>

Here is the structure:

<span class="class name">Text:
  <strong> 
    <span id="class name"></span>
  </strong>
</span>
1 Like

thankyou i was able to go forward

1 Like

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