DEV Community

abdullahkiani007
abdullahkiani007

Posted on

Tired with CSS

I have started to learn MERN Stack , I am almost finished with the basics of React but CSS is demotivating me so much. I hate designing but I like writing code in react. I am thinking to switch my career to networking or cyber security . I am currently in 5th semester undergrad

Top comments (5)

Collapse
 
khairunnisaas profile image
Khairunnisaas • Edited

there's plenty of css framework out there, so you don't need to write css from scratch, and also... why css is demotivating you?

Collapse
 
abdullahkiani007 profile image
abdullahkiani007

I don't like styling and positioning components . I spend less time in coding and more in styling it just demotivates me that I'm not doing enough

Collapse
 
vincentdorian profile image
Vincent

Try tailwindcss.
Most new websites and apps are built with it and it’s really easy making something that’s looks good quite quick.
With tailwind you never have to leave your html so no pain switching all the time.

Collapse
 
brense profile image
Rense Bakker

Use a ui component library like mui or chakra ui and/or a CSS-in-js solution like emotion/styled-components.

Collapse
 
will_laurenson_c16056cd19 profile image
Will Laurenson

If you enjoy React and the programming side of web development, I wouldn’t switch career paths just because CSS is frustrating.

CSS has a different learning curve from JavaScript. Things like positioning, responsive layouts, Flexbox, and Grid can feel unintuitive at first, but you don't need to become a CSS expert to work effectively with the MERN stack. You do need a solid practical understanding of the fundamentals.

I’d suggest giving yourself some time to get comfortable with Flexbox, Grid, responsive design, and basic layout patterns. Build a few small interfaces rather than trying to learn every CSS property.

At the same time, compare the actual work involved in networking or cybersecurity with what you enjoy. Don’t switch simply to escape one difficult part of development.

If you still enjoy building applications after getting past the CSS frustration, MERN is probably worth continuing with.