File tree Expand file tree Collapse file tree 1 file changed +16
-12
lines changed
Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change 44 < meta charset ="UTF-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
66 < title > Image carousel</ title >
7- < link rel ="stylesheet " href ="style.css ">
87 < script defer src ="slideshow.js "> </ script >
8+ < link rel ="stylesheet " href ="style.css ">
99 </ head >
1010 < body >
11- < h1 > Image Carousel </ h1 >
11+ < img id =" carousel-img " src =" images/puppy1.jpg " alt =" puppy-pic " >
1212
13- < img id ="carousel-img " src ="./images/puppy1.jpg " alt ="puppy-pic " />
13+ < section aria-label ="Slideshow controls ">
14+ < h2 > Slideshow Controls</ h2 >
1415
15- < div class ="button-row ">
16- < button id ="backward-btn "> Backwards</ button >
17- < button id ="forward-btn "> Forward</ button >
18- </ div >
16+ <!-- Manual navigation buttons -->
17+ < div class ="controls ">
18+ < button id ="backward-btn "> Backwards</ button >
19+ < button id ="forward-btn "> Forward</ button >
20+ </ div >
1921
20- < div class ="button-row ">
21- < button id ="auto-backward "> Auto Backwards</ button >
22- < button id ="auto-forward "> Auto Forward</ button >
23- < button id ="stop "> Stop</ button >
24- </ div >
22+ <!-- Automatic navigation buttons -->
23+ < div class ="controls ">
24+ < button id ="auto-backward "> Auto Backwards</ button >
25+ < button id ="auto-forward "> Auto Forward</ button >
26+ < button id ="stop "> Stop</ button >
27+ </ div >
28+ </ section >
2529 </ body >
2630</ html >
You can’t perform that action at this time.
0 commit comments