How do you and new js file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you and new js file?

javascript external files

26th Nov 2016, 3:59 PM
ante penava
ante penava - avatar
3 Answers
+ 1
Then please be more precise on your next question. As I see code playground has an own tab for CSS and JS. So you do not have to include it into the HTML file, because that is done automatically after pressing "run". Hope this helps you.
26th Nov 2016, 4:11 PM
Andreas K
Andreas K - avatar
0
If you want to know how to add a JS file to a HTML file, then it's this line: <script src="./pathOffile.js"></script>
26th Nov 2016, 4:01 PM
Andreas K
Andreas K - avatar
0
No man I mean here on the playground I know how to add files in general but I dont know here on solo learn playground
26th Nov 2016, 4:04 PM
ante penava
ante penava - avatar