{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

Info icon This 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”
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern