My First JavaScript Exercise

Size
1,622 Kb
Views
26,312

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 Previews

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");
}
My First JavaScript Exercise - Script Codes
My First JavaScript Exercise - Script Codes
Home Page Home
Developer Angela Velasquez
Username AngelaVelasquez
Uploaded September 07, 2022
Rating 3
Size 1,622 Kb
Views 26,312
Do you need developer help for My First JavaScript Exercise?

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!

Angela Velasquez (AngelaVelasquez) Script Codes
Create amazing love letters 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!