I was trying to pass a string to a JavaScript function.
As it\'s mentioned here - Pass a string parameter in an onclick function
I\'m using this simple co
document.write(`click`)
Better to use `` than "". This is a more dynamic answer.