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 trialFumisai Masiyani
18,005 Pointssetting the background color to light blue
body { background-color: #cadde5; } what is wrong with the above code
<!DOCTYPE html>
<html>
<head>
<title>CSS Selectors</title>
<link rel="stylesheet" href="cc1-main-styles.css" type="text/css" media="screen">
<link rel="stylesheet" href="style.css" type="text/css" media="screen">
</head>
<body >
<h1><em>Hello</em> World!</h1>
<div>
<p>
<em>Lorem ipsum dolor</em> sit amet, consectetur adipiscing elit. Nunc pulvinar consequat tortor, nec venenatis erat elementum scelerisque. Curabitur sit amet risus nisi. Aenean aliquet euismod augue at viverra. Ut varius arcu in lorem iaculis ullamcorper. Integer eu rutrum quam.
</p>
</div>
</body>
</html>
/* Complete the challenge by writing CSS below */
body{
background-color: #cadde5;
}
3 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Fumisai,
The code challenge is asking for you to use the color keyword lightblue
not a hex code.
Teslim Adeyemo
21,275 PointsYou probably need to close the space between the body and the right facing arrow head. Be sure also that you are not linking to the wrong style sheet.
Teslim Adeyemo
21,275 PointsThat's right. Always follow the code challenge instructions word for word.