Shalmali-Patil• 60
@Shalmali-Patil
Posted
Great job on completing this challenge! I liked how you used variables in CSS - I'm yet to try them.
One thing I observed in your solution (that I too faced when doing this challenge) was the Young Serif font not getting picked correctly for the headings. Since the font files are included in the starter kit, I imported the fonts like below:
@font-face {
font-family: 'Young Serif';
src: url('assets/fonts/young-serif/YoungSerif-Regular.ttf');
}
And then used them as:
h1{
font-family: 'Young Serif';
font-size: 36px;
}
Hope this helps.
All the best!
Marked as helpful
1