Build a Heart Icon - Step 3

Tell us what’s happening:

I have been told to place the path element inside svg element
path d="M12 21s-6-4.35-9.33-8.22C -.5 7.39 3.24 1 8.4 4.28
10.08 5.32 12 7.5 12 7.5s1.92-2.18 3.6-3.22
C20.76 1 24.5 7.39 21.33 12.78
18 16.65 12 21 12 21z. I have tried but freecodecamp is insisting that I am wrong

Your code so far

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

<!-- User Editable Region -->

<svg>
  <path d="M12 21s-6-4.35-9.33-8.22C-0.5 7.39 3.24 1 8.4 4.28 10.08 5.32 12 7.5 12 7.5s1.92-2.18 3.6-3.22C20.76 1 24.5 7.39 21.33 12.78 18 16.65 12 21 12 21z"
</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/143.0.0.0 Safari/537.36

Challenge Information:

Build a Heart Icon - Step 3

Your path doesn’t have a closing tag d attribute is not the correct

//<path d="M12 21s-6-4.35-9.33-8.22C-0.5 7.39 3.24 …..>//

Try copying instead of writing it out ur self.

Hi @CecilFortune99 and welcome to our community!

There are two issues here:

  1. Check that you have copied/pasted the d attribute value exactly as given
  2. Your path element should have correct opening and closing tags.