# Design a Greeting Card - Step 23

**URL:** <https://forum.freecodecamp.org/t/design-a-greeting-card-step-23/789470>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [May 21, 2026, 8:06am UTC](https://forum.freecodecamp.org/t/design-a-greeting-card-step-23/789470 "2026-05-21T08:06:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevlocode](https://avatars.discourse-cdn.com/v4/letter/k/ad7895/32.png) [@Kevlocode](https://forum.freecodecamp.org/u/Kevlocode)\
**Post date:** [May 21, 2026, 8:06am UTC](https://forum.freecodecamp.org/t/design-a-greeting-card-step-23/789470/1 "2026-05-21T08:06:39Z")

</div>

### Tell us what’s happening:

I´m stuck, I don’t know where is the problem with my code:  
.card-links a:focus {  
outline: 2px solid yellow;  
}

### Your code so far

```html
<!-- 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</a>
        <a href="#share" class="share-link">Share on Social Media</a>
      </div>
  	</div>
    <section id="send">
      <h2>Sending your card...</h2>
      <p>Card successfully sent to your recipient!</p>
    </section>
    <section id="share">
      <h2>Sharing your card...</h2>
      <p>Your card was shared on social media!</p>
    </section>
  </body>
</html>

```

```css
/* 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;
  transition: transform 0.3s, background-color 0.3s ease
}

.card:hover {
  background-color: khaki;
  transform: scale(1.1);
}

h1::before {
  content: "🥳 ";
}

h1::after {
  content: " 🥳";
}

.message {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.card-links {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.card-links a {
  text-decoration: none;
  font-size: 1em;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  background-color: midnightblue;
  transition: background-color 0.3s ease;
}

.card-links a:hover {
  background-color: orangered;
}

.card-links a:active {
  background-color: midnightblue;
}

/* User Editable Region */

.card-links a:focus {
  outline: 2px solid yellow;
}

/* User Editable Region */

```

### Your browser information:

User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15`

### Challenge Information:

Design a Greeting Card - Step 23

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design-v9/workshop-greeting-card/step-23)**
>
> Learn to Code — For Free

GitHub Link: [freeCodeCamp/curriculum/challenges/english/blocks/workshop-greeting-card/67333b1d5f4a7340a121973a.md at main · freeCodeCamp/freeCodeCamp · GitHub](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/workshop-greeting-card/67333b1d5f4a7340a121973a.md)

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [May 21, 2026, 8:13am UTC](https://forum.freecodecamp.org/t/design-a-greeting-card-step-23/789470/2 "2026-05-21T08:13:49Z")

</div>

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [June 18, 2026, 8:14am UTC](https://forum.freecodecamp.org/t/design-a-greeting-card-step-23/789470/3 "2026-06-18T08:14:32Z")

</div>

Closed on June 18, 2026, 8:14am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
