For example, I’m trying to write: Welcome to Chanty’s Creations. But it’s not printing it full.
I tried to combine the sentence with + but still no printing for the apostrophe itself.
Thank you in advance.
If you open a string using ’ then it will take the next instance of ’ as the end of the string.
To get around this you can also open a string with ". This will mean you ’ will be ignored. You then close the string with ".
So your example
"Welcome to Chanty's Creations."
Thank you so much winningblue
You can also use \ to escape the ', like so:
I was just going to say. I was using " but then i realised, it is just faster to type /’ like:
console.log('It\‘s winter! Everything is covered in snow.’)