Declare JavaScript Variables - help me please - Minh Pham

Tell us what’s happening: Hey, I’m a beginner and I’m also a newbie. I’m stuck right here, so please help me, thank you very much.

Your code so far


// Example
var ourName;

// Declare myName below this line
var = "minhPham";

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/declare-javascript-variables

What seems to be the part you do not understand? The instructions or the code needed to meet the requirements of the instructions?

Be sure to “declare” your variable. The objective is not to assign a value to the variable, such as setting it equal to your name, but to simply declare it.

Make sure you pay attention to the instructions and follow the Read-Search-Ask method if you get stuck. A simple search for how to declare a variable in javascript in google would help you solve this problem immediately.

1 Like