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

New No-Code Track! 🚀start learning today!

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

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

  • 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
  • Jezz Rose
    Jezz Rose
    2,177 Points

    When I type in relevant numbers I get "At least one of the values you typed is not a number. Reload and try again."

    Posted March 15, 2023 11:26am by Jezz Rose
    Jezz Rose
    2,177 Points
    • JavaScript
    • The Solution

    2 Answers

  • Gal Parselany
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Gal Parselany
    Full Stack JavaScript Techdegree Graduate 26,281 Points

    My Solution

    Posted February 14, 2023 2:38pm by Gal Parselany
    .a{fill-rule:evenodd;}techdegree seal-36
    Gal Parselany
    Full Stack JavaScript Techdegree Graduate 26,281 Points
    • JavaScript
    • The Solution

    1 Answer

  • Kirok James
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Kirok James
    Full Stack JavaScript Techdegree Student 876 Points

    Is is possible to do it for all inputs differently using what we have learned so far?

    Posted January 3, 2023 8:29pm by Kirok James
    .a{fill-rule:evenodd;}techdegree
    Kirok James
    Full Stack JavaScript Techdegree Student 876 Points
    • JavaScript
    • The Solution

    1 Answer

  • James Summers
    James Summers
    704 Points

    so confused

    Posted July 13, 2022 4:14pm by James Summers
    James Summers
    704 Points
    • JavaScript
    • The Solution

    2 Answers

  • Chih Lin
    PLUS
    Chih Lin
    Courses Plus Student 3,377 Points

    I don't know why my solution works. Please check my solute:

    Posted April 17, 2021 8:59am by Chih Lin
    Chih Lin
    Courses Plus Student 3,377 Points
    • JavaScript
    • The Solution

    1 Answer

  • Colin Grubbs
    Colin Grubbs
    2,137 Points

    Does isNaN change the value of the variable to NaN?

    Posted February 15, 2021 12:27am by Colin Grubbs
    Colin Grubbs
    2,137 Points
    • JavaScript
    • The Solution

    1 Answer

  • NICOLE REBENTISCH
    NICOLE REBENTISCH
    3,612 Points

    I prefer the alert to pop up as soon as a non-number is typed. Is there a more concise way than how I coded it?

    Posted November 5, 2020 12:10am by NICOLE REBENTISCH
    NICOLE REBENTISCH
    3,612 Points
    • JavaScript
    • The Solution

    2 Answers

  • Joseph M.
    Joseph M.
    2,057 Points

    addittion of variables within literal-template

    Posted September 30, 2020 7:42pm by Joseph M.
    Joseph M.
    2,057 Points
    • JavaScript
    • The Solution

    2 Answers

  • Caroline Louw
    Caroline Louw
    12,155 Points

    When the isNaN method in this challenge finds that the number is number should it not have said isNaN(!num1) ?

    Posted July 9, 2020 11:41pm by Caroline Louw
    Caroline Louw
    12,155 Points
    • JavaScript
    • The Solution

    1 Answer

  • Chris Conwell
    Chris Conwell
    2,268 Points

    A different way?

    Posted June 25, 2020 10:06am by Chris Conwell
    Chris Conwell
    2,268 Points
    • JavaScript
    • The Solution

    6 Answers

  • Kimberly Kohel-Hayes
    Kimberly Kohel-Hayes
    2,896 Points

    Could someone look at my code? I didn't move my let's to the top because that broke the program for some reason.

    Posted June 5, 2020 12:49pm by Kimberly Kohel-Hayes
    Kimberly Kohel-Hayes
    2,896 Points
    • JavaScript
    • The Solution

    4 Answers

  • Amir F
    Amir F
    9,095 Points

    My solutions with template literals and unary plus

    Posted May 3, 2020 12:05am by Amir F
    Amir F
    9,095 Points
    • JavaScript
    • The Solution

    1 Answer

  • joo
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    joo
    Python Development Techdegree Graduate 16,498 Points

    Please check my solution:

    Posted December 15, 2019 12:49pm by joo
    .a{fill-rule:evenodd;}techdegree seal-36
    joo
    Python Development Techdegree Graduate 16,498 Points
    • JavaScript
    • The Solution

    4 Answers

  • michelle Jia
    michelle Jia
    4,814 Points

    no need to put a check for the first value collected? if it is a string, no need to put the 2nd number

    Posted April 24, 2019 1:31pm by michelle Jia
    michelle Jia
    4,814 Points
    • JavaScript
    • The Solution

    2 Answers

  • Jesse Dispoto
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jesse Dispoto
    Front End Web Development Techdegree Graduate 14,538 Points

    Why is Dave still using var to initialize variables? Shouldn't we be using let and const when initializing variables?

    Posted February 1, 2019 12:16am by Jesse Dispoto
    .a{fill-rule:evenodd;}techdegree seal-36
    Jesse Dispoto
    Front End Web Development Techdegree Graduate 14,538 Points
    • JavaScript
    • The Solution

    1 Answer

  • Jesse Vorvick
    Jesse Vorvick
    6,047 Points

    My solution was only the same, but with a minor difference that lead to some useful info

    Posted January 18, 2019 3:11pm by Jesse Vorvick
    Jesse Vorvick
    6,047 Points
    • JavaScript
    • The Solution

    1 Answer

  • Libor Gess
    Libor Gess
    6,880 Points

    Way how I did it.

    Posted November 10, 2018 8:08pm by Libor Gess
    Libor Gess
    6,880 Points
    • JavaScript
    • The Solution

    0 Answers

  • Kevin Wong
    Kevin Wong
    10,787 Points

    Nothing is showing up on my page?

    Posted September 5, 2018 1:50pm by Kevin Wong
    Kevin Wong
    10,787 Points
    • JavaScript
    • The Solution

    2 Answers

  • Boon Kiat Seah
    Boon Kiat Seah
    66,664 Points

    Exiting Javascript script Like Php die()

    Posted August 5, 2018 5:35am by Boon Kiat Seah
    Boon Kiat Seah
    66,664 Points
    • JavaScript
    • The Solution

    1 Answer

  • Maximilian Dennison
    Maximilian Dennison
    2,077 Points

    When I launch the workspace nothing is appearing. Not even the alert command. What am I doing wrong?

    Posted May 22, 2018 2:37pm by Maximilian Dennison
    Maximilian Dennison
    2,077 Points
    • JavaScript
    • The Solution

    4 Answers

  • Meg Cusack
    Meg Cusack
    11,448 Points

    Two questions. Why does "undefined" show up? How to indent a block of code?

    Posted May 16, 2018 3:11pm by Meg Cusack
    Meg Cusack
    11,448 Points
    • JavaScript
    • The Solution

    2 Answers

  • B.B. Groeneveld
    B.B. Groeneveld
    2,826 Points

    When to choose which Logical Operator in this challenge? An AND operator works as well.

    Posted April 13, 2018 11:39am by B.B. Groeneveld
    B.B. Groeneveld
    2,826 Points
    • JavaScript
    • The Solution

    2 Answers

  • mebula
    mebula
    4,931 Points

    Question about booleans in conditional statements

    Posted May 19, 2017 3:07am by mebula
    mebula
    4,931 Points
    • JavaScript
    • The Solution

    3 Answers

  • Timo J.
    PLUS
    Timo J.
    Courses Plus Student 20,919 Points

    Why the "+" ?

    Posted May 6, 2017 2:55am by Timo J.
    Timo J.
    Courses Plus Student 20,919 Points
    • JavaScript
    • The Solution

    3 Answers

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.