DEV Community

MikaZuki Augus
MikaZuki Augus

Posted on

Font Snag in my code

Hey Guys! Quick question.. I have run into a lil snag with my code and not sure what i'm doing wrong...

Is there any reason my h1 title is coming out as Comic sans instead of any other Google Fonts I try??

Top comments (4)

Collapse
 
majidmade profile image
Majid Razvi

your @import url statements need to be at the top of the css file. it's defaulting tothe cursive fallback, which happens to be comic sans.

Collapse
 
mikacodez profile image
MikaZuki Augus

Thank you for the help Majid, really appreciate it. Will try implementing this to my code.

Collapse
 
cariehl profile image
Cooper Riehl

Can you share your HTML and CSS, either in your main post or on Github? It'll be easier to help if we can see what is happening behind the scenes :)

Collapse
 
mikacodez profile image
MikaZuki Augus

Thank you Cooper, for sure my GitHub is: github.com/MikaCodez/Cleliaswebsit...

if that doesnt display correctly you can find the source of the code on my codepen here:

codepen.io/malczzero/pen/LYWyzbW