+ 1

How to implement javascript with html and css?

I have learnt about html and learning cs...

8th Jun 2020, 7:03 AM
AßH! ÑÂV
AßH! ÑÂV - avatar
2 Réponses
+ 4
//creating html element "div" var p=document.createElement("div") //appending that element to body tag of document document.body.appendChild(p); Applying css to div element p.style.height="300px"; p.style.width="200px": p.style.backgroundColor="blue"; Go through JavaScript course to understand all of this
8th Jun 2020, 7:55 AM
Abhay
Abhay - avatar
+ 2
Ok thanks abhay👍
8th Jun 2020, 7:57 AM
AßH! ÑÂV
AßH! ÑÂV - avatar