+ 1

In sololearn, how can i call my css and javascript file in my html file as we can't give name to them?

9th Jul 2020, 4:47 AM
Hage Nomo
Hage Nomo - avatar
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.
9th Jul 2020, 5:48 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 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
9th Jul 2020, 4:49 AM
Nilesh
Nilesh - avatar
+ 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 😇
9th Jul 2020, 4:58 AM
Suren🇼🇳
Suren🇼🇳 - avatar
+ 1
See the link pasted
9th Jul 2020, 4:54 AM
Nilesh
Nilesh - avatar
0
I meant for calling external css and js
9th Jul 2020, 4:53 AM
Hage Nomo
Hage Nomo - avatar