Maxence• 170
@MaeWolff
Posted
Hi ! Congrats on your challenge :)
I noticed a few things you could improve:
- In your
Country.jsx
andCountryList.jsx
files, during your try/catch, you should pass yoursetLoading(false)
in thefinally
(you can read an article here) because this code will be executed at the end while the catch executes when you have an error. - As for your HTML syntax, for your footer and navbar you should use the correct semantics for your tags (
footer
/header
andnav
)
0