DEV Community

Discussion on: How to Load HTML, CSS, and JS Code into an iFrame

Collapse
 
veerbhadrasolanki profile image
Veer Bhadra Singh Solanki • Edited

Hi Josh, This was an amazing article and help me to resolve the error but the line for js inside the source variable, inside the head tag generates an error when I load my page then it shows js on the web pages. When I remove the js script "${js && <script src="${jsURL}"></script>}" then it works properly. Also console show error SyntaxError: unterminated string literal.