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

Tell us what’s happening:

the error is: html element should have a closing tag

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
  <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content=width-device-width, initial scale=1>
        <meta http-equiv="X-UA-Compatible" content="ie:edge">
        <title>RPG - Dragon Repeller<\title>
        <link rel="stylesheet" href="style.css">
        <\head>
          <body>
          <script src="index.js"></script>
          <div id= "game"><\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’re almost there! Pay close attention to whether you use slash (/) or backslash ().

Programming languages are usually very particular in which characters are used and when. It’s very important to note what is required.

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