Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to link js and a html file in vscode

<!DOCTYPE html>
    <html>
    <head>
    
    <link rel="stylesheet" href="css.css" type="text/css">
    </head>
    <body>
    <p id="firstParagraph">Hello world!</p>    
    <script src='js.js'></script>
    </body>
    </html>
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #link #js #html #file #vscode
ADD COMMENT
Topic
Name
9+2 =