Random Quote Machine
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 - 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');
}) }
Developer | Kenny Mark |
Username | kennymark |
Uploaded | September 28, 2022 |
Rating | 3 |
Size | 3,891 Kb |
Views | 18,216 |
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!
Name | Size |
FseRec | 7,122 Kb |
Modal Thingy | 3,590 Kb |
Contact page 2.0 | 3,367 Kb |
Twitter Todo List | 2,792 Kb |
Davon | 2,784 Kb |
FSE Homepage | 2,173 Kb |
Background Randomizer | 1,818 Kb |
Shopping | 3,852 Kb |
Contact | 1,703 Kb |
Blog Post M | 3,964 Kb |
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!
Name | Username | Size |
Basic HTML5 Structure | YuvarajTana | 1,289 Kb |
Video mute | Leon9208 | 2,131 Kb |
Particle Motion trajectories | Sniejadlik | 5,899 Kb |
Addthis_button | Esambino | 1,691 Kb |
Brown by pure CSS, no image, no javascript | Aaronchuo | 2,652 Kb |
Polygon Logo in CSS | Kai | 3,412 Kb |
Cofee and sugar | Tripack | 2,094 Kb |
Import shader in three.js | Khangeldy | 2,636 Kb |
Mostly Fluid | Mccreath | 3,308 Kb |
CSS Infinite 360 | APinix | 5,564 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!