Skip to content

M-Ronny/advice-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advice Generator

Advice Generator generates random advice for your life.

How It's Made:

Tech used: HTML, CSS, JavaScript

Using an API and JavaScript, I add a function on the button to go and fetch the api and return a random advice to display for users to see, and each time the button is clicked, the original advice gets replaced with a new advice to display.

Lessons Learned:

I learned how APIs work and how to retrieve data using the fetch method and display it on the screen.

Examples:

Take a look at these couple examples that I have in my own portfolio:

Entertainment Watchlist: https://github.com/M-Ronny/entertainment-watchlist

Film Trivia: https://github.com/M-Ronny/film-trivia

Dictionary: https://github.com/M-Ronny/dictionary

About

Advice Generator generates random advice for your life.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors