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 Unused CSS Stages CSS Animations Full-Page Animation Project 2: WebKit Only

Mike-float infinite

so this is my code to give mike-float a duration of 3s and a reapeat of infinite, and it tells me i have trouble w/ the code

.mike { 
  -webkit-animation: mike-float 3s infinite;
}

what am i doing wrong?

2 Answers

Not sure what is wrong, as I tried the following and it worked and looks the same as your. Perhaps it's an error in the code engine just try refreshing your browser and it should work

.mike {
  -webkit-animation: mike-float 3s infinite;
}

yeah the engine was down after i refreshed like for a half an hour it finally worked, so yeah our code was the right one after all. anywhoozer thx for the response & have an awesome weekend

Yeah man a refresh can solve a lot. Nice one you have a great weekend too :)