Skip to content

Latest commit

 

History

History

advice-generator-app-react

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Advice generator app

Live Link

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

Design preview for the Advice generator app coding challenge

The challenge

Your challenge is to build out this advice generator app using the Advice Slip API and get it looking as close to the design as possible.

You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.

Your 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

The challenge

Your challenge is to build out this intro section with dropdown navigation and get it looking as close to the design as possible.

You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.

Your users should be able to:

  • View the relevant dropdown menus on desktop and mobile when interacting with the navigation links
  • View the optimal layout for the content depending on their device's screen size
  • See hover states for all interactive elements on the page

Experience and Challenges

Built with

What I learned and continuous development

This was quick and small project. Just to practice more of styled components.

Installation

Clone the repo

cd advice-generator-app-react
yarn
yarn dev

# Open `http://localhost:3000` to view it in the browser

Available Scripts

# Run the app in development mode
yarn dev

# Build the app for production tto the `dist` folder
yarn build

# Preview the production build from the `dist` folder
yarn preview

Useful resources

ViteJS - https://vitejs.dev/guide/#scaffolding-your-first-vite-project