Tell us what’s happening:
Describe your issue in detail here.
I keep getting the error message - "
myStr should have a value of the string This is the start. This is the end.
Your code so far
const myStr = "This is the start. " + "This the end. ";
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 11; TECNO KG5k) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36
Challenge: Basic JavaScript - Concatenating Strings with Plus Operator
Link to the challenge:
Please don’t just “give the answer”, especially to just cut and paste in, especially for curriculum questions. This is a learning platform, we need to guide them.
ilenia
August 17, 2022, 11:29am
4
KizaroofGondor:
"This the end. "
you have an extra space at the end
I closed the space but still didn’t work
Please share the current state of your code.
I ran the code (in the screenshot) but still got this message -
// running tests
myStr should have a value of the string This is the start. This is the end.
// tests completed
ilenia
August 18, 2022, 8:55am
8
the period/dot/full stop at the end ?
Yesssssss! Thank you!!
I can’t believe I didn’t see it
system
Closed
February 16, 2023, 9:01pm
10
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.