How can i solve this issue?

Tell us what’s happening:
Describe your issue in detail here.

   **Your code so far**

var myNoun = "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";

// Only change code below this line

var wordBlanks = myNoun + myVerb + myAdjective + myAdverb;
// Change this line
//var wordBlanks = "dog " + "ran " + "big " + "quickly";
// Only change code above this line
   **Your browser information:**

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

Challenge: Word Blanks

Link to the challenge:

You should separate the words with spaces, or other words. For example:

someWord + " " + someOtherWord + " in the moonlight."
1 Like

from your code you have not giving space
for that you can do by following two methods

let name = 'rio';
let lname = 'sanap';
let fullName = name + " " + lname;

2 method by using template literal

let fullName = `${name}  ${lname}`;

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