How do I create animations with jQuery

Learn how to create animations using jQuery by manipulating the CSS properties of HTML elements with ease. Incorporate dynamic effects to enhance your web pages!
jQuery, animations, CSS, effects, web development
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<style>
.box {
width: 100px;
height: 100px;
background-color: blue;
margin: 50px;
}
</style>
</head>
<body>
<div class="box"></div>
<button id="animateButton">Animate!</button>
<script>
$(document).ready(function() {
$("#animateButton").click(function() {
$(".box").animate({
width: "300px",
height: "300px",
opacity: 0.5
}, 1000);
});
});
</script>
</body>
</html>

jQuery animations CSS effects web development