Skip to content

yasssuz/github-user-search

Repository files navigation

Frontend Mentor - GitHub user search app solution

This is a solution to the GitHub user search app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the app depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Search for GitHub users by their username
  • See relevant user information based on their search
  • Switch between light and dark themes
  • Bonus: Have the correct color scheme chosen for them based on their computer preferences. Hint: Research prefers-color-scheme in CSS.

Screenshot

Links

My process

Built with

  • React
  • Typescript
  • Styled Components
  • Semantic HTML5 markup
  • CSS custom properties
  • CSS Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

I learned that react-query is awesome when you need to fetch things that will not change depending on the user's input. In fact, I started a battle against react-query itself! Awesome tool, but use it with caution.

Author

Releases

No releases published

Packages

No packages published