Skip to content

An app that showcase advices using TypeScript, Next.js and FramerMotion

Notifications You must be signed in to change notification settings

gefgu/advice-slip

Repository files navigation

Advice generator app solution

This is a solution to the Advice generator app challenge on Frontend Mentor.

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
  • Generate a new piece of advice by clicking the dice icon

Screenshot

Screenshot

Links

My process

Built with

  • Flexbox
  • React - JS library
  • Next.js - React framework
  • CSS Modules
  • Framer Motion
  • SWR

What I learned

I learned that Framer Motion is AMAZING! I've added several nice animations to this project and it was the easiest part.

Continued development

If kept working on this project, I would improve my handling of the API calls. I don't think my solution using a random index was the best way to avoid the caching of the advices.

Note: Delete this note and the content within this section and replace with your own plans for continued development.

Author

About

An app that showcase advices using TypeScript, Next.js and FramerMotion

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published