Design comparison
Solution retrospective
Tricky to work out the exact alignment (I don't have the Pro version), but did my best.
Community feedback
- @elaineleungPosted over 2 years ago
HI z3zUK, welcome to Frontend Mentor, and congrats on completing your first challenge! I think you did a great job in making it look as close as possible to the design. I just checked your code and it looks like you're using the optical version of the Fraunces font face, and that's why the font face doesn't match the one in the design. You can try copying the link again from Google and uncheck the option for optical version. Also, in your
source
tags, you can remove theheight
andwidth
attributes, as that's currently giving you HTML validation issues.Once again, great job, and keep going!
Marked as helpful0@z3zUKPosted over 2 years ago@elaineleung Hi, thanks for the feedback! It's very much appreciated. I'd like to quickly respond to your comments...
-
I was aware the font was slightly different to your screenshot, but didn't realise there was such a thing as an optical version. I'll keep an eye out for that in the future.
-
I did run my code through the W3 validator, and it passed with no issues, and I believe width and height are being added as acceptable attributes to Source. However, I've removed them for now, and it looks like I've passed the validator this time round (didn't realise you had a validator here on the site. Again, I'll know better in the future!)
Thanks for your help and encouragement. :D
1 -
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