Create all of the content of this page and append it

Assignment Help Computer Engineering
Reference no: EM132169231

Using HTML and JavaScript.

For this assignment you should submit a single zip file that contains the following two files:

index.html

script.js

index.html should be a skeleton HTML page. So it should have the following tags:

doctype

html

head

meta

title

body

script

If you were to open index.html without including the associated JavaScript it should be entirely blank.

You should then use JavaScript to create all of the content of this page and append it to the body of the page. That content should include:

A 4x4 table

The top row should be a header row with header cells

The 4 header cells, from left to right should say "Header 1", "Header 2" ... "Header 4

The non header cells should contain their position. The upper left cell should contain the text "1, 1", the cell to its right "2, 1", the cell below it "1, 2" and so on.

4 directional buttons (up, down, left right)

A button labeled "Mark Cell"

When the page is loaded the upper left, non-header cell of the table should be 'selected'. This is denoted by it having a thicker border than the other cells. If you push the directional buttons other cells should be selected instead. So if you press the right button, cell 1,1 should no longer be selected and 2,1 should be selected instead.

If you are already on the top row and hit 'up' nothing should happen (you should not be able to move into the header cells). Likewise if you are all the way right and hit right or all the way at the bottom and hit down.

Hitting the "Mark Cell" button should permanently change the background of the selected cell to yellow. This should persist even after other cells are selected or marked.

Suggestion: If you are having a lot of trouble getting the page populated the way you want using JavaScript, just manually make the HTML so that you can continue to work on the rest of the assignment involving selecting and marking cells.

Note: When generating content for the page you will not get credit for simply using the innerHTML property of the body element to parse a string of HTML content. The purpose is to use the process of creating and appending element nodes to the document.

Reference no: EM132169231

Questions Cloud

Develop a form to allow a user to input a selection : Based upon the user's selection for a year, id number, or name, the data associated with the selection will be presented as separate web page.
Display finished results on the screen : Using an array of words, go through a text file and highlight all occurences of the words in the array and display finished results on the screen.
What is the running time of your algorithm : Design an algorithm that tests whether two given ordered trees are isomorphic. What is the running time of your algorithm?
Create an array that represents recommended ratings for user : Create an array that represents recommended ratings for the user. There should be 20 numbers in this array, one for each movie.
Create all of the content of this page and append it : You should then use JavaScript to create all of the content of this page and append it to the body of the page.
Create in your public html directory an html document : Create in your public_html directory an HTML document named l2p2.html to describe a table .
Create a text based version of the dice game : Using Java, create a text based version of the dice game 'Button Men'. No Special dice are allowed.
Write a one -page memo to the paralegal : Write a one -page memo to the paralegal, Ms.D.K. Jones, explaining the process you used to find the e-mail and password data.
Calculate and display charges for each order : A pizza restaurant would like a computer application to calculate and display charges for each order and total of sales for the day.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Match a name containing a capital letter followed

Write the following regular expressions. Test them with a script that reads a line from STDIN and prints "yes" if it matches and "no" if not.

  Evaluate the concept that it is becoming the new core of

evaluate the concept that it is becoming the new core of modern business. how might you justify or negate this

  Draw the parse tree for the given expression

Draw the parse tree for expression (A+B)•C+(D+E). Consider tree of Figure 4.2 as a forest that is to be represented as a binary tree. Draw that representation.

  How many procedure calls are use by recursive-descent parser

How many procedure calls are used by the recursive-descent parser to recognize a regular expression in terms of the number of concatenation?

  Would exported operations in provide any useful abstraction

Would the exported operations in provide any useful abstraction when they are called by the module's clients? Why? Why not?

  How do the issues affect the projects feasibility

What legal issues might arise from having only "digital signatures" or only electronic/paper copies of documents instead of physical documents? How do these issues affect the project's feasibility?

  What mips instruction will be executed

In a von Neumann architecture, groups of bits have no intrinsic meanings by themselves. What a bit pattern represents depends entirely on how it is used. Consider the following bit patterns expressed in hexadecimal notation.

  This database file should be saved as a zip file

Professional Litigation User Services (PLUS) is a company that designs all types of visual aids for judicial proceedings. Clients are usually private law firms, although the District Attorney's office has occasionally contracted for its services.

  Distinguish between logical addresses and physical addresses

What are the tasks that the OS must accomplish in order to manage the memory requirements .Distinguish between logical addresses and physical addresses.

  Identify the strengths and weaknesses of the process

Conduct research using the Internet on computer science research processes and problem solving. Answer the following: Identify the strengths and weaknesses of the process. Discuss which types of projects are most suitable for this process

  What criteria does your new strategy perform better or worse

Under what criteria does your new strategy perform better or worse than the strategy from this chapter?

  Explain why output given is not possible in an atomic memory

Explain why the output 011001 is not possible in an atomic memory multiprocessor system if individual program orders are preserved.

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