Difference between an id and a class in css
When you write a simple css code it almost feels like you can use an id and a class interchangeably -after all they produce seemingly equal outputs- but you can't-per say- And I'm going to tell you why
<style>
.red-socks{
color: #ff0;
}
<...
rennee04.hashnode.dev3 min read
Nifemi Adeyemi
I do fancy stuff with javascript
Well done This was insightful 🤩