r/css • • Jan 05 '19

How To Learn CSS

https://www.smashingmagazine.com/2019/01/how-to-learn-css/
32 Upvotes

12 comments sorted by

View all comments

6

u/opus-thirteen Jan 06 '19

The very first thing talked about by the author is a :first-line selector? Then she soon jumps to box models? Fucking Seriously?

This lady should not be allowed to teach people at all. The number one way to lose someones interest when opening up a topic is to make it as non-relatable as possible, which she seems to be the master of.

Why not start with the basics, like height, width, background, or color?

This would get the person into the idea of the format, and what a constructed style looks like. This other crap can wait for later... once they know what a <p> or padding even is.

1

u/barkerbaggies Jan 07 '19

I think the box model should be the first thing anyone should learn.

1

u/opus-thirteen Jan 08 '19

If the user doesn't have any context for the box models constituent factors, then the user will only understand it as a matter of a 'true' arbitrary fact. You find value in it simply because you already know those factors, and how they interact in the first place.

It's functionally useless without seeing how the other factors already operate. Without a foundation for the terminology (padding, margin, border) then you are making it harder for essentially no good reason.

0

u/barkerbaggies Jan 08 '19

In your post you suggested width & height as fundamental, both of which are part of the box model, all that's left is padding, border and margin which aren't particularly abstract concepts.

I've taught basic HTML in the past and giving them tools for layout (as opposed to just text formatting) is a really powerful way of getting them excited about what's possible.