Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

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

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
  • Ali Imran
    Ali Imran
    4,311 Points

    help stuck

    Posted December 13, 2018 2:44am by Ali Imran
    Ali Imran
    4,311 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    1 Answer

  • dpresume
    dpresume
    2,848 Points

    I am not understanding this question. Am I suppose to multiply?

    Posted April 11, 2018 8:08pm by dpresume
    dpresume
    2,848 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    3 Answers

  • Kendrick Walker
    Kendrick Walker
    1,549 Points

    help me

    Posted June 23, 2017 1:53pm by Kendrick Walker
    Kendrick Walker
    1,549 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    1 Answer

  • Shawn McKibben
    Shawn McKibben
    1,882 Points

    What should I do next? Completed all courses sequentially including the MASH project, but it does not show whats next?

    Posted April 5, 2017 3:42pm by Shawn McKibben
    Shawn McKibben
    1,882 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    1 Answer

  • scot mularkey
    scot mularkey
    1,733 Points

    How do I get the .js (JavaScript) file back in my MASH ?

    Posted January 24, 2017 4:34am by scot mularkey
    scot mularkey
    1,733 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    2 Answers

  • Anand Swamy
    PLUS
    Anand Swamy
    Courses Plus Student 2,368 Points

    I've completed the end of Java Mash in Digital Literacy, but it keeps freezing on me. I've tried it a few times.

    Posted January 19, 2017 5:21pm by Anand Swamy
    Anand Swamy
    Courses Plus Student 2,368 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    1 Answer

  • Molly Brown
    Molly Brown
    2,371 Points

    I finished the MASH-JavaScript lesson, but I'm stuck in a loop of retaking the last quiz over and over, not going on.

    Posted November 15, 2016 8:57pm by Molly Brown
    Molly Brown
    2,371 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    2 Answers

  • Ari Westwood
    Ari Westwood
    1,511 Points

    The MASH code won't give me any answers, it just refreshes the page when I click "Tell My Fortune".

    Posted May 30, 2016 7:07pm by Ari Westwood
    Ari Westwood
    1,511 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    1 Answer

  • pawkan kenluecha
    pawkan kenluecha
    26,303 Points

    what do we put 4 in random_number() function ? Array start from 0-3 (4 items) If random number is 1, it's gonna be 4.

    Posted March 1, 2016 11:36am by pawkan kenluecha
    pawkan kenluecha
    26,303 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    1 Answer

  • Jacob Brech
    Jacob Brech
    7,224 Points

    Shouldnt this give you a number between 0 and 3?

    Posted January 19, 2016 3:22pm by Jacob Brech
    Jacob Brech
    7,224 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    1 Answer

  • Nemanja Granic
    Nemanja Granic
    4,821 Points

    Mash game problem

    Posted November 12, 2015 6:11pm by Nemanja Granic
    Nemanja Granic
    4,821 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    2 Answers

  • hunterwilde
    hunterwilde
    1,000 Points

    The course ended pretty abruptly and my website still doesn't work properly, am I missing something?

    Posted March 15, 2015 5:23am by hunterwilde
    hunterwilde
    1,000 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    1 Answer

  • Zane Mattingly
    Zane Mattingly
    8,428 Points

    "Ultra MASH", a reworked OO version of the Treehouse Club - MASH code

    Posted February 22, 2015 8:32am by Zane Mattingly
    Zane Mattingly
    8,428 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • Changing Stuff in JavaScript

    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