Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Advice generator app using the Fetch Api

@Gilbert-Koom

Desktop design screenshot for the Advice generator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am proud i could center the text using the text align property and center as its value.

What challenges did you encounter, and how did you overcome them?

I found it hard to center the text but i used flex

What specific areas of your project would you like help with?

Accessibility

Community feedback

@MaracaraCarlos

Posted

Hello Gilbert there are a couple of things you can do to improve your code:

  • In the buttons you can place the class cursor: pointer; this will cause every time the mouse cursor passes over your button the hand will appear pointing to the element.
  • You can rely on tools like Box Shadow CSS Generator for the shadows on your button.
  • To make your HTML semantic you can use <section>, <main>, <header> instead of <div>. Semantic HTML5 Elements Explained
  • Use rem instead of px for font-size, it adapts better to browsers and devices. I leave this link so you can have more information. Why font-size must NEVER be in pixels

Marked as helpful

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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