CodeNewbie Community 🌱

Kat Fay
Kat Fay

Posted on

Week 1: what was learning CSS through SheCodes Basics like?

So. Much. Fun. 🎨

Adding CSS made my page look pretty, and this made learning to build a webpage infinitely more fun.

Some coding newbies on the SheCodes Slack channel said their gateway drug to CSS was styling their MySpace profile last decade/century. I am too aged β€” pronounced ay-jed β€” for this (πŸ‘‹πŸΌ fellow Elder Millennials!), but my little sister said she can relate.
A cute, black Scottish Terrier lying on a rug, eating twigs and looking upwards at the camera with a sulky expression.

Here is Duncan finding the twig art learning process infinitely more fun.

For each CSS property, class, selector or tip, a short video by Matthieu (the SheCodes instructor & creator):

  • explained it in simple terms
  • showed live writing of its code and common errors in Visual Studio Code
  • showed us the results of each addition/tweak on a webpage
  • showed us how to find and understand the code for what was just created using Google Chrome developer tools
  • gave us keyboard shortcuts and handy usage tips that real-world developers use for these features
  • finished by summarising the concepts introduced in the video and posing a challenge for us to complete before moving on.

The former teacher in me was like πŸ‘πŸΌ πŸ‘πŸΌ πŸ‘πŸΌ at all these effective learning techniques. I wish I had been that good at teaching πŸ€·πŸΌβ€β™€οΈ.

Last week’s post set out some of the reasons the SheCodes learning style really helped me. Adding to this, the explanations were pitched at a level newbies could understand and apply. Handy shortcut tools were given (e.g. the ColorZilla extension, Matthieu’s own color palette picker). The tools were explained in the context of how we would use them in the work of a real-life developer.

The most powerful thing is when you do the challenges, you’re applying the code. And this is where you really learn. For me, it meant I found and fixed errors in my code. I noticed I wanted to add more flourishes or features to the button or image I was playing with. This prompted me to hunt down and experiment with how to do it.

Cue: lots of searching MDN, Stack Overflow and kind Twitter teachers’ guides, heaps of CTRL+R and CTRL+Z and … more and better learning.
A website showing weather in Toyko.
Scratching the surface: CSS styling for Week 1 homework.

I know I’m just scratching the surface of what CSS can do, but I’m not getting bogged down in detail I can’t apply yet.

I like how CSS can give a webpage the illusion of functionality with box-shadow, hover, transitions, etc.

I love how CSS makes a webpage look. The white space (not created with semantically misleading tables or paragraph breaks, hooray!). The colours. The fonts. The consistency. It must be the proofreader/editor/KidPix nerd in me.

We learned classic CSS spacing (padding, margin, border) and display (block, in-line, etc) components, how to style elements and classes with spacing, fonts, backgrounds (including gradients), colours, hovers + transitions and more.

In practical terms, this included changing, for example: the cursor to a pointer, a html button to something non-fugly, the background color as the cursor hovered over an area, an image border to a soft-edged square, the position of an image or heading on a screen.
Two websites side by side, one in html styling and one with CSS styling.

Two webpages, compared

From this ↖️ to this ↗️ … CSS I πŸ’› you.

That’s why if you like to make things look nice (clean, consistent, colourful), you will love CSS. I’d love to hear about your journey with CSS so far, or any CSS developers you follow ⬇️ πŸ’¬.

The last step was working out how to display my code as a webpage that’s hosted externally. But that’s a whole other mini-post about getting a GitHub account 😻 and adding the right repositories. Hopefully other other newbies find it helpful. πŸ‘‹πŸΌ 🌱

Top comments (2)

Collapse
 
dennistobar profile image
Dennis Tobar

Hey, nice CSS page, I love it :)
A few years ago, I really dislike a lot of CSS (nowaday, not at all), and learning the basics is a great start to tame the CSS world. I've some problems with the classic "center div", but StackOverflow went to the rescue.
Nice advance and the "Github account" will improve your capacity to share your pages (and collaborate with others).
Keep going, see you next week :)

Collapse
 
yuridevat profile image
π•π•¦π•π•šπ•’ πŸ‘©πŸ»β€πŸ’»

Nice article about your insights of SheCodes :)