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 main

Chinmay Agarwalโ€ข 235

@chinmayagarwal3007

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


Hello ๐Ÿ‘‹!

I am unable to figure out how to put refresh button (green button) on top of other div, I tried it using Z-index but it didn't work out. If someone can help me out there that would be great ๐Ÿ˜.

Community feedback

Kelvinโ€ข 915

@Kl3va

Posted

Z-index only work on positioned elements. To achieve what youโ€™re asking; give the div a position absolute and itโ€™s parent container a position relative, then use the top/right properties to move it towards the direction of your choice.

0

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