<canvas> is an HTML element that serves as a container for graphics created using JavaScript.

<canvas> makes it possible to create elaborate text, to drawings, to animations, and in-browser games!

If you have an artistic calling within you waiting to be expressed in code, <canvas> is the tool for you. Take this lesson to learn how to set up your canvas and draw on it. This will be the first step into bringing your imagination to code!

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?