Shapes in Motion
How do I make an shapes in motion?
What is a shapes in motion? How do you make a shapes in motion? This script and codes were developed by Lisakitty on 30 July 2022, Saturday.
Shapes in Motion - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Shapes in Motion</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Geometry</h1>
<div class="shape" id="circle" onmouseover="circleMouseOver()">MouseOver</div>
<div class="shape" id="square"oncontextmenu="squareRightClick()">RightClick</div>
<div class="shape" id="rectangle"onclick="onClick()">OnClick</div>
<div class="shape" id="oval">ClickHere</div> <script src="js/index.js"></script>
</body>
</html>
Shapes in Motion - Script Codes CSS Codes
#circle { width:100px; height:100px; background-color:lightskyblue; border-radius: 100%;
}
.shape { float: left; margin:20px; text-align:center; padding: 20px;
}
#square { width:100px; height:100px; background-color:lightskyblue;
}
#rectangle { width:200px; height:100px; background-color:lightskyblue;
} #oval{ width:175px; height:100px; background-color:lightskyblue; border-radius: 100%;
}
Shapes in Motion - Script Codes JS Codes
function circleMouseOver()
{ alert("Hello! I am a Circle. ") event.target.style.backgroundColor="purple";
}
function squareRightClick()
{ alert("Hello! I am a Square.") event.target.style.backgroundColor="purple";
}
function onClick()
{ alert("Hello! I am a Rectangle.") event.target.style.backgroundColor="purple";
}
function ovalClickHere()
{ alert("Hello! I am a ")
}
Developer | Lisakitty |
Username | Lisakitty |
Uploaded | July 30, 2022 |
Rating | 3 |
Size | 1,859 Kb |
Views | 52,624 |
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 |
MasterMind | 2,067 Kb |
Explosion | 1,830 Kb |
Black kitty forecast | 2,151 Kb |
Loading bar | 2,037 Kb |
Country flag | 1,724 Kb |
My programming projects | 1,368 Kb |
Square | 1,717 Kb |
Flags | 1,753 Kb |
Colorful Rectangle | 1,553 Kb |
Name Card | 1,698 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 |
HEXAGON | Aurumlux | 1,684 Kb |
Modal Dialog | Gigaleet | 2,251 Kb |
PNotify Demo | Adittmar | 1,731 Kb |
Local Weather App - FreeCodeCamp | TrevorWelch | 4,134 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
SCSS Unit Conversion | Jakob-e | 8,210 Kb |
Svg sky | Omodev | 7,070 Kb |
Nav Test -- cats 1 | Payls | 4,735 Kb |
Guidepopup | Wooljs | 3,747 Kb |
Reviews and Ratings Star | Zbnmstry | 1,591 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!