Ex No: 8 | BANNER ADVERRTISEMENT |
---|---|
Aim: | To write a JavaScript code to implement banner advertisement that changes images every 10 seconds. |
Algorithm | |
Step1: Create a folder “Ex8” to place the HTML files. | |
Step2: Create HTML file “index.html”. | |
Step3: Create a folder "images" and place the banner images. | |
Step4: Add JavaScript code to change banner image evert 10 seconds. | |
Source Code | |
index.html
|
|
Result: | Thus JavaScript code is written to implement banner advertisement. |