Design a Greeting Card - Step 10

Tell us what’s happening:

Hi, I can’t figure out Step 10 in Design a Greeting Card. I get this error.
The #send element should contain a h2 element. I have an h2 in there, apparently in the wrong spot. Thanks

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Greeting Card</title>
    <link href="styles.css" rel="stylesheet">
  </head>
  <body>
    <div class="card" id="greeting-card">
      <h1>Happy Birthday!</h1>

      <p class="message">
        Wishing you all the happiness and joy on your special day!
      </p>

      <div class="card-links">
          <a href="#send" class="send-link">Send Card <h2>Sending your card...</h2></a>
        <a href="#share" class="share-link">Share on Social Media</a>
      </div>

<!-- User Editable Region -->

  	</div>


<!-- User Editable Region -->


  <section id="share"></section>

  </body>
</html>

/* file: styles.css */
body {
  font-family: Arial, sans-serif;
  padding: 40px;
  text-align: center;
  background-color: brown;
}

.card {
  background-color: white;
  max-width: 400px;
  padding: 40px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px gray;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0

Challenge Information:

Design a Greeting Card - Step 10

Hi. I suggest you reset the step as you have deleted the section element with the id of send.

Hi. Thanks. I think I’ve reset the lesson twice already. You are right though. I will do it again. I don’t know if that will help figure out where to put the h2. I haven’t even tried to add in the p yet. Wanting to get the h2 working first. I think I’ve been at this for too long today. :grinning_face: I’ll bet back at it tommorrow.

Add an h2 to #send

To be clear this refers to the element with the id "send"

Hi. I did get it. I had to put the h2 in a section.