mmubashshir / advice-generator

a random advice generator build using advice slip API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Advice generator app solution

Links

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

My process

Built with

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

What I learned

I learnt how to call the API using async/await function's and call the url using fetch API. I made a custom div i.e the dice icon as a clickable button, was not sure initially about its working. Anyways it was fun building it.

Continued development

I would like to continue improving my HTML/CSS but mean time i would also like to build full stack websites involving Databases like MongoDB. Morever i would like to get familiar with react,redux and nextJS like frameworks.

Useful resources

Author

About

a random advice generator build using advice slip API


Languages

Language:CSS 51.8%Language:HTML 35.7%Language:JavaScript 12.5%