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

Tell us what’s happening:

Describe your issue in detail here.
Good morning, I have been on this since yesterday, kindly put me through on the following

  1. how to create a link element
  2. div within the body

I only the above has kept me in a spot.
regards

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <linkfel="stylesheet" href= "style.css">
    <title>RPG - Dragon Repeller</title>
</head>
<body>
  <p>Welcome to my website</p>
   <a href="www.google.com">Google</a>
     <div id="game"
     <h1>Dragon Repeller </h1>
       </div>
    </body>
  </html>

<!-- User Editable Region -->

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 1

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.

Have you done the Responsive Web Design course

In particular Learn Basic CSS by Building a Cafe Menu step 16.
This should show you how to create a link element

You have put the title correctly in the head so there is no need to add the <h1>Dragon Repeller </h1> line

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