Skip to content

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

Notifications You must be signed in to change notification settings

alinmercasi/advice-generator-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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

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

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • CSS Transitions

What I learned

  • I understood better how asynchronous javascript work

Continued development

  • Practice more on javascript, especially asynchronous js and dom manipulation

For this project

  • Make a custom function to fetch a random advice different from previous one
    • I don't know how to tackle it yet. Maybe using a function which generates a random id different from the previous one then fetching the advice by that id?

Author

About

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

Topics

Resources

Stars

Watchers

Forks