WHOA!
How do I make an whoa!?
A flashing button with music symbols. Just because.. What is a whoa!? How do you make a whoa!? This script and codes were developed by Jeff Daze on 18 January 2023, Wednesday.
WHOA! - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>WHOA!</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <button id="mindBlown">♩WHOA!♬</button> <script src="js/index.js"></script>
</body>
</html>
WHOA! - Script Codes CSS Codes
#mindBlown{ color: #003; width: 200px; height: 50px; display:block; margin: 100px auto;
}
WHOA! - Script Codes JS Codes
setInterval(function(){ $("#mindBlown").style.backgroundColor = getColor();
});
//bind clicks to buttons...
$("#mindBlown").addEventListener('click', function() { $("#mindBlown").style.backgroundColor = getColor();
}, false);
function getColor(){ var hue = 'rgb(' + (Math.floor(Math.random() * 256)) + ',' + (Math.floor(Math.random() * 256)) + ',' + (Math.floor(Math.random() * 256)) + ')'; return hue;
}
//TAKE THAT jQuery!!
function $(selector){ return document.querySelector(selector);
}
Developer | Jeff Daze |
Username | jeffdaze |
Uploaded | January 18, 2023 |
Rating | 3 |
Size | 1,829 Kb |
Views | 8,096 |
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 |
Pulsing Button | 1,659 Kb |
Quick torus demo three.js | 1,894 Kb |
JS test and Box Shadow | 1,906 Kb |
Speed Reading | 6,553 Kb |
A Pen by Jeff Daze | 2,191 Kb |
An example of postMessage cross origin JS requests | 2,959 Kb |
Winter Scene | 2,739 Kb |
Code snippets for a Puyo clone | 2,363 Kb |
Transparent Gradient | 2,735 Kb |
Angular Drag Example | 2,497 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 |
FontAwesome icons with animation | Nicotinell | 2,083 Kb |
About Us | Francescaedits | 1,902 Kb |
IE11 Test | Boostnewmedia | 4,998 Kb |
Rows with image hover effect | Amit-webdesigner | 12,875 Kb |
Review test | Otro_user_gil | 4,054 Kb |
Hello People | Danburrows | 2,365 Kb |
Responsive Advert | James_zedd | 2,354 Kb |
Arrow Navigation | Hinducows | 1,973 Kb |
Animate a paper plane along an SVG path, looking ahead | PotatoDie | 3,734 Kb |
Freecodecamp - Tribute Page | Samoht513 | 3,583 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!