Document Elements with D3

Tell us what’s happening:
Im having trouble what it mean by having one h1 element in the body. Can someone clarify ?

Your code so far



<body>
  
  <h1></h1>

  <script>

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36.

Link to the challenge:

reset-the-code-and-only-add

 const h1 =d3.select("body")
      .append("h1")
      .text("Learning D3");

no-need-to-add–h1-since-it-is-already-in -the-append