I can’t seem to find the problem with my code. What’s wrong with it?
Paste your code please
I can’t seem to find the problem with my code. What’s wrong with it?
Wrap the numbers 0
, 100
, and 50
in span
elements, and wrap those new span
elements in strong
elements. Then give your new span
elements id
values of xpText
, healthText
, and goldText
, respectively.
0
100
50
<span id="xpText"> <strong>0</span></strong>
<span id="healthText"> <strong>100</span></strong>
<span id="goldText"> <strong>50</span></strong>
The whole code please
XP: 0
Health: 100
Gold: 50
You need to wrap the span
elements inside a strong
elements like so
<strong><span>text</span></strong>
Right now you seem to have mixed yourself up
1 Like
Thank you so much. I’ve been studying web dev for 6 months and still couldn’t do something simply like this.
You will get there dont’t worry consistency is the key
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.