Responsive Adivce generator using Api, React and SCSS-Mobile First.

Please log in to post a comment
Log in with GitHubCommunity feedback
- @o-gtkv
Hi, Ahmed
Some notes on your code:
- You can use useEffect hook to initially load the data, as shown here.
- You don't need React.Fragment(<>) and the key attribute.
- It is important to keep the structure of your document correct: the heading, then the regular text, but not vice versa :) You should`t use <h1> and <p> based on text size, for example. This can always be changed through styles.
Hope you will find this helpful. Happy coding!
Marked as helpful
Join 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