Lab 15
In this lab we had to create a real time clock and and keynotes that would play audio and show a working clock. To start you have to create multiple div tags for each part of the lab. Such as a div with the id hour-hand, sec-hand and min-hand. In the css you would customize the properties of div by adding a length, height, color and origin from where it's going to rotate from. In addition, javascript is needed so that the your can add function for the time and give them variables so that certain actions take place when something happens. An example would be to give the hands a way rotate in a certain way and cause an effect when it rotates 360 degrees.
For the keynotes we used the tags audio and we set a data-key so that it's targets a certain object. We also had to download Mp3 files so that on click the audio would be heard. In addition we used CSS for the audio tags so that they look more appealing to click on rather than just plain old text.
For the keynotes we used the tags audio and we set a data-key so that it's targets a certain object. We also had to download Mp3 files so that on click the audio would be heard. In addition we used CSS for the audio tags so that they look more appealing to click on rather than just plain old text.

Comments
Post a Comment