Write methods which display variables assigned values

Assignment Help Programming Languages
Reference no: EM13935848

Individual Web Page 1 Assignment: Design, code, document and test one Web page which includes:

• Multiple data types (incl. Numeric, Boolean, String and Array)

• Multiple operators

• write methods which display variables assigned values and operators results

• All this in scripts and at least one external .js JavaScript source file

• Enclose script code within a <script> element within a CDATA section and hide from incompatible browsers.

• Some presentation/display/formatting (style, color, font, etc.) using each of the following:

- Inline CSS

-Internal CSS

- An external CSS file.

Note: No global variables.

CODING STANDARD FOR WEB PAGES

The following Coding Standards will be used in all your web pages.

• Well formed and Valid template

• Minimum Required Documentation

• Test Data and Expected Results

• Coding Style

Well formed and valid template

To aid in insuring that your web pages are "well formed and valid", I am requiring that you use the following template.
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<!-- required "top comments" -->

<head>
<title>your document title</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
</body>
</html>
Minimum Required Documentation

For each file, please add these required comments directly above the <head> tag for each HTML document/file and at the very top for all other related text documents/files. Replace the <!-- required "top comments" --> from the template above with the information request below.

• AUTHOR

• DATE

• FILENAME

• REVISION HISTORY (at a minimum note the version number - better to provide a summary of changes since the last submission)

• What EDITOR you USED to create the page/program.

• A LIST OF ALL MY REQUIREMENTS for each program. Indicate any of them not implemented. PROVIDE (Also provide an accompanying INLINE COMMENT WHICH FLAGS EACH OF THESE REQUIREMENT IMPLEMENTATIONS (it is often difficult to find your implementation).
Test Data and Expected Results

• A web page can produce output but it needs to be the "expected results". Where the code in your Web page is not "self-documenting", include comments in the Web page, or in a separate "readme" text file, which provide reasonable test data and expected results.
Coding Style

• Be CONSISTENT.

• Name the initial web page index.htm and give any other pages meaningful names.

• Use meaningful VARIABLE names -- NOT x, y, a, etc.

• Limit all lines in code to less than 80 character (screen width).

• Use BLANK LINES to separate sections of the page/program and improve readability.

• Arrange BRACES for ease of seeing matching pairs (JavaScript).

• CAPITALIZE the names of CONSTANTS (JavaScript).

• INDENT subordinate statements, much like an outline (and don't indent if a statement is not subordinate) (JavaScript).

• Essentially follow the coding style in the texts.

Individual Web page 2, Expanded Web Site: Design, code, document and test a Web page with:

• Functions which include:

- An array of two elements and a loop that displays the array values

-An if..else

- A switch with break statements and default statement

-A for loop

-A while loop

- A window.alert() method

• At least one function which uses an argument and returns a value.

• All functions in scripts.

Attachment:- Initial web page index1.zip

Reference no: EM13935848

Questions Cloud

Create a new excel 2013 spreadsheet : Create a new Excel 2013 spreadsheet, name it "Excel 2013 project 3" and follow these steps to include the following:
Based on the limited information available : Note that under kill costing, the company is showing a substantial loss in 2011. Based on the limited information available, does it appear that the company should get out of the tractor business?
Discuss metabolic requirements for growth of each microbe : Discuss the metabolic requirements for growth of each microbe and select one antibiotic (bacteria), antiviral (virus) or anti-fungal (fungi) agent, depending on the pathogens that you selected.
Discuss the role of the immune system in protecting the body : Discuss the role of the immune system in protecting the body from the pathogenic and non-pathogenic microbes selected in Module 1 and 2.
Write methods which display variables assigned values : write methods which display variables assigned values and operators results
Company should get out of the golf club business : Note that under full costing, the company is showing a substantial loss in 2011. Based on the limited information available, does it appear that the company should get out of the golf club business?
Which arguments supported peer-reviewed scientific research : Which arguments are supported with peer-reviewed scientific research? In your search, did you find regions in the US where diseases that were once rare have resulted in outbreaks in communities who are predominantly against vaccination?
Innovation report focuses on an industry : TOPIC: INNOVATION The industry innovation report (1500 words) focuses on an industry and identifies components and players (competitors) in innovation ecosystem, recent developments and future prospect.
Review methodologies for design & development : Investigate the requirements for the system and produce a Requirements Specification. Review methodologies for design & development and select the most appropriate

Reviews

Write a Review

Programming Languages Questions & Answers

  Create a program to draw image of archery target

Assume that you have been hired to produce a program which draws the image of the archery target-or, if you prefer commercial applications, a logo for national department store.

  Write iterative program which finds largest number

Write the iterative program which finds largest number of McNuggets which cannot be bought in exact quantity. Your program must print the answer in the following format.

  Design program to ask user to enter amount of purchase

Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax.

  Write program to display companys payroll report in list box

Write down the program to display companys payroll report in list box. Program must read each employee's name, hourly rate, and hours worked from file and produce report.

  Write a short memo to the vice-president of production

Formulate a linear program that can be used to determine the optimal product mix for the chemical company. Specifically, do the following: Identify the decision variables (make sure that you specify the units for these variables). Specify the obje..

  Develop a simple program for inventory system

You have to develop a simple program for an inventory system. You can choose any type of business (ie: Medical supplies, bakery, grocery shop, florist etc.)

  Case study the realcobreadmaster1develop a master

case study the realcobreadmaster1.develop a master production schedule for the breadmaker. what do the projected ending

  Write down public static method using public interface

Using only public interface of UnorderedLinkedList class, write down a method: public static void reverse(UnorderedLinkedList staff) that reverses the entries in a linked list.

  Create test-methods for each operations

Write the methods to pass the tests. A significant portion of your score will be based on the effectiveness and thoroughness of your test-methods.

  Program to divide string based on some delimiter string

StringTokenizer is a class in the java.util library that can divide a String based on some delimiter String (a delimiter is a separator). If the instruction StringTokener st = new StringTokenizer.

  Object-oriented analysis and design

Object-Oriented Analysis and Design,  PART B-object-oriented design involves the steps 13-18:

  Is this an example of head or tail recursion

Referring to the code in Part 1, use the substitution model to illustrate what the result of calling (add1-iter '(1 2 3)) will be. Why is the list reversed ?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd