Monday, May 17, 2010

Quiz 11 - Counting toward zero

Please read this quiz requirement on Special Project 2: http://jstutor.yolasite.com/s2.php
This quiz 11 contains both the count up and count down toward zero, the whole Special Assignment 2.

Quiz 10 - Counting down to zero

Please read this quiz requirement on Special Project 2: http://jstutor.yolasite.com/s2.php
This quiz 10 is the first part of the Special Assignment 2, you need only to have the counting down part of the code.

Wednesday, May 12, 2010

Quiz 9 Counting down seconds and due at non-zero second

Please read this quiz requirement on Special Project 1: http://jstutor.yolasite.com/s1.php
Unlike the Quiz 8, you need to pick a non-zero DUE SECOND, i.e. 1 - 59:

Monday, May 10, 2010

Quiz 8 - Counting Down Secnds

Please read this quiz requirement on Special Project 1: http://jstutor.yolasite.com/s1.php

Thursday, May 6, 2010

Extra Credit 7 - Javascript, Skip Counting

LABAR Extra Credit Project 7

This Extra Credit assignment 7, is an extended opportunity for creating a JavaScript function to skip counting, i.e. not to display, the odd numbers, based on the quiz 11. This project is to be done during your one hour lab by arrangement (LABAR).
The functionality of this assignment should perform:

  1. counting down positive integer number, if the number is greater than 10 start the count down from 10;
  2. counting up the negative integer number, if the number is less than -10 start the count up from -10;
  3. skip the odd number;
  4. stop the counting when zero is reached;
  5. do nothing if the entered number is not a positive or negative interger number.
The following is the finished example::


The following sample code performs:
  1. counting down positive integer number;
  2. skip (does not display) the odd number;
  3. stop the counting when zero is reached;
  4. do nothing if the entered number is not a positive interger number.


You are expected to complete the assignment based on the above working code.

Extra Credit 6 - HTML Form

LABAR Extra Credit Project 6
This Extra Credit assignment 6, is an extended opportunity for aligning an HTML form to a center line. It is a a common pratice to arrange the forom of two columns to be center aligned like the following example form. This project is to be done during your one hour lab by arrangement (LABAR).

In this assignment, you are to create an HTML form that contains the following 7 fields:
Title, Name, Home Address, Work Address, Home Phone, Work Phone, and Email Address.


This extra credit assignment to align the HTML Form to the center line like the following example:

Title:

Name:

Home Address:

Here is the above sample code:


Tuesday, May 4, 2010

Javascript Tutorial 1 - Introduction

JavaScript Tutorial

« DVC COMSC-100 Home Next Chapter »

JavaScript
JavaScript is THE scripting language of the Web.
JavaScript is used in millions of Web pages to add functionality, validate forms, detect browsers, and much more.

Examples in Each Chapter

This JavaScript tutorial contains interactive examples in each chapter!
With our online editor, you can edit the JavaScript code, and click on a button to view the result.



After edit the code below, then click to see the result.
Result:
Designed for DVC Comsc-100 1242/8263

Monday, May 3, 2010

Quiz 6 Flowchart to Javascript

The following numbered flowchart diagrams are to be transcribed into javascript in the corresponding answer fields:
 Example:

1











2









3












4










5















For quiz result please click this link: http://spreadsheets.google.com/pub?key=ti-VP5NIWjONodMfgwaQBbQ&output=html
 

comsc-100 Copyright © 2009 Gadget Blog is Designed by Ipietoon Sponsored by Online Business Journal