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

CSS CSS - Beyond the Basics Understanding CSS Transitions and Transforms Transitions Challenge

why isnt this challenge working? no matter how many times i reload or refresh

Oh no! There was a communication problem.

If you continue experiencing problems, please contact support at help@teamtreehouse.com.

Restart Challenge Back to overview

style.css
/* Complete the challenge by writing CSS below */

.button {  
  background: #4682B4;
}

.button:hover {
    background: #356690;
}
index.html
<!DOCTYPE html>
<html>
<head>
    <title>CSS Transitions</title>
    <link rel="stylesheet" href="page.css">
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <a class="button" href="#">Learn More</a>
</body>
</html>

1 Answer

Shanequa, you didn't show any of your work, so it's difficult to say why it's not working.
Maybe I misunderstand, and it's a site issue. In that case, you might try reloading the page. Just in case, you only need the declarations in the rule for .button:

.button {  
  background: #4682B4;
  transition-property: background;
  transition-duration: .4s; 
}

.button:hover {
    background: #356690;
}