Submitted about 2 years ago
Advice Generator built with HTML, CSS and CSS Media Query
@eneyedev
Design comparison
SolutionDesign
Community feedback
- @nelsonuprety1Posted about 2 years ago
The app looks good. But please consider using Javascript to load the api and display the api data when you click the dice as mentioned in the project description.
You can use the fetch API method with async await to call the api. Fetch api: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
Async / await: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function
Please briefly go through the topic of asynchronous javascript to learn more about the topic. Link: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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