You found it first ⚡ 50% off any plan for 6 months, exclusive to new subscribers for a limited time only.

Join the Treehouse affiliate program and earn 25% recurring commission!

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Ricardo Sala
    Ricardo Sala
    16,212 Points

    context.stroke() --> What exactly does it do???

    Posted September 5, 2017 4:09pm by Ricardo Sala
    Ricardo Sala
    16,212 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    1 Answer

  • Grace Ji
    Grace Ji
    5,402 Points

    What is [0] behind $("canvas")?

    Posted May 28, 2017 12:09am by Grace Ji
    Grace Ji
    5,402 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    2 Answers

  • Andreas Kratzel
    Andreas Kratzel
    2,858 Points

    This challenge is a bit frustrating to me

    Posted August 5, 2016 1:14pm by Andreas Kratzel
    Andreas Kratzel
    2,858 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    2 Answers

  • john larson
    john larson
    16,594 Points

    I was thinking after starting this part of the lesson, who would use this....

    Posted July 6, 2016 2:10am by john larson
    john larson
    16,594 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    0 Answers

  • sibal gesekki
    sibal gesekki
    3,484 Points

    code not working

    Posted January 20, 2016 3:17am by sibal gesekki
    sibal gesekki
    3,484 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    1 Answer

  • Santiago Enciso
    Santiago Enciso
    17,789 Points

    beginPath() not working

    Posted November 10, 2015 7:01pm by Santiago Enciso
    Santiago Enciso
    17,789 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    3 Answers

  • Ryan Jin
    Ryan Jin
    15,337 Points

    Do you really need a semicolon in Javascript / jQuery?

    Posted August 15, 2015 3:16am by Ryan Jin
    Ryan Jin
    15,337 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    2 Answers

  • Sunny Singh
    Sunny Singh
    1,148 Points

    Help-I don't really understand the HTML5 canvas part of this tutorial.On another note is there a course teaching HTML5 ?

    Posted August 12, 2015 12:23am by Sunny Singh
    Sunny Singh
    1,148 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    1 Answer

  • Francesco Belvedere
    Francesco Belvedere
    15,206 Points

    Why is the Add New Color Button preview defaulted to black after we write the New Color span and Change Color functions

    Posted July 20, 2015 8:31pm by Francesco Belvedere
    Francesco Belvedere
    15,206 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    4 Answers

  • Iliya Narsiya
    Iliya Narsiya
    3,387 Points

    Please, explain me!

    Posted May 19, 2015 11:12pm by Iliya Narsiya
    Iliya Narsiya
    3,387 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    2 Answers

  • simon buysse
    simon buysse
    9,716 Points

    Why do we need the actual HTML object of a canvas for getContext()?

    Posted May 5, 2015 4:34pm by simon buysse
    simon buysse
    9,716 Points
    • CSS
    • jQuery Basics (2014)
    • Creating a Simple Drawing Application
    • Perform: Part 4

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.