+ 1
Can I create website without html structure and css. Just using JAVASCRIPT,JS-Library. Can I do this???
6 Answers
+ 5
yea... just create elements via document. createElement and then keep on adding elements in body via document.body.appenChild() and u can access elements css properties. by using element.style.____= something..
but it would be harder..
that just to type all in html... but... if u wanna create something like reusable elements like cards and having same format with diff contents in it. so its an awesome idea. just a single function will create any no of cards dynamically on basis of perameters..
+ 5
You can use a HTML document that just loads a script and generate the Rest with JavaScript. But that would obviously a bad idea in general.
+ 2
Yeah you can use "React" for example.. however, you will use jsx inside it .. which is almost html tags đđ
+ 1
Dummy Great jobđđ Keep it upđ
0
Ali khan đđ
đđđđ