Margin top from somewhere

Im following one of Kevins tutorials: https://www.youtube.com/watch?v=8QKOaTYvYUA&t=1446s I've tried to set it up exactly as Kevin, but I still have a gap between the navbar and top. https://i.imgur.com/41lBfPS.png I've found these: https://i.imgur.com/8EH1nYJ.png But why do I have these, and why does Kevin not have these? They seem to be from a H1 tag, and I dont have any H1 tag in my Style.css.
Kevin Powell
YouTube
Create a responsive navigation nav with no JS!
Start creating responsive layouts with confidence with my free responsive layouts course: https://courses.kevinpowell.co/conquering-responsive-layouts My very first video that I published here is one on creating a navigation. It worked, it looks good, and it's insanely popular (by far my most popular video). The problem is, it isn't responsive ...
Imgur
Imgur
5 Replies
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
d0kefish
d0kefish16mo ago
Im not sure how it works if im using a django app, when I try to post stuff in sandboxes, it gets messy.
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Kevin Powell
Kevin Powell16mo ago
paragraphs, headings, lists, and many other elements come with default margins on them, which is why on the top right of that screenshot it says user agent stylesheet, it's from the user agent, or in other words, the browser's default styling Same reason headings have default sizes on them (h1 is bigger than h2), and links are blue and underlined
d0kefish
d0kefish16mo ago
Thank you!
Want results from more Discord servers?
Add your server
More Posts