Skip to content

AcmeGamers/Advice-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Advice generator app solution

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

Table of contents

Overview

So here's a small overiew of what you guys might need to do if you ever wanna build this app ~ Acme

The challenge

Users should be able to:

  • Fetch API responses from Advice Slip API
  • Generate a random advice when the button is pressed
  • Use Media Queries to adjust the size of the web app

Screenshot

Here's a screenshot of my solution, and if you ever wanna add your own in your own repo, the easiest way to do this is to use a browser to view your project, and use your snipping tool to capture the image.

Desktop Version Mobile Version

Normally I would use Lightshot or Sharex to take the screenshot with a hot-key. They both are free so you don't need to pay for them.

Links

My process

Built with

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

What I learned

I believe in practice being a main part of learning process, and repeatingly used previous concepts allows people to be more productive and faster. With this exercise, I was able to put a better refresher on how to use React Components while building this application, in addition, how ARIA-roles can be put to better use for people with disabilities.

Continued development

Since functional components are quite easier in reading ability in comparison to React Hooks, so here is what I wanted to try. I am planning to use React Hooks, however, React Components are quite handy when it comes to lifecycle development.

Author

About

An advice generator challenge on frontend mentor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published