DHBLee_Github using React and TailwindCSS

Solution retrospective
I'm proud that I was able to finish this challenge. I will try to separate each section/div to different components next time
What challenges did you encounter, and how did you overcome them?Using the Api. I searched online how to do it 👌
What specific areas of your project would you like help with?Any feedback is appreciated. Thanks!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @MarziaJalili
Hats of to you!
A tiny fix:
When the data is loading the
Search for someone on Github
element is still there. It would be better tot get rid of that to let our users know that we've gotten the input and no longer need them to enter anything else.Set the condition so that the element gets rendered only if the
loading
anduser
isfalse
:{ !user && !loading ? ( <p className='text-[3rem] dark:text-white text-black'> Search for someone on GitHub. </p> ) : null }
This will render that element if the conditions are meet otherwise it will render
null
(no element at all).Well done overall, keep up the grind.
👌👌👌
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