We have our content! But the default styles aren't the greatest. It's a little hard to read and takes a little more room than it should -- but we can fix that!
Colby Fayock: [0:00] To update our styles, we can start by adding a class to our div. Now, I can use that className to create a new style such as if I wanted to style the h3 and change the font size and change the margin on the bottom. I can see on my h3 that my styles were applied.
[0:12] I'm going to also paste in a few more styles such as my unordered list where I'm going to strip the padding in the list style. I'm going to change the margin of each list item. On the last list item, I'm going to remove that margin. If I click that pop up, I can see all my new styles.
Member comments are a way for members to communicate, interact, and ask questions about a lesson.
The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io
Be on-Topic
Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.
Avoid meta-discussion
Code Problems?
Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context
Details and Context
Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!