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

I used grid, @media and two form of align the content.

#accessibility#gulp#itcss#sass/scss#cypress

@VarnerDamascenoJr

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


My first difficulty was align the dice and circle in the middle of the card. Then I learned two different ways to align content. The first one using grid/flex and the another was using margin( left/right) and the position.

Community feedback

@zineb-Bou

Posted

Hi there, congratulation for completing your first challenge here 🎉, keep going, you gonna learn a lot by completing different challenges 💪

  • I noticed that you are not making an API request to fetch data, if this still a bit challenging for you, I recommend starting with challenges that can be done only by HTML, CSS, and a bit of js there are plenty of them here.
  • The dice element it’s a button so it’s better to use the <button> tag. Take the habit of using the right HTML semantic elements for the right purpose.
  • Also as mentioned before, use GitHub to submit your solutions

Good luck.

Marked as helpful

1

@pedrohsouza

Posted

You could use GitHub pages instead of Codepen for deploy. On your project repository go to settings > pages > source and choose the branch you'd like to deploy (normally main) and save, then GitHub will automatically do the job for you.

0

@VarnerDamascenoJr

Posted

@pedrohsouza Thanks, This was my first challege here.

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