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 jQuery Basics (2014) Creating a Simple Drawing Application Perform: Part 4

Andreas Kratzel
Andreas Kratzel
2,858 Points

This challenge is a bit frustrating to me

Does anybody else feels like this? I feel like the challenge was totally doable and logic until this very part with the canvas.beginPath() etc.

It felt like a gigantic skill-jump from 0 to 100 real quick (or in 5:59 :) ).

So is this part really a common real-life problem that eventually has to be recreated somehow/somewhen or do you think it is for demonstration purposes only?

2 Answers

Erik Nuber
Erik Nuber
20,629 Points

The canvas is new in HTML5. It is a bit confusing. I don't know how often you will need to create a drawing pad. Perhaps it might be useful as well if you were creating a game, or wanted to get creative and have something draw itself.

The other lessons in the jquery basics section are far more useful. Like creating a select menu or password verification. These are things I can see you using all the time. I'm sure someone else will have an opinion on this as well but, there is no reason you can't look things up if ever faced with something like this.

Here is a demo link you can check out. It uses the canvas tag to create an animation. Pretty sweet.

http://raksy.dyndns.org/ico.html

It's really not meant to teach you anything, but introduce you to the canvas element along with some method you can use to construct lines. More like an intro, than anything. There's other courses that will go in dept of how to best make use of the canvas tag.