My First JavaScript Exercise
How do I make an my first javascript exercise?
What is a my first javascript exercise? How do you make a my first javascript exercise? This script and codes were developed by Angela Velasquez on 07 September 2022, Wednesday.
My First JavaScript Exercise - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>My First JavaScript Exercise</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1 class="title">Hello World</h1>
<button>Click me</button> <script src="js/index.js"></script>
</body>
</html>
My First JavaScript Exercise - Script Codes CSS Codes
.red { color: red;
}
My First JavaScript Exercise - Script Codes JS Codes
var title = document.querySelector(".title");
var testButton = document.querySelector("button");
testButton.onclick = function(){ console.log(title); title.classList.toggle("red");
}
Developer | Angela Velasquez |
Username | AngelaVelasquez |
Uploaded | September 07, 2022 |
Rating | 3 |
Size | 1,622 Kb |
Views | 26,312 |
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 |
Searchbox | 1,817 Kb |
CSS - Cat on a Plane | 2,774 Kb |
CSS Fruit Background - Bananas | 2,407 Kb |
Layout Theme | 3,896 Kb |
CSS radio buttons | 2,799 Kb |
CSS on hover effects | 2,689 Kb |
SVG Line Drawing | 2,768 Kb |
My Valentine | 3,353 Kb |
Pure css vertical menu | 2,310 Kb |
CSS - Cat with balloon | 2,849 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 |
Jquery 2d character movement | Drewtadams | 4,291 Kb |
Isometric css island | Xaddict | 2,950 Kb |
CSS Flip Animation | Bbodine1 | 2,525 Kb |
Scoreboard.js basic usage | Tbleckert | 1,733 Kb |
Animated Slide Hamburger Mobile Menu | BJack | 2,247 Kb |
Pure CSS candle light animation by One element | Ksksoft | 2,193 Kb |
Print element on a page | Mrs_snow | 2,081 Kb |
Basecamp 3 Document | Lachlanjc | 3,811 Kb |
Scifi-style Interative Form | Aaronchuo | 4,566 Kb |
Weather App | Kw7oe | 3,162 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!