How to work with sandbox? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to work with sandbox?

I see 3 section in sandbox SoloLearn, and don't understand how they interact. If I would like separated my code need created 2 (or more) different files (*.html;*.css;*.js) and what link (way to file) need to write in main code?

4th Jun 2018, 7:02 PM
Arya
Arya - avatar
5 Answers
+ 1
yes, rel="stylesheet" is to define its a stylesheet (CSS stands for Cascade StyleSheet) and it works the same on every kind of text editor
4th Jun 2018, 7:39 PM
Roel
Roel - avatar
+ 2
you can make an intern .css and .js or an exter css/js in the html for interns you have to do <style></style> for css and <script></script> for js (can be used multiple times for externs (to link to the css and js) use: <link rel="stylesheet" style="text/css" href="yourcssfile.css"> for css and <script src="yourfile.js"></script> for js
4th Jun 2018, 7:29 PM
Roel
Roel - avatar
+ 1
oh and go futher in the lessons to get to know it yourself
4th Jun 2018, 7:29 PM
Roel
Roel - avatar
0
ok, then what it mean rel="stylesheet" ? if work in text editor does it same?
4th Jun 2018, 7:37 PM
Arya
Arya - avatar
0
Thanks a lot! Now is clear :)
4th Jun 2018, 7:44 PM
Arya
Arya - avatar