curriculum/challenges/english/blocks/workshop-greeting-card/6729005c87b6320356ac1140.md
The .card element needs some more styling: add a border-radius of 10px, and a box-shadow with a value of 0 4px 8px gray.
The .card selector should have a property border-radius with value 10px.
assert.strictEqual(new __helpers.CSSHelp(document).getStyle(".card")?.getPropertyValue("border-radius"), "10px");
The .card selector should have a property box-shadow with value 0 4px 8px gray.
assert.strictEqual(
new __helpers.CSSHelp(document).getStyle(".card")?.getPropertyValue("box-shadow"),
"gray 0px 4px 8px" // this is the value outputted by getPropertyValue
);
<!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>
</body>
</html>
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;
--fcc-editable-region--
--fcc-editable-region--
}