+ 1
How to add css and javascript to html while using notepad?
3 Answers
+ 3
Css:
<link rel="stylesheet" href="styles.css">
Js:
<script src="myscripts.js"></script>
Make sure that all files in same folder or mention the path if it is in another folder
+ 2
Use the style tag for CSS and script tag for JS.
If you want to add an external css or js, use the <link> tag.
+ 1
like this .
https://code.sololearn.com/WIhftMwC3jag/?ref=app