social proof section using table, box model, inline-block element
Design comparison
Solution retrospective
hi if anyone would like to help me i got a problem with front-weight, idk what happened but it didnt work
Community feedback
- @aisyahnrlhPosted almost 4 years ago
I think you forgot to choose the styles before you embed the font. Here's mine
2@aisyahnrlhPosted almost 4 years agolink rel="preconnect" href="https://fonts.gstatic.com" link href="https://fonts.googleapis.com/css2?family=Spartan:wght@400;500;700&display=swap" rel="stylesheet" I chose 400, 500, and 700
0@AgataLiberskaPosted almost 4 years agoas @aisyahnrlh said, you need to add different weights before you add the fonts to your html file. In google fonts, just click 'select this style' on all weights you want in your design, and they will be added to the <link> that's generated for you :)
1@sitiannisa13Posted almost 4 years ago@aisyahnrlh i didnt know that we have to add the font too, it finally work. Thank you :)
0@sitiannisa13Posted almost 4 years ago@AgataLiberska yup that was the problem i didnt add the font weight, thank you :)
0 - @aisyahnrlhPosted almost 4 years ago
Hi, you need to define the font-weight as the style guide said. For example, in h1 you need to define font-weight=700 if you want to make it bold
0@sitiannisa13Posted almost 4 years ago@aisyahnrlh hi, i already set the font-weight but it didnt change anything
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord