TechCodex to Programmer [email protected]English • 11 months agoJavascript can create atomic bombsimagemessage-square62arrow-up1676arrow-down153
arrow-up1623arrow-down1imageJavascript can create atomic bombsTechCodex to Programmer [email protected]English • 11 months agomessage-square62
minus-squareRikudou_SagelinkfedilinkEnglish0•11 months agodocument.querySelector('.whatever').style.color = "red"; Don’t recommend, though.
minus-squareexscapelinkfedilink2•11 months agoSure, but setting the .style attribute could really be argued as using CSS, just with a different interface. W3Schools refers to this as “inline CSS”.
document.querySelector('.whatever').style.color = "red";
Don’t recommend, though.
Sure, but setting the .style attribute could really be argued as using CSS, just with a different interface. W3Schools refers to this as “inline CSS”.