JQUERY
JQUERY
-Albert Einstein
<script>
$(document).ready(function() {
$("#changeButton").click(function() {
$("#text").text("Best Education Institute in India LIVEWIRE").css("color", "blue");
});
});
</script>
</body>
INTERMEDIATE LEVEL
PROGRAM (FADE EFFECT FOR
IMAGES)
#fadeButton {
<!DOCTYPE html> padding: 10px 20px;
<html lang="en"> font-size: 16px;
<head> cursor: pointer;
<meta charset="UTF-8"> }
<meta name="viewport" content="width=device-width, initial- </style>
scale=1.0"> </head>
<title>Image Fade Effect</title> <body>
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <button id="fadeButton">Fade In Images</button>
<style> <img id="RED" src="https://via.placeholder.com/300x200/FF5733/
body { FFFFFF?text=RED+PRIMARY" alt="RED">
display: flex; <img id="GREEN" src="https://via.placeholder.com/300x200/33FF57/
flex-direction: column; FFFFFF?text=GREEN+OPTION" alt="GREEN">
align-items: center; <img id="BLUE" src="https://via.placeholder.com/300x200/3357FF/
justify-content: center; FFFFFF?text=BLUE+NIETHER" alt="BLUE">
height: 100vh;
background-color: #f0f0f0; <script>
} $(document).ready(function() {
img { $("#fadeButton").click(function() {
width: 300px; $("img").each(function(index) {
height: auto; $(this).delay(index * 1000).fadeIn(1000);
margin: 10px; });
display: none; /* Initially hidden */ });
} });
EXPERT LEVEL PROGRAM
ARTICLE MANAGEMENT
EXERCISE FOR STUDENTS
(TO-DO LIST)
Objective:
Create an interactive to-do list using jQuery.
Instructions:
1. Create a list where users can add tasks.
2. Each task item should appear with a delete button.
3. Style and add animations as you wish.
THANK
YOU