+ 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?
5 Réponses
+ 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
+ 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
+ 1
oh and go futher in the lessons to get to know it yourself
0
ok, then what it mean rel="stylesheet" ?
if work in text editor does it same?
0
Thanks a lot! Now is clear :)