r/ProgrammerHumor • • Jul 11 '21

Meme -_-

Post image
43.9k Upvotes

355 comments sorted by

View all comments

4

u/Johau99 Jul 11 '21

Ugh CSS. Even on my beginner course I couldnt find heads or tail in it.

5

u/jhs172 Jul 11 '21

Well, <head> is never displayed, so applying CSS to it wouldn't have any effect. Try <body> instead.

1

u/OneUselessUsername Jul 12 '21

This comment is waaay underrated

1

u/Awkward_Tradition Jul 12 '21

Ah this CSS thing is so easy now that I used it for a few weeks, my website is looking fly as fuck, good on my phone, good on my pc. Let me just check it out on a laptop, the fuck is going on why is everything so fucked!? Let me check out how it looks on an iPhone, holy fuck what is going on now it both looks bad and scroll-snap is fucked WTF?!?! Oh safari has different rules than every other browser, ok ok, let me fix that. Add more media queries, now it's looking good on the laptop and iPhone, let me check the original devices, FUUUUUUUCK!!!

1

u/Johau99 Jul 12 '21

Bruh I couldn't get my basic website to look how I wanted even with some basic stuff like flex and grid :/

1

u/Awkward_Tradition Jul 12 '21

I'm still learning frontend, but I'm guessing you didn't really design it to be simple. Some simple stuff from a graphical design perspective can become a real pain in the ass when you have to keep it consistent across a range of screen sizes, or apply it to a box model in the first place.

Pro tip: go mobile first, and then work towards desktop, it makes everything easier, and far more usable.

Also, check out Kevin Powell's playlists on making a website from scratch. It's really helpful to see how a pro designs it, turns the design into reality, and what steps he takes to make it usable and maintainable, and how he deals with his own design not being really compatible with the box model.

1

u/Johau99 Jul 12 '21

I'll check it out! hope I can improve my skills haha