+ 2

How to modify js script with css.

modifying such as: color, fonts, align, border, etc

7th May 2018, 4:21 PM
keev23i
keev23i - avatar
3 Respuestas
+ 7
i assume you meant modifying CSS with JavaScript.... try here: www.w3schools.com/js/js_htmldom_css.asp
7th May 2018, 5:01 PM
Burey
Burey - avatar
+ 2
not that changing js with css
7th May 2018, 5:09 PM
keev23i
keev23i - avatar
+ 2
You can modify css using js but you can't modify js using css. Css stands for cascading style sheets => it's not a true programming language, it's a complement to HTML(also not a true programming language) JavaScript is a programming language, it has variables, loops etc. Css has only variables. So with JavaScript you can create html elements and add them to html document and also change their appearance by altering their css values.
11th May 2018, 8:27 AM
Haris
Haris - avatar