Strings represent text and they are usually enclosed within quotation marks.
Here are some examples below:
`this is a string`
This is a string made using a pair of backticks (`...
`)
"this is also a string"
This is a string made using a pair of double-quotes.
'this is, once again, another string'
Finally, this is a string made using single quotes.
One thing to note is that it’s important to make sure that at the beginning and the end of your string match.
You can basically put anything between quotes in JavaScript and it will turn into a string.