Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Foundations Text, Fonts, and Lists More Text Properties: Part 1

Create a text shadow for the paragraph using a horizontal offset of 0, a vertical offset of 1px, and shadow color of whi

answer plz

index.html
<!DOCTYPE html>
<html>
<head>
    <title>More Text Properties</title>
    <link rel="stylesheet" type="text/css" href="page.css">
    <link rel="stylesheet" href="style.css" />
</head>
<body>
    <h1>Let's Have Fun With CSS Text Shadows!</h1>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur commodo tortor ante. Phasellus accumsan ligula ac augue accumsan pharetra. In ac lorem nisi, id laoreet mauris. Mauris ac elit a est placerat sodales in vel felis. Morbi commodo elit quis dolor venenatis porttitor.</p>
</body>
</html> 
style.css
/* Complete the challenge by writing CSS below */
h1 {
  text-shadow: 0 2px 6px #3e6aa8;
}
p {
  text-shadow: 0 2px 6px #3e6aa8, 0 1px white;
}

1 Answer

Nicole Archambault
Nicole Archambault
27,848 Points

Hi Ahmed!

It looks like you're pretty close. You included the parameters for the first step (h1) alongside your parameters for the second step (p). Clean that up and you should be good to go!

p {
  text-shadow: 0 1px white;
}

Keep up the good work! If my answer was helpful in completing your challenge, please remember to vote and mark this as Best Answer. :)