This is a solution to the Advice generator app challenge on Frontend Mentor.
Note: Delete this note and update the table of contents based on what sections you keep.
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
- Live Site URL: live site URL
- Semantic HTML5 markup
- CSS custom properties
- For styles
Note: These are just examples. Delete this note and replace the list above with your own choices
I learnt how to interact with 3rd-party APIs. and was able to put async and await into practise
const url = "https://api.adviceslip.com/advice";
async function getAdvice() {
const fetchData = await fetch(url)
const data = await fetchData.json();
}
I'd love to focus more on projects that requires arrays and object destructuring, asynchronous javascript, APIs and wprking with json.
- Website - Blessing Peter
- Frontend Mentor - @ble-syn
- Twitter - @ble_syn_