Skip to content

Front End Mentor Challenge to build a simple Github search

Notifications You must be signed in to change notification settings

TheShonuff/Github-user-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Note: Delete this note and update the table of contents based on what sections you keep.

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

ScreenShot

Links

My process

Built with

  • React - JS library
  • CSS custom properties
  • Flexbox
  • CSS Grid

What I learned

This was my first React App without a tutorial code-along. It was a very interesting journey. I can say I fully grok props and state and how the components interact with eachother. I learned how to fully utilise css custom properties and implement a theme changer. This aspect of the challenge definetly stumped me the most. The solution ended up being pretty simple compared to some of the tutorials / solutions I came across online while researching the problem.

Continued development

I plan on continuing my React journey and try to focus more on functional components rather then class components. I learned state using Class components so felt most comfotable implementating this solution use class components. However I notice that it does have some limitations.

Author

About

Front End Mentor Challenge to build a simple Github search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published