r/javascript • • Apr 01 '22

AskJS [AskJS] Javascript/ mern stack developer with poor css skills. Guide please!

Hey devs! I am a beginner level MERN stack developer about to the start of my professional life. I am really good at programming with JavaScript and Java and databases basically most of the backend stuff. Also i know react well i know about to work with functionality state management and lifecycles. But the problem is I am so noob in writing Css. I have been rejected from some places for not able to write css although i have good programming skills.

Can any experienced developer guide me here what should I do? I tried to learn css but it sucks its not my thing. Would it matter for me in future or should I learn it to be MERN stack developer. Or should I stop working on react just because i can't write Css.

Please help only seniors juniors please avoid. Thanks

0 Upvotes

25 comments sorted by

3

u/jeremrx Apr 02 '22 edited Apr 02 '22

Here is everything you keed yo know about CSS :

https://css-tricks.com/guides/

https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity

https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Organizing

What you should do : open an empty HTML page, add sole element ans play with chrome developer tools to see how they behave depending on what you do.

CSS is mainly about boxes in other boxes, relative or absolute positionning and flex.

0

u/[deleted] Apr 04 '22

[deleted]

1

u/Flamesilver_0 Jun 08 '22

This helps me every time I have to work with them: https://www.samanthaming.com/flexbox30/

there's one for grids somewhere, too.

4

u/i4get98 Apr 01 '22 edited Apr 01 '22

I went this route:

Figma + UI Kit (Material UI, Bootstrap, etc)

Design in Figma. Create components using auto layout guides listed here: https://help.figma.com/hc/en-us/articles/360040451373-Create-dynamic-designs-with-auto-layout

Export your design using a 3rd party plugin to convert your design, including css to code: Only tried a few, this one works for me:

https://www.figma.com/community/plugin/1009866256233241860

I'm still working out my process. In general, this workflow has helped speed up my development time.

Open to other tools/suggestions on how to improve as well.

1

u/[deleted] Apr 01 '22

[removed] — view removed comment

1

u/i4get98 Apr 01 '22

Yes. May still need some manipulation, but in general, the heavy lifting is done for you.

1

u/i4get98 Apr 01 '22

Well, css is used, but generated for you.

7

u/Dreadweave Apr 01 '22

CSS is fucking stupid. Everyone hates it. No one knows how any of it works. It’s all a mess and anyone who tells you they are good at it is fucking lying.

3

u/iJonMai Apr 01 '22

I’m.. uhh.. pretty decent/good at it haha. Been working as a frontend engineer for like 5 years now though

3

u/the_pod_ Apr 01 '22

CSS is fucking stupid.

yeah, it can suck

Everyone hates it.

yeah, many hate it. I use to when I really struggled with it. Now I don't love it but don't hate it.

No one knows how any of it works.

Okay, that's not true. CSS is way harder than it looks, but a lot of people understand it. (especially once you get past the junior developer level)

It’s all a mess

yes, many codebases are a utter mess

and anyone who tells you they are good at it is fucking lying.

totally wrong.

they're not lying. Just because you're still not good at it, doesn't mean everyone is lying. It's less common than a beginner would expect, but a lot of senior level people are good/very good at css.

Maybe not at every company, and maybe you haven't personally worked with someone who is, but it's not a made up idea. They exist.

1

u/jeremrx Apr 02 '22

You made my day 🤣 CSS is simple. Lot easier than JS. The thing is that it is easier to hide that you are a bad at JS than at CSS.

0

u/Valuable-Case9657 Apr 01 '22

I'm going to link you to Kevin Powell as well:
https://www.youtube.com/kevinpowell

2

u/loneStar__ Apr 01 '22

There is only one secret to master CSS, it’s practice it doesn’t matter if you use a lib or a preprocessor it is the same thought process basically you want to describe how will look the things you want to build and no tutorial are going yo help you with that, only practice and practice you will at a junior front end developer position.

If anything can help try to wrap your head around how flexbox works and Google everything you don’t know when you are on the job

1

u/aftabksoomro Apr 01 '22

Hey, congratulations to be a beginner level MERN Stack Developer, don't be anxious about not in master in CSS. You can use Bootstrap or Tailwind CSS frameworks. I realize that you might have been rejected from some places.

I suggest you not to think about get a job according to your knowledge and experience. You can be a freelancer, as you know there are so many such platforms, where you can offer your services, and you must mention there clearly that I am MERN Stack Developer using JavaScript frameworks with Bootstrap or Tailwind which are very easy to understand and you will be able to make an attractive, responsive and demanding layouts.

One thing you should know that CSS is nothing instead of your skills. You can also make YouTube Channel, where you can make tutorials and also make a blog of the same that channel. You can be an entrepreneur and can earn huge money from these platforms, instead of getting job, where you will be given a limited salary or package. If you start your own business, you can hire your employees too.

So this is my advice for you, if you think on it.

Regards,

Aftab Soomro.

0

u/[deleted] Apr 01 '22

[deleted]

1

u/aftabksoomro Apr 01 '22

Yes dear, you can inbox me, I will try to give you the hints to improve your skills and get benefit from it.

0

u/FastnBulbous81 Apr 01 '22

Perhaps have a go with tailwind. As someone who really doesn't enjoy using CSS, things like tailwind certainly takes a lot of the pain out of it. Bootstrap utility classes would also be a good starting point too. I would recommend getting a good understanding of flexbox at least though. People generally say it's better to get good with vanilla CSS before using a library but maybe a library can be a good way to learn CSS.

0

u/ataraxy Apr 01 '22 edited Apr 01 '22

I suggest leaning on TailwindCSS to start with as it simplifies a lot of stuff especially when it comes to media queries for showing things depending upon screen size.

Just learning or remembering the atomic classes alone will go a long way in helping you "figure out" CSS in general. Especially their documentation which gives you a lot of visual representation of what CSS stuff does. It also shows you what the "actual" CSS properties are for the classes.

Honestly it's not too hard to do stuff once you understand how to make use of flexbox and grids for layouts as well as how to make proper use of media queries.

0

u/huhu_moon Apr 01 '22

I think you are already know css if you've tried to learn it.
There are many libraries and preprocessors that used in some specific project.
If you want to build some pet you should choose which will be best for you. Then just read the docs!

0

u/Valuable-Case9657 Apr 01 '22

https://www.youtube.com/kevinpowell

:EDIT:
Outside of Kevin's whole channel, a good place to start is here:
https://www.youtube.com/watch?v=JnTPd9G6hoY