Harshit Bhardwaj• 90
@harshitBhardwaj97
Posted
Hi I saw your code and I believe you forgot to add the link or import for the Red Hat Display font.
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;700&family=Red+Hat+Display:wght@400;700&display=swap" rel="stylesheet">
Adding these lines inside head tag of your html should do the work, since in CSS file you already have specified the font-family (font-family: 'Red Hat Display')
I hope you find this suggestion helpful and it solves your problem, Happy Coding !
0