TheBuilder_
TheBuilder_
KPCKevin Powell - Community
Created by TheBuilder_ on 2/13/2024 in #front-end
is it good practice to use h1 for logo of a web page?
What do you think about h1 being using as the logo of a webpage. I still see a lot of websites where it is used this way but I also read that it's not a good practice for SEO. What are your thoughts about it?
3 replies
KPCKevin Powell - Community
Created by TheBuilder_ on 2/7/2024 in #front-end
font family not working on h1
I'm experiencing a situation where a font family isn't getting applied to a h1 unless I set it on both the parent element of the h1 and the h1. Setting it on only the parent element does not work. I'd think that the h1 would inherit the style of the parent but that's not the case. There isn't any interfering font family styles for the h1. I'm using Brave browser. I've never seen something like this before in CSS and I've been writing CSS for 2 years. It's just very strange. How do I solve this issue?
11 replies
KPCKevin Powell - Community
Created by TheBuilder_ on 4/26/2023 in #front-end
article element flexbox issue
Hi, so i'm trying to make this a flexbox with the h2 and p on the left and the image on the right but if i do this as it is, html validator yells at me saying that i need the h2 to be a direct child to the article element. How else am i suppose to group the h2 nd p within the article tags without having them in a parent div to make a flexbox? @Kevin <article> <div> <h2>lorem ipsum</h2> <p>lorem ipsum veteri ingnisei</p> </div> <img src= "/pathtoimage" alt= "some image"> </article>
20 replies