HTML and js | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

HTML and js

Can you use html with js to create a box?

2nd Jun 2020, 1:25 AM
No Service
No Service - avatar
4 Answers
+ 2
To create shapes html and CSS are fair enough. If you want advanced shape, svg again is better option. JS is more used set some actions instead creating a shape
19th Jun 2020, 4:37 AM
* A Learner *
* A Learner * - avatar
+ 6
Yes, you can. Give it a try in the code playground
2nd Jun 2020, 3:57 AM
Farhan
Farhan - avatar
+ 5
Yes you can try it in code Playground But if you use CSS then it will much easier
2nd Jun 2020, 9:07 AM
Coder
Coder - avatar
+ 2
A box? Like a rectangle? You don't even need JS to do that. Just pure HTML/CSS
2nd Jun 2020, 1:29 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar