Project: Build-a-House is the capstone project for the Looping section in the Intro to JS course on Khan Academy. This is also when the image library is introduced. To browse the image gallery, this program can be used, as well as its spin-offs.

Users are instructed to think about the outside of buildings. Possible ideas of where to use loops:

  • windows
  • grass
  • bricks
  • siding
  • bushes
  • log cabin
  • stars
  • flowers

Optionally, more advanced programmers can use the modulo operator as an alternative for looping.

Project goals Edit

The three things the user must confirm before submitting the project are:

  1. Draws something house-like.
  2. Uses at least two distinct loops to draw repeating parts of the drawing.
  3. Doesn't have any syntax errors or program logic errors.

Honor Code

Projects on Khan Academy close with an honor code

      I certify that this is all my original work. 
      If I took any parts from elsewhere, then they 
      were non-essential parts of the project, and 
      they are clearly attributed at the top. I will 
      show I agree to this honor code by typing "Yes":

☀ All Khan Academy content is available for free at: