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 a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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