Advice Generator App using HTML, CSS, JS and an API
Design comparison
Solution retrospective
This was pretty easy to do. It was my first time using an API, and I found using Axios makes things a lot easier.
I'm not sure why the die doesn't render properly in Firefox though. It looks good in Chrome.
Also, I use px
for everything and then at the end of the project, I manually change them to rem
. Is there an easier way? Or do you just start using rem
from the start?
Thanks!
Community feedback
- @stripedtshirtPosted about 2 years ago
Hey I saw your site, awesome by the way. What I'd normally do is in the styling of the html tag, put in a font-size of 62.5%, that is equivalent to 10px, what that simply means is when you style with rem units, 1rem would be equal to 10px. So that just makes the conversion easier.
Marked as helpful0@wesleyjacobyPosted about 2 years ago@stripedtshirt Thanks so much! This is a great idea. I'm going to try this with my next project. :)
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