sridarshan-webjava / advice-generator

Frontendmentor Challenge - Advice Generator application using HTML, CSS, JS and Advice API

Home Page:https://advice-generator.pages.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  • See a loading animation when response is delayed upon clicking the button

Screenshot

  • Initial state (default advice text)
  • Hover state (when hovering over the button)
  • Loading animation (displayed upon delay in response)
  • Final state (after response is received and data is populated)

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • CSS Animations
  • Mobile-first workflow
  • Async JavaScript (async await)
  • Advice API (for API calls)

Author

About

Frontendmentor Challenge - Advice Generator application using HTML, CSS, JS and Advice API

https://advice-generator.pages.dev/


Languages

Language:CSS 55.7%Language:JavaScript 23.8%Language:HTML 20.5%