Learn Basic JavaScript by Building a Role Playing Game Step 4

You should add a strong element in your first .stat element.
Your first new strong element should have a span element.
Your first nested span element should have the id of xpText.
Your first span element should be wrapped around the text 0.
You should add a strong element in your second .stat element.
Your second new strong element should have a span element.
Your second nested span element should have the id of healthText.
Your second span element should be wrapped around the text 100.
You should add a strong element in your third .stat element.
Your third new strong element should have a span element.
Your third nested span element should have the id of goldText.
Your third span element should be wrapped around the text 50.

1 Like

Welcome to the forum @egarcia07x

  1. wrap only the numbers in span elements.
  2. wrap the new span element in a strong element
  3. give the new span elements the unique id attributes mentioned in the instructions.

Please reset the step and try again.

Happy coding