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

JavaScript

Javascript and SVG animation... suggestion and inspiration

To whom it may concern.

I'm an italian graphic designer and digital animator, recently I learned HTML and CSS thanks to Treehouse basic subscription. And I loved it very much.

Now, I'd like to learn javascript, particulary I'd like to create interactive animation with SVG. I'd like to learn javascript to improve my artistic skills with the power of interaction.

I tried a lot with treehouse basic courses... but I'm not able to set my mind on thins language... I had no problems with HTML and CSS, but I'm really concerned not being able to understand Javascript logic.

So what you suggest me in order to open my brain to javascript? I study, but there is something wrong in my method.

Thank you

Cesare Parmiggiani (from Italy)

3 Answers

Hi Cesare, One important thing to remember is that HMTL is a markup language and not a full programming language and that CSS is also not a programming language.

What this means is once you get into JavaScript, or any other programming language, there are a lot of new concepts that you have to learn, and most people do struggle in learning them, especially at first. This is because you probably have to think about solutions in a different way than you ever have and this new approach is challenging.

Another thing to consider is that the way people learn programming tends to be highly individual. There are a lot of books and tutorials out there, and some helped me and some did not, and if I talk to other people who are also trying to learn, the things that help them are sometimes very different.

The good news is that there are fundamental concepts in JavaScript (and other programming languages) that once you get them, you can recognize them and use them much more readily (loops, conditionals, booleans, arrays...).

I would suggest that when you get stuck, look up some free online sources and try to read or watch some other videos- a different person's approach to explaining something may be the way it makes the most sense to you.

IF you haven't already taken it, check out CSS Beyond the Basics. The 3rd stage is all about animation in CSS and I was amazed how much you can do with no JavaScript at all. Also check out the jQuery Basics. Between the two you can probably get animation to work without too much code. As for JavaScript - follow the Full-Stack track from the JavaScript Basics to get the programming concepts in a good order. Like Karolin said, it's totally different and a lot of people struggle to understand the first programming language they learn. (You could also look at the beginning/basics class for any other language to help reinforce the new concepts with slightly different keywords.)

Karolin Rafalski & Karen Freeman-Smith, Thank you so much for your suggestions!

Sometimes I got stuck in javascript or jquery because i don't understand the way exemples are written, even in courses here in treehouse...

I even tried Greensock, or use some javascript in softwares like Edge animate and Hype... I'd like to learn javascript to improve my skills in After Effects (I'm a good 2d animator).

But I know, I have to study harder and be patient.

Thank You again and sorry If I answered so late.

Cesare