Javascript – Double quote in a JS string
I am trying to declare <div class="div-name">1</div> as a string. I am having difficulty due to the double quotes. I am tried wrapping the string around single quotes ('<div className="div-name">1</div>'), but instead the result is "<div className="right-align">100</div>" Is there another…