Lab3 - Lab 3: JavaScript and Functions By the end of this...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Lab 3: JavaScript and Functions By the end of this lab, you will: 1. Using predefined functions in javascript 2. Create user defined functions 3. Add images using javascript 4. Count Dice Rolls Open your round1.html that you created for homework. Create a method called rounder and place the algorithm you developed for the “Round it” button in the rounder function. Next call the rounder function in the onclick area of the button. Save this file as round1.html. In order to create the webpage below do the following steps: 1. Create a folder on your desktop called lab3 2. Login to coursesite and download and save the six “gif” files, die1, die2, die3, die4, die5, and die6 and place them into the lab3 folder. 3. Create a file in Aptana called die.html and save it to the lab3 folder on your desktop. 4. Copy the code below into die.html and make sure the webpage works correctly. In order for the webpage to work correctly when you click the “Click to Roll”
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/09/2012 for the course BIO 1 taught by Professor Smith during the Spring '11 term at Cuyahoga CC.

Page1 / 7

Lab3 - Lab 3: JavaScript and Functions By the end of this...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online