Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Assignment not animating(css). Chrome and Safari tested

I've tried to fix this for a couple days now and can't find the solution. The only thing animating for me is opacity of the smoke above the boat in this assignment. The rest doesn't appear to be linking. Any help would be much appreciated! https://w.trhou.se/ten4q6tt5e

3 Answers

Jennifer Nordell
Jennifer Nordell
Treehouse Teacher

Well, the thing that I see that stands out for me the most is this bit of code in animation.css:

@-webkit-keyframes bg-move {
  0% {background-postion: 100% -460px;}
  0% {background-postion: -350% -460px;}

You've misspelled "position" and left out an i. Try correcting that and see if you see a difference.

Good catch! That did help. It got the background moving which is more than I had before, but the steam and rock-boat animations are still not working. Thanks for your input!

Okay. After Jennifer Nordell's input I went over the code a bit more carefully and found a bunch of small errors. Semi-colon's written inside of brackets instead of outside them, keyframes declarations that were misspelled etc. Here's the finished project for reference if anyone needs it. https://w.trhou.se/kv4odr16u7