Submitted over 1 year ago
Responsive Adivce generator using Api, React and SCSS-Mobile First.
@websalem
Design comparison
SolutionDesign
Community feedback
- @o-gtkvPosted over 1 year ago
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 helpful0@websalemPosted over 1 year ago@o-gtkv oh yes it is very helpful. thank you very much
0
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