This is a solution to the Advice generator app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Generate a new piece of advice by clicking the dice icon
did i get it right? please feel free to comment.
- Solution URL: [https://yunishello.github.io/adviceapp]
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Bootstrap 5
- JavaScript
I found it interesting to finally know how to use this amazing css trick on how to position an element.
.proud-of-this-css {
position: absolute;
top: 100%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
I will love to learn more on:
-How to design better layouts -color selection for project -best practices
- Color Picker - This helped me in choosing reason. I really liked this pattern and will use it going forward.
- Position An Element - This helped me in achieving the positioning
- Website - Yunus Yusuf Oladimeji
- Frontend Mentor - @Yunishello
- Github - @Yunishello