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

Tell us what’s happening:

Describe your issue in detail here.
Kindly help me check for what i am not doing right here, thanks

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html> 
<html lan="en">
  <head>
    <meta charset= "UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>my wedsite</title>
     <head>
       <body>
         <h1>welcome to my website<h1/>
	<script src="index.js"></script>
  </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.

Hello!
Let’s clean up :wink:!

  • language declaration misspelled

  • charset has an extra space

  • head tag not properly closed

  • missing CSS link

  • h1 instead of a div missing the id in the body

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