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

Add a save state to the canvas

Hi, I followed the tutorial on making a drawing game on the canvas. Its awesome! But I would like to add a save state and allow people to post their drawings on the website. Just for fun, but any help would be welcome!

2 Answers

This article will show you how to save an html 5 canvas as an image and will allow the creator to download it to their computer.

That was very helpful Andrew. Thank you. Any extra help to allow it to be instantly added to the comments section of the page would be awesome! Thanks again.