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: https://github.com/elioflo/advice-generator-app-main
- Live Site URL: https://elioflo.github.io/advice-generator-app-main/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- SASS
- BEM
- JavaScript and the Fetch API
Some about promises
and how to use fetch(...)
.
Study promises!
- web.dev Post about form fetch function.
- w3school - To consult about doubts that appeared.
- mdn_ - MDN Web Docs has the most up-to-date and accurate information and the content is presented in an easy-to-understand manner. I also like that it's available in many languages (very important!).
- Frontend Mentor - @elioflo
- Twitter - @7532elioflo