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

  Write program to prints formatted table of windchill values

Write a program which prints nicely formatted table of windchill values. Rows must represent wind speed for 0 to 50 in 5 mph increments.

  Write program that asks user to enter current value

Write a program which asks the user to enter the current value of a car. For new car, it is selling price of car. The program must display number of years it takes for the car's trade-in value to be below $1000.

  Program-compute monthly interest-print next balance for sav

Set annual interest rate to 4% then compute monthly interest and print next balance for both savers. Then set annual interest rate 5%. Compute next month interest and print next balance for both savers.

  Prepare a program that takes the data from triangle

Prepare a program that takes the data from triangle.txt (supplied in this folder) and outputs a message indicating whether the triangle is a right triangle. The text file has data for three triangles.

  Design a website by using php and mysql to order pizza

Your task for this project is to design a website by using PHP and Mysqlto order pizza - A website with a complete catalog of pizzas with possible add-on options and customers should be able to prepare and customize an order as per their preference..

  Function named quadratic that receives three parameters

Write the definition of a function named quadratic that receives three double parameters a , b , c . If the value of a is 0 then the function prints the message "no solution for a=0" and returns.

  Write a program that prompts the user to enter the mass

Write a program that prompts the user to enter the mass of a person in kilograms and outputs the equivalent weight in pounds. Output both the mass and the weight rounded to two decimal places

  Write script to inputs five number and finds negative number

Write down the script which inputs five number and finds out and outputs XHTML text which displays number of negative numbers input.

  Write a number guessing game program

Write a number guessing game program. The program will first generate a random number from 1 to 100. Then, the user guesses a number and the game will report whether the guess is too low or too high.

  What professional organizations might you join and websites

a write a 200- to 300-word short-answer response to the followingwhat professional organizations might you join and

  Write an assembly program that computes factorial

Write an assembly program that computes f(1), f(2), f(3),..., and f(10). Note that n! is defined as follows: or . Also, note that 1! = 0! = 1.

  Write a perl program that performs show current date

Write a Perl program that performs the following tasks: Generate a menu to ask the user for the task that he or she would like to see performed. The available tasks are as follows: Show current date and time

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