How do i like files link local files | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do i like files link local files

soo lets say we have a file called meme saved in documents for reasons, inside we have the html file ,the css file and the js file seperate how do i like the css file to the html page i just can't get it to work the closes i have ever got is the css background file to load, any one have any tips on u get yours to load up ,btw the css file's name is will.css and the js file's name dye.js

18th Nov 2017, 6:57 PM
Jared Primo
Jared Primo - avatar
2 Answers
+ 4
Just put <script type="text/javascript" src="dye.js"></script> and <style type="text/css" src="will.css"></style> to your HTML file.
18th Nov 2017, 7:06 PM
Tim Thuma
Tim Thuma - avatar
+ 3
<script src="dye.js"></script> <link href="will.css" type="text/css">
18th Nov 2017, 11:23 PM
Amethyst Animion
Amethyst Animion - avatar