|
Karen Korstad
MirCosta College
|
Home | Contact Information | Links | Java-Class Projects |
Java Class for Fall 2007 Homework & Projects
This is a collection of homework & projects for CIS 138 JavaScript. I am taking this class online at Palomar College for the Fall 2007 Semester.
Project 10 - Turned in 12/6/07
A form with validation
Project 9 - Turned in 12/5/07
A quizz with a timer - Chapter 7 project with a timer that starts on page load, and stops when the quizz is submitted. It then displays how long a user took on the quizz.
Project 8 - Turned in on 11/20/07 - Due 11/30/07
Palindrome Express - Checks to see if what a user entered is a Palindrome or not.
Chapter 7 - Project Example
Frames Review - This is a review of how frames go together w/ some basic Javascript alert boxes telling you were you are.
Project #7 - Turned in 11/7/2007
Project #7 - A form with questions. When a user clicks the score button it checks the answers and totals the # correct.
Chapter 6 Project Examples
- Chapter 6 - Example 1 - 3 forms, and this goes through them in the forms array and displays and alert of the form's name.
- Chapter 6 - Example 2 - A button you click that tells you how many times you clicked it - this program changes the button value.
- Chapter 6 - Teacher Example 1 - Just a basic form with a text box to type in.
- Chapter 6 - Teacher Example 2 - A form with a text box that changes when you click a button.
- Chapter 6 - Teacher Example 3 - A dropdown box you can select that will take you to a website.
- Chapter 6 - Example 3
- Chapter 6 - Example 4 - Enter Name and age, does some validation
- Chapter 6 - Example 5 - Event Watching
Project #6 - Turned in 10/17/2007
Project #6 - Images that can be selected. Initial image only displays when you first load this page.
Chapter 5 Project Examples
- Chapter 5 - Example 1 - Updates the status bar of your browser (your security settings on your browser have to be low for this to work.
- Chapter 5 - Example 2 - Changes the background color of the screen based based on your screen color depth.
- Chapter 5 - Example 3 - The images array
- Chapter 5 - Example 4 - Links that call Functions
- Chapter 5- Teacher Example -- The Navigator Object. This will tell you what browser you are using and versions.
Chapter 4 Project Examples
- Chapter 4 - Example 1 - Using charCodeAt() and charAt() to evaluate 1st letter of input string as uppercase, lowercase, or number.
- Chapter 4 - Example 2 - Using .indexof to find strings of data in a string
- Chapter 4 - Example 2.2 - Using substr() and substring() - This example looks at a webpage and gives you the file name
- Chapter 4 - Example 4 - Take a number such as 2.3456 and making it just the number of decimal places you want.
- Chapter 4 - Example 6 - Date and time example.
- Chapter 4 - Example 7 - Getting the time and displaying it on a webpage. With Good morning, evening,etc.
Project # 5 - Due 10/5 - Turned in 10/1/07
Project # 5 - Same as 4 but using Multi dimensial arrays and a function for switching letter grade to a number.
Project # 4 - Due 9/28/07 -- Turned in 9/25/07
Project #4 - Grade Point Average Calculator using a loop
Project #3 - Due 9/21/07 - Turned in 9/17/07
Project #3 - Payroll Calculator
Project #2 - Due 9/14/2007 - Turned in 9/9/2007
Project 2 - Displaying todays date with arrays.
Chapter 3 - Week 4 - 9/10/2007
- Chapter 3 - Example 1 - Using an If statement to display text based on output.
- Chapter 3 - Example 2 - If statements to evaluate ages and display text. (Boolan)
- Chapter 3 - Example 3 - The switch statement
- Chapter 3 - Example 4 - Loops
- Chapter 3 - Function Example - Beg Function.
- Chapter 3 - Example 5 - Changing example 4 to run with the use of Functions
- Chapter 3 - Trivia Quiz - Tasks for trivia quiz from chapter 3
Project #1 - Due 9/7/2007 - Turned in 9/4/2007
Project #1- A web page that uses JavaScript to calculate the total amount that a driver spent on gasoline last year.
Chapter 2 - Week 2 & 3 8/24 & 9/3
- Chapter 2 - Example 1 - Declaring Variables
- Chapter 2 - Example 2 - Assigning Variables the Values of Other Variables
- Chapter 2 - Page 35 - Addition
- Chapter 2 - Example 3 - Division Examples
- Chapter 2 - Example 4 - Fahrenheit to Celsius
- Chapter 2 - Example 5 - Concatenate Data together with User Entry box.
- Chapter 2 - Example 6 - Adding Strings together for display of Fahrenheit to Celsius
- Chapter 2 - Example 7 - Converting String to Numbers
- Chapter 2 - Example 8 - Arrays
- Chapter 2 - Example 9 - MultiDimensional Arrays
- Trivia Quiz - Chapter 2 tasks.
- Chapter 2 - Question 2 - Had to convert strings to numbers to make this work.
Chapter 1 - Week 1 - 8/20/2007
- Chapter 1 - Example 1 - This will change the page from white to red
- Chapter 1 - Example 2 - This demonstrates Script Blocking with pop-up boxes
