Lab2 - Lab 2: Javascript andUser Interaction By the end of...

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

View Full Document Right Arrow Icon
Lab 2: Javascript andUser Interaction By the end of this lab, you will: 1. Be able to incorporate JavaScript in html documents 2. Get input from user 3. Produce output 4. Produce a textbox and button element 5. Compute arithmetic equations based on user input Go to Coursesite into the lab folder and download two executable files and save to your desktop. 1. Aptana_Studio_3_Setup_3.0.4.exe 2. Firefox_Setup_6.0.1.exe Once on your desktop double click on each of the executable files which will download FireFox 6.0.1 and an IDE for HTML Aptana Studio 3. Open up Aptana by going to the start button/program files/Appcelerator/Aptana Studio 3. Once in Aptana go to File/open file/ and open your calculator.html file. Modify your calculator.html file so that it appears as displayed below. By doing the following: 1. Add a second text box that will allow the user to enter a percentage for the tip rather than keeping it fixed at 18%. The user should enter a tip percentage as a whole number and not a fraction. 2.
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 / 3

Lab2 - Lab 2: Javascript andUser Interaction By the end of...

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