Build a Heart Icon - Step 6

Tell us what’s happening:

i think the code is true why is not running ?

Your code so far

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

<!-- User Editable Region -->

    <svg width="24" height="24" viewBox="0 0 24 24">
      <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.22C20.76 1 24.5 7.39 21.33 12.78 18 16.65 12 21 12 21z"
        fill="red"
      ></path>
    </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/140.0.0.0 Safari/537.36

Challenge Information:

Build a Heart Icon - Step 6
https://www.freecodecamp.org/learn/full-stack-developer/workshop-build-a-heart-icon/step-6

Hi @aymanereetoo and welcome to our community!

set the svg element’s fill attribute to red

Have you added the fill attribute to the svg element?

Hu buddy also here if you put D in capital then it will sound you keep an eye on each and every aspect of yout code.