Basic JavaScript: Constructing Strings with Variables

Tell us what’s happening:
i am unable to pass this challenge fellow neighbors please help me

Your code so far
var myName = “ebruphs”;

var ebruphs;

var myStr = "My name is " + ebruphs + " and I am well! ";


// Example
var ourName = "freeCodeCamp";
var ourStr = "Hello, our name is " + ourName + ", how are you?";

// Only change code below this line
var myName = "ebruphs";
var ebruphs;
var myStr = "My name is " + ebruphs + " and I am well! ";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36.

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

Try removing the myName variable and giving ebruphs a value instead.

1 Like