rash28
January 8, 2021, 4:53pm
1
Tell us what’s happening:
Your code so far
var myStr ="This is the start. " + " This is the end. "; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
.
Challenge: Concatenating Strings with Plus Operator
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Hi, it looks like you forgot to write a question again.
Please fill out the Tell us what’s happening section. Learning how to ask technical questions about code is an important part of learning how to become a programmer!
You have a typo in your string
"This is the end."
"This is the end."
There shouldn’t be extra space
Hi @rash28 !
Whenever you have issues with your code you can use a powerful tool called console.log().
It will print exactly what your code looks like and help you find the errors.
var myStr ="This is the start. " + " This is the end. "; // Change this line
console.log(myStr)
will print this
So, as mentioned earlier, you have a spacing issue.
1 Like
system
Closed
July 10, 2021, 5:02am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.