Build a Heart Icon - Step 2

Tell us what’s happening:

The next step is to set the width and height attributes for the svg element. As you are creating an icon, both values should be set small.

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";

    </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

Challenge Information:

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

Hi @Moinuddin14 and welcome to our community!

If you want to add attributes to an HTML element, where should you put them?

Check your other elements for examples of the correct syntax and placement.