🤑 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
  • roberto benites
    roberto benites
    2,897 Points

    the questions asks to not assign anything to the var but gives errors when you do that. What is it looking for?

    Posted May 16, 2018 5:35pm by roberto benites
    roberto benites
    2,897 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    1 Answer

  • James de los Santos
    James de los Santos
    1,171 Points

    are you able to have a variable name start with a $?

    Posted April 19, 2018 4:58pm by James de los Santos
    James de los Santos
    1,171 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    2 Answers

  • tayjoh
    tayjoh
    2,329 Points

    Complete the code below to create a variable named timeRemaining (don't assign a value to the variable).

    Posted November 30, 2017 12:57pm by tayjoh
    tayjoh
    2,329 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    3 Answers

  • Mihia Maftei
    Mihia Maftei
    1,315 Points

    i don't know for what is mean "IS" ...

    Posted July 16, 2017 2:01pm by Mihia Maftei
    Mihia Maftei
    1,315 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    1 Answer

  • Devon Simmons
    PLUS
    Devon Simmons
    Courses Plus Student 733 Points

    Finish the code below to create a variable named shipsLeft containing the number 10.

    Posted June 13, 2017 7:41pm by Devon Simmons
    Devon Simmons
    Courses Plus Student 733 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    1 Answer

  • Devon Simmons
    PLUS
    Devon Simmons
    Courses Plus Student 733 Points

    Complete the code below to create a variable named timeRemaining (don't assign a value to the variable).

    Posted June 13, 2017 7:29pm by Devon Simmons
    Devon Simmons
    Courses Plus Student 733 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    1 Answer

  • Ben Fletcher
    Ben Fletcher
    625 Points

    Complete the code below to create a variable named timeRemaining (don't assign a value to the variable).

    Posted May 23, 2017 2:25am by Ben Fletcher
    Ben Fletcher
    625 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    1 Answer

  • Andrew Fitzpatrick
    Andrew Fitzpatrick
    3,013 Points

    how is this code not valid I'm just creating a variable but not assigning anything to it...... var timeRemaining;

    Posted May 10, 2017 6:25am by Andrew Fitzpatrick
    Andrew Fitzpatrick
    3,013 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    1 Answer

  • Cortney Scott
    Cortney Scott
    3,158 Points

    Why is this not valid? It does not give an explanation.

    Posted February 22, 2017 7:14pm by Cortney Scott
    Cortney Scott
    3,158 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    0 Answers

  • nxtstackhello
    nxtstackhello
    3,774 Points

    Please fill in the correct answer in each blank provided below.

    Posted December 10, 2016 7:16am by nxtstackhello
    nxtstackhello
    3,774 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    0 Answers

  • Daniel Bettech
    Daniel Bettech
    7,365 Points

    The answer A start with a $, so is not valid. The answer B starts with a 2 wich is not valid.

    Posted October 3, 2016 7:37pm by Daniel Bettech
    Daniel Bettech
    7,365 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    3 Answers

  • amyp
    amyp
    6,574 Points

    Complete the code below to create a variable named timeRemaining (don't assign a value to the variable).

    Posted September 21, 2016 8:52pm by amyp
    amyp
    6,574 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    1 Answer

  • Iris Wang
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Iris Wang
    Front End Web Development Techdegree Student 8,288 Points

    Javascript Basics

    Posted September 15, 2016 4:33am by Iris Wang
    .a{fill-rule:evenodd;}techdegree
    Iris Wang
    Front End Web Development Techdegree Student 8,288 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    1 Answer

  • Nurbek Ismailov
    Nurbek Ismailov
    2,068 Points

    why var timeRemaining (); is wrong? how to fix it?

    Posted March 31, 2016 2:09am by Nurbek Ismailov
    Nurbek Ismailov
    2,068 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    1 Answer

  • Jessica Andhika
    Jessica Andhika
    257 Points

    why is this incorrect? var timeRemaining = 0;

    Posted March 21, 2016 6:25am by Jessica Andhika
    Jessica Andhika
    257 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    2 Answers

  • Baur Alzhanov
    Baur Alzhanov
    7,028 Points

    var_____?

    Posted March 14, 2016 5:51am by Baur Alzhanov
    Baur Alzhanov
    7,028 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    3 Answers

  • Thomas Katalenas
    Thomas Katalenas
    11,033 Points

    octals

    Posted March 3, 2016 6:46pm by Thomas Katalenas
    Thomas Katalenas
    11,033 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    5 Answers

  • Thomas Katalenas
    Thomas Katalenas
    11,033 Points

    All of the variable names below are OK to use in a JavaScript program. However, which one is the best choice?

    Posted March 3, 2016 6:04pm by Thomas Katalenas
    Thomas Katalenas
    11,033 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

    3 Answers

  • davide totaro
    davide totaro
    5,559 Points

    Complete the code below to create a variable named timeRemaining (don't put anything in the variable).

    Posted March 6, 2015 3:32pm by davide totaro
    davide totaro
    5,559 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Storing and Tracking Information with Variables
    • Review Creating and Naming Variables

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