DEV Community

Discussion on: I front-end and hate CSS. Here's how I deal with it

Collapse
 
codermikky profile image
Sai Deep Konduri

Sorry, i pass on your readable code because it's not

Collapse
 
fly profile image
joon

Thank you for the feedback Sai!

After reading the comments above. I agree with you completely!

Collapse
 
hscheuerle profile image
Harry Scheuerle

The real issue is the naming. "Div", "Wrapper", "Main", even numbering them. Nothing about this code is thoughtfully semantic. The latter example's real issue is the way classes are used and the syntax highlighting for that is the eye sore.

Collapse
 
fly profile image
joon • Edited

Thank you for the feedback Harry!

"Div", "Wrapper", "Main", even numbering them
I completely agree. This was my first attempt at CSSing and for some reason, my brain thought it as a great idea, and somehow I convinced myself enough to believe it - to the point that I wrote a devto post about my experience!

Nothing about this code is thoughtfully semantic
The statement does hurt, but completely understandable now that I understand my flaws. Thank you for pointing this out. I needed this :)

Thread Thread
 
codenutt profile image
Jared

Your attitude is incredible. We all can learn from something. Part of the reason to post here on Dev.to is to learn! Well done!

Thread Thread
 
fly profile image
joon

Your attitude is incredible.
Thank you for the compliment!

I'm secretly swallowing my tears and trying really hard to keep a straight face.
JK :)

I love any form of criticism because it means that the person cares enough to criticize, also it means that someone believes there is room for improvement and took the time to punch it into their keyboard - I'm grateful for that fact alone. In the long run, everyone chipped in and saved me countless hours of refactoring.

Thread Thread
 
codenutt profile image
Jared

Good to hear. You will go far. I look forward to your follow-up post! On a side note, CSS is a wonderful tool at your disposal. Learning it will only make you more valuable as a Dev 👍🏼

Some comments have been hidden by the post's author - find out more