Build a Heart Icon - Step 2

Tell us what’s happening:

I think i did the code as the tutorial instructed so I don’t know why it said my svg element need to have a width attribute of 24.

Your code so far

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Heart Icon</title>
  </head>
  <body>

<!-- User Editable Region -->

    <svg>
      <svg width="24" height="24">
    </svg>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 Edg/139.0.0.0

Challenge Information:

Build a Heart Icon - Step 2

Hi there and welcome to the forum!

But why do you have two opening svg tags?