+ 1
In sololearn, how can i call my css and javascript file in my html file as we can't give name to them?
5 Answers
+ 6
Hage Nomo
You don't have to do it manually in Sololearn Playground.
SoloLearn automatic links your CSS and JS files(tabs in our case) to HTML.
Note: JS file is linked in head section so make sure if you're doing DOM manipulation then do it inside window.onload event.
+ 6
If you want to put your css in your html file use the <style> </style> tags and if you want to use the js in your html use the <script> </script>
this is what you want
https://www.sololearn.com/learn/JavaScript/1206/?ref=app
https://www.sololearn.com/learn/CSS/1079/?ref=app
+ 3
No need just add your code here
It will gives the output of your code.
Just give contact via value name as class,id,and script đ
+ 1
See the link pasted
0
I meant for calling external css and js