Add Document Elements with D3

Tell us what’s happening:

please can someone help me am totaly lost here i dont understand why i keep getting unexpected token

Your code so far


<body>
  <script>
    // Add your code below this line
 <h1>
.select("h1");
.append("h1");
.text("Learning D3");
  </h1>  
    // Add your code above this line
  </script>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:

Your <h1> tag should be inside the <body> tags before the JavaScript. And you also need to access the d3 object to use its’ methods.