Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Sheunesu Munyaradzi](https://secure.gravatar.com/avatar/6356450c3e2451184561e2a8d8ad5385?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Sheunesu Munyaradzi
3,122 Pointsplease help me to set a horizontal and vertical offsets 0 , blur value 60px , spread is 5px and color firebrick how ?
/* Complete the challenge by writing CSS below */
.main-heading {
text-shadow: 0 0 5px #be7b31;
}
.title {
text-shadow: 1px 3px 0 #e59740;
}
.main-header {
box-shadow: inset 0 0 60px 5px #b22222;
}
<!DOCTYPE html>
<html>
<head>
<title>Lake Tahoe</title>
<link rel="stylesheet" href="page.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header id="top" class="main-header">
<span class="title">Journey Through the Sierra Nevada Mountains</span>
<h1 class="main-heading">Lake Tahoe, California</h1>
</header>
<div class="primary-content">
<p class="intro">
Lake Tahoe is one of the most breathtaking attractions located in California. It's home to a number of ski resorts, summer outdoor recreation, and tourist attractions. Snow and skiing are a significant part of the area's reputation.
</p>
<a class="callout" href="#more">Find out more</a>
</div><!-- End .primary-content -->
<footer class="main-footer">
<p>All rights reserved to the state of <a href="#">California</a>.</p>
<a href="#top">Back to top »</a>
</footer>
</body>
</html>
1 Answer
![rydavim](https://uploads.teamtreehouse.com/production/profile-photos/1857952/micro_scarabTattoo.jpg)
rydavim
18,814 PointsOkay, so I'm assuming you are working on the last task of the challenge? It looks like there are couple of issues.
You should be defining an additional box-shadow
without removing the code you wrote in the previous challenge step. Since you've passed that point, I'm going to include that code as completed.
When defining more than one box-shadow
you should use a comma between the sets of values. You shouldn't delete the first set and you shouldn't define another instance of the selector.
selector { box-shadow: <values>, <values>; }
The inset
value is normally defined at the tail end. I'm not sure whether or not this matters. You can refer to the W3 page on box-shadow for standard orders.
box-shadow: none|h-offset v-offset blur spread color |inset|initial|inherit
When defining the color
you can use the firebrick color keyword, you don't need to use the associated hex value. This may or may not impact whether your code will pass the challenge.
.main-header {
box-shadow: 0 2px 15px #aaa, /* your final step code goes here */;
}
It looks like you've got the general idea down, so if you work from the code from the previous steps you should be fine. Let me know if you're still feeling a bit lost and we can walkthrough a solution. Good luck, and happy coding!