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.

CSS Animating SVG with CSS Keyframe and Line Drawing Animations Animating stroke-dasharray and stroke-dashoffset

gene c
gene c
13,630 Points

Shouldn't the last step of animating line drawings be animating stroke-dashOFFSET to 0 instead of stroke-dasharray?

Even the keyframes animate the stroke-dashoffset back to 0

@keyframes offset {
    100% {
        stroke-dashoffset: 0
    }
}

3 Answers

Steven Parker
Steven Parker
217,572 Points

Looks like you found a "bug" in the video. You might want to report it to the staff as described on the Support page. If you're the first to report it, you should get an Exterminator badge (let us know if you do).

gene c
gene c
13,630 Points

Haha, I raised the bug to Team Treehouse but didn't get a response. Oh well haha.

Steven Parker
Steven Parker
217,572 Points

You should have at least got an automated confirmation of email receipt, perhaps you message didn't get delivered.

Try again, and copy-paste the email address to avoid any possible typos.

Thank you!! I was so confused on this step.