Learn Basic JavaScript by Building a Role Playing Game - Step 4

Tell us what’s happening:

Describe your issue in detail here.
I cant figure out whats wrong

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="./styles.css">
    <title>RPG - Dragon Repeller</title>
  </head>
  <body>
    <div id="game">
      <div id="stats">

<!-- User Editable Region -->

        <span class="stat"><strong>XP: <span id=xpText> 0</span>
        <span class="stat"><strong>Health: 100<span id=healthText> 100</span>
        <span class="stat"><strong>Gold: <span id=goldText> 50</span>

<!-- User Editable Region -->

      </div>
      <div id="controls"></div>
      <div id="monsterStats"></div>
      <div id="text"></div>
    </div>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

Learn Basic JavaScript by Building a Role Playing Game - Step 4

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Hi! You’re so close! Keep going! “Strong” is html’s way of making text bold . But it also needs to know when to stop making things bold with

</strong>. Hence this is called “wrapping” like you would wrap a present.

Follow the instructions exactly and you will get there!

this is what i got:

XP: 0
Health: 100
Gold: 50

oh right i shouldnt have put 100 twice

still doesnt work, even after removing 100

What exactly do the instructions say to “wrap”?

    <strong><span class="stat">XP: 0 <span id="xpText"> </span></strong>
   <strong> <span class="stat">Health: 100 <span id="healthText"> </span></strong>
    <strong><span class="stat">Gold: 50 <span id="goldText"> </span></strong>

still not working

Follow the instructions exactly.
For example, wrapping a present with pink paper and then with blue paper is not the same as wrapping it first with blue paper and then pink paper. Also, what text exactly does it say to wrap?

ive done everything posible under the sun:

here, here’s my latest:

XP: 0
Health: 100
Gold: 50

XP: 0
Health: 100
Gold: 50

it appears like i posted the solution

The instructions do not say to make bold the text XP, Health, or Gold.

i solved it dont worry