-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExperiment07.html
64 lines (64 loc) · 3.83 KB
/
Experiment07.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Experiment 7</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link rel="stylesheet" href="Experiment07.css">
<script src="Experiment07.js"></script>
</head>
<body class="bg-dark">
<h1 class="text-center p-5 text-light">EXPERIMENT 7</h1>
<hr class="border border-light border-2 opacity-50">
<section id="Q1">
<h3 class="text-center text-white bg mt-5 pb-5">1. Car Moving Animation with jQuery</h3>
<div>
<img src="start.jpg" class="start" alt="track-img">
<img src="finish.jpg" class="finish" alt="track-img">
<img id="car" class="m-4" src="https://i.postimg.cc/BvDGP3sy/car.webp" height="50" width="160" alt="car-img">
</div>
</section>
<hr class="border border-light border-2 opacity-50 mt-5">
<section id="Q2">
<h3 class="text-center text-white bg p-5">2. Append and Prepend</h3>
<div class="text-center ">
<button class="btn btn-outline-light m-5" id="at" >Append Text</button>
<button class="btn btn-outline-light m-5" id="al">Append to List</button>
<button class="btn btn-outline-light m-5" id="pt" >Prepend Text</button>
<button class="btn btn-outline-light m-5" id="pl">Prepend to List</button>
<button class="btn btn-outline-light m-5" id="rl">Reset</button>
</div>
<p class="text-primary text-center" id="txt">Hey Guys! This is Jason</p>
<ul class="text-primary list-group-numbered text-center" id="lst">
<li class="list-group-item">Galadriel</li>
<li class="list-group-item">Elrond</li>
<li class="list-group-item">Sauron</li>
</ul>
<hr class="border border-light border-2 opacity-50">
</section>
<section id="Q3" class="bg-white">
<h3 class="text-center text-white bg mt-5">3. Car Workshop</h3>
<div class="container text-center">
<h2>Trapezoid CSS</h2>
<div class="trapezoid"></div>
<div class="rectangle "></div>
<div class="tyre">
<div class="circle me-5"></div>
<div class="circle"></div>
</div>
<div>
<button class="btn btn-light m-5" id="gc">Change Glass Color</button>
<button class="btn btn-light m-5" id="bc">Change Body Color</button>
<button class="btn btn-light m-5" id="ti">Tyre Size Increase</button>
<button class="btn btn-light m-5" id="td">Tyre Size Decrease</button>
<button class="btn btn-light m-5" id="rl1">Reset</button>
</div>
</div>
<hr class="border border-light border-2 opacity-50">
</section>
</body>
</html>