Tell us what’s happening:
Describe your issue in detail here.
Hi, Why my code isn’t passing kindly guide where is need to change .I want guidance.
Your code so far
const myNoun = "dog";
const myAdjective = "big";
const myVerb = "ran";
const myAdverb = "quickly";
// Only change code below this line
const wordBlanks = "myNoun" + "ran" + "myAdjective" + "quickly"; // Change this line
// 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/108.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Word Blanks
Link to the challenge:
Try console.log(wordBlanks)
. What do you see?
i am not understand what you said.
Did you try putting console.log(wordBlanks)
in the code?
No, because that are not in example.See
Maybe you should try doing what I suggest?
const wordBlanks = "myNoun" + "ran" + "myAdjective" + "quickly"; // Change this line
console.log(wordBlanks);
after putting console.log(wordBlanks)
it is not passing,See
Did you look at the output from that command?
yes, of course this is appeared after (run the test).
So what does your created string look like?
Yes, I can see the picture. I do not know if you are correctly interpreting what you see.
so…
What does your created string look like?
What is the final result that is stored inside of the variable wordBlanks
?
const myNoun = "dog";
const myAdjective = "big";
const myVerb = "ran";
const myAdverb = "quickly";
// Only change code below this line
const wordBlanks ="myNoun" + "myVerb" + "myAdjective" + "myAdverb"; // Change this line
console.log(wordBlanks);
// Only change code above this line
Nope. That’s not what I asked for. That’s the code that is creating the string you put into wordBlanks
, not the final contents stored in wordBlanks
.
Do you know where the console output is in the picture you keep posting?
It is fine if you don’t, but it would be helpful for you to say so if that is the case. If you don’t know where to find the console output and how to read it, its really hard to debug your code. I can help you find it if you tell me that you don’t know where it is or what it means.
Just posting your code or pictures of your code over and over again doesn’t help me understand what you know and don’t know.
JeremyLT:
Nope. That’s not what I asked for. That’s the code that is creating the string you put into wordBlanks
, not the final contents stored in wordBlanks
.
Do you know where the console output is in the picture you keep posting?
If you don’t know where to find the console output and how to read it, its really hard to debug your code.
i am unable to understand what you want to know.
Do you know what the thing at the bottom of this picture is?
Ok, what does the console output say the actual string stored in the variable wordBlanks
is?
myNounranmyAdjectivequickly
So I see two problems there.
You have no spaces but sentences usually have spaces between words
You have "myNoun"
instead of whatever string is stored inside of the variable myNoun