AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

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
      • • Vibe Coding
    • Showing results for:
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables
    • Close
  • duenpun
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    duenpun
    Full Stack JavaScript Techdegree Student 1,034 Points

    Can I change var('s) value syntax instead of updating it?

    Posted on Apr 13, 2019 by duenpun
    .a{fill-rule:evenodd;}techdegree
    duenpun
    Full Stack JavaScript Techdegree Student 1,034 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    2 Answers

  • Nick Evershed
    Nick Evershed
    6,429 Points

    Box concept is slightly flawed

    Posted on Oct 9, 2018 by Nick Evershed
    Nick Evershed
    6,429 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    5 Answers

  • Frans de Haan
    Frans de Haan
    6,315 Points

    Using let instead of var

    Posted on Jul 28, 2018 by Frans de Haan
    Frans de Haan
    6,315 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    4 Answers

  • Lane Fragomeli
    Lane Fragomeli
    5,259 Points

    When I make an alert in javascript, the pop up in Workspaces doesn't look like the one in the video. Is this normal?

    Posted on Jan 27, 2018 by Lane Fragomeli
    Lane Fragomeli
    5,259 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    3 Answers

  • fd dd
    fd dd
    481 Points

    Sir, Did you say a wrong? You said value of 1st variable "Hello" will be gone but it exist.

    Posted on Dec 20, 2017 by fd dd
    fd dd
    481 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    3 Answers

  • Kelvin Ribeiro
    Kelvin Ribeiro
    2,814 Points

    What's the point to create a var for a string, if you have to change that var to display a different string?

    Posted on May 11, 2017 by Kelvin Ribeiro
    Kelvin Ribeiro
    2,814 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    6 Answers

  • Unsubscribed User
    Unsubscribed User
    4,479 Points

    'if' statement only works when 'prompt' is declared as a variable?

    Posted on May 7, 2017 by Unsubscribed User
    Unsubscribed User
    4,479 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    3 Answers

  • Sufiyaan Haroon
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Sufiyaan Haroon
    Full Stack JavaScript Techdegree Student 9,558 Points

    What is the difference between: alert("My message"); and: message = "My message":

    Posted on Mar 23, 2017 by Sufiyaan Haroon
    .a{fill-rule:evenodd;}techdegree
    Sufiyaan Haroon
    Full Stack JavaScript Techdegree Student 9,558 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    2 Answers

  • Lowell Wetzel
    Lowell Wetzel
    2,739 Points

    The video played, now the system will not continue. How do I refresh the screen to continue?

    Posted on Oct 21, 2016 by Lowell Wetzel
    Lowell Wetzel
    2,739 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    2 Answers

  • Solomon Jordan
    PLUS
    Solomon Jordan
    Courses Plus Student 699 Points

    For some reason the code in my workspace is'nt working. When I save my file and try to preview the code I get no alert

    Posted on Sep 18, 2016 by Solomon Jordan
    Solomon Jordan
    Courses Plus Student 699 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    5 Answers

  • Jasveer Singh Aulakh
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jasveer Singh Aulakh
    Full Stack JavaScript Techdegree Student 1,712 Points

    I changed the JavaScript code on workspace but it only shows the previous output, how do I solve it?

    Posted on Sep 13, 2016 by Jasveer Singh Aulakh
    .a{fill-rule:evenodd;}techdegree
    Jasveer Singh Aulakh
    Full Stack JavaScript Techdegree Student 1,712 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    6 Answers

  • Linlin Huang
    Linlin Huang
    2,413 Points

    Are semi-colons optional?

    Posted on Aug 11, 2016 by Linlin Huang
    Linlin Huang
    2,413 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    1 Answer

  • Kyle Vassella
    Kyle Vassella
    9,033 Points

    To space or not to space?

    Posted on May 16, 2016 by Kyle Vassella
    Kyle Vassella
    9,033 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    5 Answers

  • Branavan Arumughan Jeyendran
    Branavan Arumughan Jeyendran
    2,734 Points

    I changed the JavaScript code on workspace but it only shows the previous output, how do I solve it?

    Posted on Apr 5, 2016 by Branavan Arumughan Jeyendran
    Branavan Arumughan Jeyendran
    2,734 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    5 Answers

  • Chien-Ta Chen
    Chien-Ta Chen
    3,411 Points

    How can I open the javascript console in safari 9 ?? cmd + opt + c doesn't work. Thanks.

    Posted on Dec 29, 2015 by Chien-Ta Chen
    Chien-Ta Chen
    3,411 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    3 Answers

  • Devon Deason
    Devon Deason
    7,061 Points

    Why don't i get two alert boxes?

    Posted on Nov 11, 2015 by Devon Deason
    Devon Deason
    7,061 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    5 Answers

  • Scott Jaworski
    Scott Jaworski
    3,019 Points

    Preview page doesn't update based on scripts.js changes.

    Posted on Nov 10, 2015 by Scott Jaworski
    Scott Jaworski
    3,019 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    3 Answers

  • Dimitar Tsvetkov
    Dimitar Tsvetkov
    6,806 Points

    My workspace doesn't load the preview page.

    Posted on Oct 1, 2015 by Dimitar Tsvetkov
    Dimitar Tsvetkov
    6,806 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    7 Answers

  • Andrew Meininger
    Andrew Meininger
    7,615 Points

    [RESOLVED] What happened to me is the opposite of what was shown.

    Posted on Jul 12, 2015 by Andrew Meininger
    Andrew Meininger
    7,615 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Introducing Variables

    0 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.