dandelion@lemmy.ml to Programmer Humor@lemmy.ml · edit-23 years agoWeb development beginnerslemmy.mlimagemessage-square5fedilinkarrow-up139arrow-down10file-text
arrow-up139arrow-down1imageWeb development beginnerslemmy.mldandelion@lemmy.ml to Programmer Humor@lemmy.ml · edit-23 years agomessage-square5fedilinkfile-text
minus-squarethe_tech_beast@lemmy.mllinkfedilinkarrow-up5·3 years agoI tried to learn CSS and I got confused. Like I couldn’t understand the difference between div id and div class. I dropped learning CSS😂😂 This makes me think - Am I that stupid?
minus-squareseahorse@lemmy.mllinkfedilinkarrow-up7·3 years agoSomeone correct me if I’m wrong, but id should be used for a unique element that doesn’t exist anywhere else on the page whereas class is common among more than one element on the page.
minus-squaresoronixa@lemmy.mllinkfedilinkarrow-up3·3 years agoyou’re not missing on anything, CSS and JS are bloat anyway, embrace pure html, it looks a lot better! /s
I tried to learn CSS and I got confused. Like I couldn’t understand the difference between div id and div class.
I dropped learning CSS😂😂 This makes me think - Am I that stupid?
Someone correct me if I’m wrong, but id should be used for a unique element that doesn’t exist anywhere else on the page whereas class is common among more than one element on the page.
you’re not missing on anything, CSS and JS are bloat anyway, embrace pure html, it looks a lot better!
/s
deleted by creator