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

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

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

<!-- User Editable Region -->

    <div id="game">
        <div id="stats">
            <span class="stat">
              XP: 0
            <span class="stat">
                Health: 100
            <span class="stat">
                Gold: 50
        <div id="controls"></div>
        <div id="monsterStats"></div>
        <div id="text"></div>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

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

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, do you have a question?

just fix the problem. thank you

What’s the problem to fix, then?

1 Like

Hello @0x00whitejsx !

We are not able to provide the solutions to the lessons. However, when you show us the complete code, and state what the problem is (in your own words), we are able to provide guidance for you to solve the problem.

Happy coding!

I have the same problem, my code looks like your posted code.

Please dont use another users topic for help with your own code

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like