Help with variabels in JavaScript please!

Tell us what’s happening:

It is not true! I do not know why? )=

Your code so far


var ourName = "A";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Declare JavaScript Variables

Link to the challenge:

  1. List item

Hi and welcome to the forum.

This challenge wants you to declare the variable without defining it, like in the example:

var ourName;
2 Likes

You need to declare only, like this

var yourName;

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

2 Likes