@Ikuewumi
Posted
Hi! Good project, About your question, you can put quotes in strings by prefixing them with the backslash, Like this:
const str = "\"Be a good lover\""
console.log(str) // "Be a good lover"
And use interpolation for easier concatenation of strings, like this
const str = "World"
const str2 = `Hello ${str}`
console.log(str2) // Hello World
One more thing, please avoid mutating the innerHtml of an element directly if you can,new elements should be added via document.createElement('span') or templates
Overall, good project. Hope these tips help. Happy coding, Ayobami
Marked as helpful