Random Quote Machine - Welcome Feedback

Random Quote Machine - Welcome Feedback
0.0 0

#1

This my Quote Machine project:


#2

You can replace:

      $("#quote-text").animate({
          opacity: 0
        }, 500,
        function() {
          $(this).animate({
            opacity: 1
          }, 500);
          $(this).text(currentQuote);
        });
      
      $("#quote-author").animate({
          opacity: 0
        }, 500,
        function() {
          $(this).animate({
            opacity: 1
          }, 500);
          $(this).text(currentAuthor);
        });

with

      $("#quote-text, #quote-author").animate({opacity: 0}, 500, function() {
        $(this).animate({opacity: 1}, 500);
        $(this).text(currentQuote);
      });