Skip to content

Commit b2d0202

Browse files
committed
add select your pet: index.html
1 parent db3e123 commit b2d0202

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

Select your Pet/index.html

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link
5+
rel="stylesheet"
6+
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
7+
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
8+
crossorigin="anonymous"
9+
/>
10+
<script
11+
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
12+
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
13+
crossorigin="anonymous"
14+
></script>
15+
<script
16+
src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
17+
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
18+
crossorigin="anonymous"
19+
></script>
20+
<script
21+
src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
22+
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
23+
crossorigin="anonymous"
24+
></script>
25+
<link rel="stylesheet" href="style.css" />
26+
</head>
27+
28+
<body>
29+
<div class="container">
30+
<div class="row">
31+
<div class="col-12 bg-container pt-4 pb-4 mt-4">
32+
<h1 class="text-center mb-3 heading">Select Your Pet</h1>
33+
<select id="petSelect" class="form-control">
34+
<option value="dog">Dog</option>
35+
<option value="cat">Cat</option>
36+
<option value="parrot">Parrot</option>
37+
<option value="spider">Spider</option>
38+
<option value="rabbit">Rabbit</option>
39+
</select>
40+
<div class="mt-4">
41+
<img
42+
id="petImg"
43+
src="https://d2clawv67efefq.cloudfront.net/ccbp-dynamic-webapps/select-your-pet-dog-img.png"
44+
alt="Pet Image"
45+
class="w-100"
46+
/>
47+
</div>
48+
</div>
49+
</div>
50+
</div>
51+
<script src="main.js"></script>
52+
</body>
53+
</html>

0 commit comments

Comments
 (0)