Kirstykirsty.hashnode.dev·Apr 9, 2024What is CSS specificity, and how to avoid headaches.Selector specificity in CSS is what will determine what styles are applied in the event of a conflict in styles. An example would be if you had a paragraph and wanted it to be red. You applied color: red using a type selector (p), but you also appl...20 likesCSS3
Kirstykirsty.hashnode.dev·Mar 29, 2024Serving Webpages in Multiple Languages: A GuideThis guide explores how to create webpages that display content in multiple languages. Many developers rely on the default HTML boilerplate generated by the Emmet shortcut (! + Tab) in VS Code. This boilerplate often includes the lang="en" attribute,...12 likes·36 readsHTML
Kirstykirsty.hashnode.dev·Mar 28, 2024The importance of DOCTYPE in HTMLIn every tutorial you've done, you've probably seen the boilerplate HTML5 document start with <!DOCTYPE html>. But have you ever stopped to wonder why we always need it? It's true, DOCTYPE tells the browser what type of HTML to load. But that's just ...10 likesBanki