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

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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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
    • Review Creating and Naming Variables
    • Close
  • 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 on May 16, 2018 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 on Apr 19, 2018 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 on Nov 30, 2017 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 on Jul 16, 2017 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 on Jun 13, 2017 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 on Jun 13, 2017 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 on May 23, 2017 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 on May 10, 2017 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 on Feb 22, 2017 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 on Dec 10, 2016 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 on Oct 3, 2016 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 on Sep 21, 2016 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 on Sep 15, 2016 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 on Mar 31, 2016 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 on Mar 21, 2016 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 on Mar 14, 2016 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 on Mar 3, 2016 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 on Mar 3, 2016 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 on Mar 6, 2015 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.