JavaScript (2)
JavaScript (2)
individual assignment
Same concepts as the last assignment. This assignment reinforces those concepts.
Same tutorials as the last assignment.
Use Photoshop or GIMP to create three images that implement a button. When your button is inactive it should show a large number 3. When the mouse hovers over your button the image should change to the same number 3 in a brighter color. When your button is pressed it should change to a -5 (minus 5). When your button is clicked it should used document.write() to add all of the numbers that are multiples of 3 between 0 and 300 to the bottom of your web page. It should exclude any multiples of 5. For example "0, 3, 6, 9, 12, 18, 21, 24, 27, 33 ... ". It should only do this once. On the second and any subsequent clicks your button should pop-up an alert dialog that says "No More". You should draw your own images rather than downloading them with Google.