+ 5
Lessons with HTML and JS or CSS
If u want to submit a lesson with HTML and JS how can you show Code examples (try it yourself ) with two files?
4 ответов
+ 8
✔✔
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<p>test</p>
</body>
<script>
alert("test")
</script>
</html>
✔ like this , in same file (document)
+ 7
Shudarshan Rai 👑 yes that does it.
One should apply
KISS then.
+ 3
you should write inside a <script> tag.
+ 1
hmm... Amethyst Animion said that sololearn who add the second files
example:
We only type:
.blur{
background-color:black;
}
and sololearn will add the
<div class=blur></div>