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 trialTanca-Sanquer Gigel
6,562 Points"Oops!Looks like Task 3 is no longer passing" It did this yesterday aswell;is this a bug?
So i did this yesterday aswell,and just same issue.Thank you for helping me,i really need this in order to finish the Css course.
/* 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 firebrick;
}
<!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>
3 Answers
Kristopher Van Sant
Courses Plus Student 18,830 PointsHi! The code for the 4th challenge task should be in addition to what you wrote before, not replacing it because you want there to be a box-shadow AND an inner-shadow. The challenge gives the hint "Just like the text-shadow property the box-shadow can take multiple comma-seperated values to add additional shadows to the same element."
So if you have the following from the 3rd challenge task....
.main-header {
box-shadow: 0 2px 15px #aaa;
}
You should be able to create the inner-shadow by adding a comma to the end of the box shadow values you already have, and then after that comma add the new inner-shadow values.
.main-header {
box-shadow: 0 2px 15px #aaa, values for inner-shadow;
}
Tanca-Sanquer Gigel
6,562 PointsThank you very much!It worked,i didn't pay attention to the question,my bad;also i didn't know we could do that comma inline continuation.
Kristopher Van Sant
Courses Plus Student 18,830 PointsNo problem! Glad I could help :) Ha, yes try to pay attention to what the challenges ask, they can be very specific and they do sometimes give you hints to help you solve them. Keep up the good work!!
Ted Sumner
Courses Plus Student 17,967 PointsJust to add, there is an issue with many challenges that will give an error to the prior question when the error is really to the question you just answered.