[Feedback] Random Quote Machine

[Feedback] Random Quote Machine
0

#1

Hey guys,

I am a little behind in sharing my projects but I would like to get feedback on my Build a Random Quote Machine app.

I wanted to theme my Quote Machine after a game called Heroes of the Storm so I created an array for the quotes rather than use an API (because one doesn’t exist as far as I know).

You can find the CodePen here: https://codepen.io/Alebeard/full/goXwyb/

Thanks in advance!

Lee


#2

It looks great! The only coding simplification I would suggest is change:

    $(".button").on("click", function () {
        getQuote();
    });

to

$(".button").on("click", getQuote);

#3

Awesome! Thanks for the tip.