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)
![Rasmus Gustafsson](https://secure.gravatar.com/avatar/051d8c046db15b6ef02b696d59aadb67?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Rasmus Gustafsson
6,262 PointsI dont know the objective because for me, as a not english person, the description is hard to understand.
I have absolutely NO idea whats the objective... So if someone could make it a little bit clearer i would appreciate it VERY MUCH! Thank you : )
<!DOCTYPE html>
<html>
<head>
<title>More Pseudo-classes</title>
<link rel="stylesheet" type="text/css" href="page.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<ul>
<li><a href="#s1">Section 1</a></li>
<li><a href="#s2">Section 2</a></li>
</ul>
<div id="s1">
<h2>Section 1</h2>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex.
</div>
<div id="s2">
<h2>Section 2</h2>
Integer laoreet urna ut est cursus nec tristique elit vestibulum. In hac
habitasse platea dictumst. Quisque pharetra odio nec urna lobortis sed
ultrices dolor posuere. Sed nec nisl id augue congue euismod.
</div>
</body>
</html>
/* Write your CSS code below */
:root {
background-color: lightblue;
}
url([id="#"]):target {
background-color: tomato;
}
4 Answers
![Dan Martin](https://uploads.teamtreehouse.com/production/profile-photos/25959/micro_dm_profile.jpg)
Dan Martin
33,150 PointsIt is an oddly phrased question, It is not your english.
They are looking for ...
:target { background-color: tomato; }
![Chase Lee](https://uploads.teamtreehouse.com/production/profile-photos/52296/micro_Untitled-1.jpg)
Chase Lee
29,275 PointsCould you please paste the question into the forum.
![Rasmus Gustafsson](https://secure.gravatar.com/avatar/051d8c046db15b6ef02b696d59aadb67?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Rasmus Gustafsson
6,262 PointsQuestion: Create a new rule using the selector that targets an element only if its ID matches the hash in a URL. Set the background color to tomato.
![Chase Lee](https://uploads.teamtreehouse.com/production/profile-photos/52296/micro_Untitled-1.jpg)
Chase Lee
29,275 PointsTry changing the #
to s1
.
![Chase Lee](https://uploads.teamtreehouse.com/production/profile-photos/52296/micro_Untitled-1.jpg)
Chase Lee
29,275 PointsOr s2
.
Rasmus Gustafsson
6,262 PointsRasmus Gustafsson
6,262 PointsWow! Thank you so much. I thought i tried that too but i guess i didn't :P Anyways, thank you very much!