JS Shananigans

Developer
Size
1,755 Kb
Views
20,240

How do I make an js shananigans?

What is a js shananigans? How do you make a js shananigans? This script and codes were developed by Joe Warren on 06 December 2022, Tuesday.

JS Shananigans Previews

JS Shananigans - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>JS Shananigans</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <html> <head> <title></title> </head> <body> <h1>JavaScript Shananigans</h1> <h3>Here we go!</h3> <hr> <button>Click Me</button> </body>
</html> <script src="js/index.js"></script>
</body>
</html>

JS Shananigans - Script Codes CSS Codes

body { width: 50%; margin: 0 auto;
}
.colorChange { color: blue;
}

JS Shananigans - Script Codes JS Codes

var userName = prompt("What is your name?");
console.log("Username: " + userName);
document.write("Right, so your name is " + userName + ".");
var button = document.querySelector('button');
var h1 = document.querySelector('h1');
button.addEventListener('click', function(){ h1.classList.toggle('colorChange');
})
JS Shananigans - Script Codes
JS Shananigans - Script Codes
Home Page Home
Developer Joe Warren
Username MightyJoeW
Uploaded December 06, 2022
Rating 3
Size 1,755 Kb
Views 20,240
Do you need developer help for JS Shananigans?

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!

Joe Warren (MightyJoeW) Script Codes
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!