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 with API

papa 340

@PapsPython

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


Learnt more about position relative. Assumed it had to be used along with position absolute on the parent.

position relative can be set on any tag or element. This will make the tag's position relative to its original position in the html

Community feedback

@matiasluduena23

Posted

Hi @PapsPython! good work! Just one advice, to center your content, you need to put a heightin your body, you do it well with your flex and align items, but your need a height so your flex configuration can work. Put in your body min-height: 100vh. Always use a heigth when you need to center a content.

Good code!!!

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