Variables - Question 26 help please


Variables - Exercise 26

I keep getting everything wrong. The hints are not helpful at all.
- Please help me fill this question out and explain to me why and what each of these do.

// On line 2, declare a variable myName and give it your name.
var myName = "Jesse";
// On line 4, use console.log to print out the myName variable.

// On line 7, change the value of myName to be just the first 2 
// letters of your name.

// On line 9, use console.log to print out the myName variable.


You already have hints in comments. Just follow them.


@arkussss's reply might seem harsh but to anyone reading your question, those comments in your code seem to be answering what you're asking for.

Avoid questions along the lines of "do this for me", instead ask for the information you need to do it yourself.

Avoid questions along the lines of "explain how this works" and instead explain your current understanding and ask about what information you're missing.

Generally you should show that the question isn't a way of avoiding learning yourself, and to be as specific as possible so to show that you value other people's time and allow them to address exactly what you're having trouble with instead of having to guess.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.