CSS Crash Course for Beginners -3

Photo by Lee Campbell on Unsplash

Welcome to part-3 of the series. You can find part-2 here.

Class & Id

We have the concept of class and id in CSS. They can be used to target any HTML element. The difference between both of them is that the same class can be used at different places, but we can use id only once. Let’s update our html from previous part to wrap the h1, h3 and p with a div with class of box-1.

Class

You can read the rest of the blog from my site. The link for same is below.

You can find part-4 here.

--

--

--

Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Tell the World About It, Even if the World Doesn’t Care

10 Cardinal Steps to Beta Test Your Mobile App

Notes on Zoom, the AWS-Slack Parternship and Asymmetric Competition

Top 10 Most Popular GitHub Repos Leaderboard

SQL Performance is just not Queries

OAUTH2 ACCESS TOKEN USAGE STRATEGIES FOR MULTIPLE RESOURCES (APIS): PART 3

Can Data Science Predict The Stock Market?

Empowering Developers to Own API Security

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nabendu Biswas

Nabendu Biswas

Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger

More from Medium

Day 2: CSS Basics

Top 3 ways to easily detect when a user leaves a page using JavaScript

CSS Basics #4: Grid System and Responsive Design