Free Grid Workshop (and some other things)


​View this email in your browser (or share it with a friend!)

Hello Reader,

Yup, you read that right, I'm hosting a totally free CSS Grid workshop this week! You can scroll down a bit if you're interested in that, but first I want to talk a bit about one of my goals with my second channel.

One of my favourite things to do there is to have conversations with other people, and while I have had a few in the past, most episodes are just me rambling about things.

I've finally reached out to some people and have several guests lined up now, the first of which dropped in this week, when I had the pleasure of having a fantastic conversation with Sara Soueidan.

I always enjoy talking with people who have a very deep knowledge of the topic. Just like I can nerd out about CSS all day long, Sara knows a ton about accessibility, and her passion for it was obvious during our conversation.

A few of the highlights for me:

  • How we can use empathy to show why accessibility is important.
  • When starting a new project or feature, start by thinking about how users are going to use what you are building, and design around that, rather than designing things the way you think they should be used.
  • We talked a lot about ARIA, and how it helps enhance HTML when we need it, like when creating something (usually more advanced interactions) that there are no HTML features for.

And we talked about much more than that, getting into how CSS impacts accessibility, course creation, and even a bit about homemade mayonnaise.

You can find the audio-only version here (which has links to Apple Music, Spotify, and the RSS), or you can watch it on YouTube.

video preview​

πŸ™‹β€β™‚οΈ What I’ve been up to this week

How to set custom error messages for your HTML forms

video preview​

The browser comes with native, client-side form validation that works quite well, but the errors have a few issues, from problems with internationalization, and no way to custom style them. Luckily, we can use the same API the browser uses under the hood to customize our errors quite easily!

You can find the starting and finished code in this repo if you’d like to follow along or poke around at what I did.πŸ™‹β€β™‚οΈ What I've been up to this week.

πŸ“… Coming next week: FREE CSS Grid Workshop

This upcoming Friday, I am hosting a CSS Grid Workshop in my Discord community.

Many people find the number of Grid properties overwhelming, or that Flexbox is easier to use, so this workshop focuses on getting started with Grid and learning how we can keep it simple, even as layouts become more complex.

This is the first proper workshop that I host in my community, and I plan to run new ones every month going forward.

You can join the community here so you don’t miss it, and it’ll tell the time in your local time zone as well.

And yes, it is completely free to join!

⚑ Quick tips of the week

Stop it with the useless declarations and work with the browser instead

video preview​

A quick look at how declarations like width: 100% that look innocent enough can actually cause more problems than not declaring anything at all.

At the end, I also give a bonus tip, looking at height: stretch.


Single-color gradients

The HTML & CSS Tip of the Week is back!

To be a bit more time efficient, these are going to be based on Shorts of mine, so they might seem a little familiar, but the content won't be exactly the same.

In this one, I look at two use cases for single-colour gradients.

I've also done a small update of the design over there. It's added a little bit of jank on scroll that I need to investigate, but overall I think it's looking a bit better 😊.

πŸ“ Quiz time!

Which of the following CSS properties allows us to resize image elements within their boxes, the same way we can do `background-size: cover` or `background-size: contain` for background images?

  1. image-position
  2. image-size
  3. object-fit
  4. object-size

As per usual, you'll have to head on over to YouTube to take a stab at the quiz, and once you answer, you'll see if you were right or not.

​

🏁

Have a fantastic week!
Kevin


Are you looking to step up your CSS? I've got both free and premium courses to help with that! They cover a range of skill levels too πŸ‘‡

Beginner friendly (and free)

HTML & CSS for Absolute Beginners

A free course that starts with the absolute basics, and gets to creating some layouts with Flexbox and Grid.

​Enroll →​

Intermediate

CSS Demystified

For those who've been writing CSS for a little bit now, but want to step up their game and start writing CSS with confidence!

​Enroll →​

Intermediate (Frontend Masters)

Build a Modern Site from Scratch

Build a fully responsive site using modern CSS features, along with some polished animations.

​Enroll β†’ (25% off first month of Frontend Masters if you use this affiliate link)

​

If you no longer want to get any emails from me, you can unsubscribe or you can edit your preferences if you'd like pick which emails you get from me.
113 Cherry St #92768, Seattle, WA 98104-2205

Hi! I'm Kevin

Weekly newsletter, where I talk about tangentially-related front-end development topics and share what I've been up to in the last week, plus any cool/fun/interesting/useful links I come across as well.

Read more from Hi! I'm Kevin

View this email in your browser (or share it with a friend!) Hello Reader, A bit of a different email this Sunday, as I don't have any new content to share (which is the first time I haven't had anything in a long time). Instead, I'm writing to let you know on Tuesday and Wednesday of this week, I’m giving a workshop with Frontend Masters called Modern CSS Fundamentals. The workshop is for anyone ready to move from doing their best to getting CSS to work to truly understanding it. Whether...

View this email in your browser (or share it with a friend!) Hello Reader, I’m going to keep the intro short on this ones because there is a lot going on in the What I’ve Been up to section, but before we jump into into that, two quick things: As an experiment for Interop 2026, Jake Archibald and the team at Firefox habe put together a way to gather more feedback on what features matter most to developers. So, if you head on over here, you can pick the proposals that are important to you, and...

View this email in your browser (or share it with a friend!) Hello Reader, A few weeks ago, I posted a video about the current state of the internet after I had a terrible AI-generated CSS article showing up in my news feed. I was saddened by how it was getting priority over quality content from sites like Piccalilli, Smashing Magazine, CSS-Tricks, and countless other excellent sources (I’ve put a bunch in the other links around the web section below if you’re looking for more to follow). At...