Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

Github User Search App With Tailwind CSS

tailwind-css
Jackson Whiting•360
@jacksonwhiting
A solution to the GitHub user search app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This was fairly straightforward to me. On the UI side of the house, I'm curious how everyone handled the avatar between desktop (two-column setup) to mobile (one-column setup). I ended up using Flexbox but had to create an additional image element and hid it on mobile. What's the best solution?

Querying the API was straightforward. I was tinkering with trying to pull in all of the UserNames in GitHub and display the top 8 or so as the user types the name (similar to Google). The end user may know the name of the person but may not know their username, so I thought this would be a useful feature. In the end, there are way too many usernames to try to download and the API would only let me do it through paginated results. Does anyone have an idea how to tackle this if you needed to?

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Jackson Whiting's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License