I want to put variable value here, but I don't know the syntax error. How can I use the '' "" .. to put the variable in the below sample ( in ) ?
Leave.innerHTML = '<div class="popup" onclick="myFunction()">
<span class="popuptext" id="myPopup"> ******Variable Put here****** </span></div>' ;
}
'<div>' + yourVariable + '</div>'or template literal