Random Quote Machine

Developer
Size
3,891 Kb
Views
18,216

How do I make an random quote machine?

What is a random quote machine? How do you make a random quote machine? This script and codes were developed by Kenny Mark on 28 September 2022, Wednesday.

Random Quote Machine Previews

Random Quote Machine - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Random Quote Machine</title> <meta name="viewport" content="width=device-width, initial-scale=1">
<script src="//use.edgefonts.net/poiret-one;muli.js"></script> <link rel='stylesheet prefetch' href='http://cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.3/animate.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <div class="overlay"> </div> <div class="content"> <h1>Bob Marley Quote Manchine</h1> <div class="desc"> <p> </p> </div> <div class="quotebox"> </div> <center> <input type="button" value="New Quote" class="newquote" onclick="randomize()"/> </center> </div>
</body> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Random Quote Machine - Script Codes CSS Codes

* { margin: 0; padding: 0;
}
body { overflow: hidden; background-image: url(http://aetherforce.com/wp-content/uploads/2014/10/bob_marley_by_jamesf63-d4za6s2.jpg); background-size: cover; width: 100%; height: 100%; background-repeat: no-repeat; font-family: muli;
}
.overlay { background-color: #CF4646; height: 100vh; position: relative; top: 0; bottom: 0; z-index: 1; opacity: .9;
}
.content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
}
.content h1 { color: white; margin-top: -50px; text-align: center;
}
.content input { align-self: flex-end; font-family: muli, sans-serif; font-size: 19px; padding: 10px; outline: none; border: 3px solid white; background: #DF4646; color: white; cursor: pointer; margin-top: 60px; transition: all .2s ease-in-out;
}
.content input:hover { background: #dd3939; border: 2px solid white; box-shadow: 3px 3px 2px white;
}
.content input:active { background: #ce2424; border: 1px solid white; box-shadow: 3px 3px 2px #e6e6e6;
}
.quotebox { padding: 10px; border: 5px solid white; margin-top: 190px; color: #e6e6e6; font-size: 19px; transition: all .3s ease-in; text-align: center;
}
@media (max-width: 450px) { .quotebox { padding: 10px; border: 3px solid white; margin-top: -10px; } .content h1 { margin-top: -20px; margin-bottom: 40px; text-align: center; } .content input { margin-top: 45px; } .content { width: 90%; }
}

Random Quote Machine - Script Codes JS Codes

 var quotes = ["Truth is everybody is going to hurt you: you just gotta find the ones worth suffering for", "One good thing about music, when it hits you, you feel no pain", "Open your eyes, look within. Are you satisfied with the life you're living?", "Don't gain the world and lose your soul; wisdom is better than silver or gold.",
"My future is righteousness.", "I've been here before and will come again, but I'm not going this trip through.","None but ourselves can free our minds.","If you get down and quarell everyday, you're saying prayers to the devil, I say.", "You have to be someone.","Man is a universe within himself.","Tell the children the truth.",
"When one door is closed, don't you know, another is open.", "The more people smoke herb, the more Babylon fall.","When you smoke the herb, it reveals you to yourself.","If you get down and quarell everyday, you're saying prayers to the devil, I say","Emancipate yourselves from mental slavery, none but ourselves can free our minds!","The good times of today, are the sad thoughts of tomorrow.","Better to die fighting for freedom then be a prisoner all the days of your life.","Wake up and live","Love would never leave us alone"
]; var random = quotes[Math.floor(Math.random() * quotes.length ) +1];
$('.quotebox').text(random); $('.newquote').on('click', randomize)
function randomize(){ var random = quotes[Math.floor(Math.random() * quotes.length )];
$('.quotebox').text(random) .addClass('animated bounceIn') .one('webkitAnimationEnd animationend',function(){ $(this).removeClass('animated bounceIn');
}) }
Random Quote Machine - Script Codes
Random Quote Machine - Script Codes
Home Page Home
Developer Kenny Mark
Username kennymark
Uploaded September 28, 2022
Rating 3
Size 3,891 Kb
Views 18,216
Do you need developer help for Random Quote Machine?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Kenny Mark (kennymark) Script Codes
Name
FseRec
Modal Thingy
Contact page 2.0
Twitter Todo List
Davon
FSE Homepage
Background Randomizer
Shopping
Contact
Blog Post M
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!