Site logo

My First CSS Lesson

Published on April 30, 2026 by Lilian Uchechi Obasi

After completing my foundational HTML lessons, I moved on to CSS. I had heard that CSS is what makes websites “beautiful,” but I didn’t fully understand how simple and logical it actually is.

The core idea I learned on Day One was this:

CSS works using selectors and properties.A selector chooses what you want to style.A property defines how you want it to look.

That simple structure opened everything.I experimented with tones like:

  • Sienna
  • Salmon
  • Coral soft
  • Warm peach
  • Light cream backgrounds

With just a few lines of CSS, my plain HTML page began to look intentional.

Because I had already built my HTML carefully using semantic elements like dl dt, and dd, styling became easier. I could target specific elements like:

                    
                        .Book dd {
                            color: #FFB7A3;
                         }
                    
                

That allowed me to style just the synopsis text inside each book without affecting other parts of the page.

This experience reinforced something important:Good HTML structure makes CSS easier and more powerful.