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
- Solution URL: View Solution
- Live Site URL: Live Demo
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- CSS Transitions
- I understood better how asynchronous javascript work
- Practice more on javascript, especially asynchronous js and dom manipulation
- Make a custom function to fetch a random advice different from previous one
- I don't know how to tackle it yet. Maybe using a function which generates a random id different from the previous one then fetching the advice by that id?
- Frontend Mentor - @alinmercasi