Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
  • Heggy Castaneda
    Heggy Castaneda
    529 Points

    [Bonus Game Share - Not a question]

    Posted December 27, 2020 1:47am by Heggy Castaneda
    Heggy Castaneda
    529 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    1 Answer

  • Casey Fulmore
    Casey Fulmore
    1,853 Points

    Game freezes when collecting coins

    Posted October 20, 2019 11:58pm by Casey Fulmore
    Casey Fulmore
    1,853 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    1 Answer

  • Reza Zandi
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Reza Zandi
    Full Stack JavaScript Techdegree Student 1,599 Points

    how do I 'fork' my code and share it with others?

    Posted April 25, 2019 3:23am by Reza Zandi
    .a{fill-rule:evenodd;}techdegree
    Reza Zandi
    Full Stack JavaScript Techdegree Student 1,599 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    1 Answer

  • Thomas Goepfert
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Thomas Goepfert
    Front End Web Development Techdegree Student 6,124 Points

    End game

    Posted March 20, 2019 9:46pm by Thomas Goepfert
    .a{fill-rule:evenodd;}techdegree
    Thomas Goepfert
    Front End Web Development Techdegree Student 6,124 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    6 Answers

  • Derek Hutson
    Derek Hutson
    9,740 Points

    Trying to insert Mike and screen is black

    Posted March 5, 2019 5:50pm by Derek Hutson
    Derek Hutson
    9,740 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    1 Answer

  • Gedeon Bashimbe
    Gedeon Bashimbe
    1,026 Points

    Adding life counter

    Posted February 1, 2019 5:07pm by Gedeon Bashimbe
    Gedeon Bashimbe
    1,026 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    4 Answers

  • Angelic Sanoy
    Angelic Sanoy
    8,054 Points

    I downloaded the Introducing Javascript project. When I open the index.html. Nothing works. Any idea?

    Posted December 27, 2018 6:28pm by Angelic Sanoy
    Angelic Sanoy
    8,054 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    2 Answers

  • Chris Corpuz
    Chris Corpuz
    401 Points

    changed sprite to mikethefrog and added life counter, but score stays at 0 doesn't change. help

    Posted August 31, 2018 7:37pm by Chris Corpuz
    Chris Corpuz
    401 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    3 Answers

  • Siraj khan
    Siraj khan
    420 Points

    I have covered HTML,CSS & JS (Beginner's Level). What course should I take for the learning the backend programming.?

    Posted April 13, 2018 10:34am by Siraj khan
    Siraj khan
    420 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    2 Answers

  • Nour El-din El-helw
    Nour El-din El-helw
    8,241 Points

    Trying to improve the game we made

    Posted April 8, 2018 1:36pm by Nour El-din El-helw
    Nour El-din El-helw
    8,241 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    2 Answers

  • Ioana Sauluc
    Ioana Sauluc
    3,251 Points

    I have hard time to add coins in the bonus game.

    Posted April 4, 2018 9:31pm by Ioana Sauluc
    Ioana Sauluc
    3,251 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    3 Answers

  • Engin Tandogan
    Engin Tandogan
    615 Points

    Small bug found in the code

    Posted April 4, 2018 10:17am by Engin Tandogan
    Engin Tandogan
    615 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    3 Answers

  • Ben Hobgood
    Ben Hobgood
    1,791 Points

    Edited Game Example

    Posted February 25, 2018 12:57am by Ben Hobgood
    Ben Hobgood
    1,791 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    0 Answers

  • Paul Dieter
    Paul Dieter
    1,569 Points

    Having trouble modifying the game using the teachers notes

    Posted February 14, 2018 1:39am by Paul Dieter
    Paul Dieter
    1,569 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    2 Answers

  • Balazs Peak
    Balazs Peak
    46,160 Points

    I've modified this game and I would like to deploy it on the AWS and Google Cloud platforms for practice. Can you help?

    Posted February 1, 2018 9:17pm by Balazs Peak
    Balazs Peak
    46,160 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    1 Answer

  • Jose Luis Ocaña
    Jose Luis Ocaña
    3,746 Points

    How to create life counter?

    Posted January 19, 2018 8:42pm by Jose Luis Ocaña
    Jose Luis Ocaña
    3,746 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    2 Answers

  • Stacy Chairez
    Stacy Chairez
    178 Points

    How to create a lifeCounter

    Posted January 18, 2018 7:18pm by Stacy Chairez
    Stacy Chairez
    178 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    1 Answer

  • Kyle Schmelzer
    PLUS
    Kyle Schmelzer
    Courses Plus Student 212 Points

    I try to download the workspace to work on the code in a program I am comfortable with, and the file is not working.

    Posted December 16, 2017 8:17pm by Kyle Schmelzer
    Kyle Schmelzer
    Courses Plus Student 212 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    2 Answers

  • Khaleel Yusuf
    Khaleel Yusuf
    15,208 Points

    I have many questions

    Posted November 18, 2017 8:34am by Khaleel Yusuf
    Khaleel Yusuf
    15,208 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    2 Answers

  • Bianca Power
    Bianca Power
    495 Points

    Can't win if score goes below zero during game

    Posted November 12, 2017 7:59am by Bianca Power
    Bianca Power
    495 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    1 Answer

  • Yuanjian Liao
    Yuanjian Liao
    451 Points

    Have a hard time display an text object in the game

    Posted October 30, 2017 6:54pm by Yuanjian Liao
    Yuanjian Liao
    451 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    1 Answer

  • Jesse Thompson
    Jesse Thompson
    10,684 Points

    How do I add lives? Do I just change the values of the currentScore and winningScore? Or do I have to call new variables

    Posted September 24, 2017 4:55am by Jesse Thompson
    Jesse Thompson
    10,684 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    3 Answers

  • Stephen Morgans
    Stephen Morgans
    2,070 Points

    I have opened the workspace on the current video and it's blank with no JS or html files.

    Posted September 17, 2017 7:42pm by Stephen Morgans
    Stephen Morgans
    2,070 Points
    • JavaScript
    • Introducing JavaScript
    • Finishing the Game
    • Wrapping It Up

    1 Answer

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord