TechCodex@programming.dev to Programmer Humor@lemmy.mlEnglish · 1 year agoJavascript can create atomic bombsprogramming.devimagemessage-square62fedilinkarrow-up1574arrow-down148
arrow-up1526arrow-down1imageJavascript can create atomic bombsprogramming.devTechCodex@programming.dev to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square62fedilink
minus-squareWtfEvenIsExistence3️@reddthat.comlinkfedilinkEnglisharrow-up10arrow-down1·1 year agoIs this some highly sophisticated programmer humor that I’m too tech-illiterate to understand?
minus-squarejudgeholden [he/him]@hexbear.netlinkfedilinkEnglisharrow-up30arrow-down1·1 year agoJS bad, please clap
minus-squareKIM_JONG_JUICEBOX@lemmy.mllinkfedilinkEnglisharrow-up1arrow-down1·1 year agoLittle diddy bout Jack and Diane
minus-squareDurotar@lemmy.mllinkfedilinkarrow-up7·1 year agoThe real question is since when CSS is good?
minus-squareexscape@kbin.sociallinkfedilinkarrow-up22·1 year agoCSS is used to create the design, basically the look (colors, layout and so on), but no substance. JavaScript is used to implement code and logic. HTML + JavaScript would typically (since you’re supposed to use CSS to create colors and design) look very dull, thus the black-and-white Oppenheimer.
minus-squareRikudou_Sage@lemmings.worldlinkfedilinkEnglisharrow-up1arrow-down1·1 year agodocument.querySelector('.whatever').style.color = "red"; Don’t recommend, though.
minus-squareexscape@kbin.sociallinkfedilinkarrow-up2·1 year 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”.
Is this some highly sophisticated programmer humor that I’m too tech-illiterate to understand?
JS bad, please clap
👏
👏👏
👏👏👏
👏👏👏👏
👏👏👏👏👏
Little diddy bout Jack and Diane
The real question is since when CSS is good?
CSS is used to create the design, basically the look (colors, layout and so on), but no substance.
JavaScript is used to implement code and logic.
HTML + JavaScript would typically (since you’re supposed to use CSS to create colors and design) look very dull, thus the black-and-white Oppenheimer.
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”.