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

  Discuss viruses and other malicious codes

Explain the key differences between viruses and other malicious codes. Identify at least three (3) different types of viruses

  Determine technology which has changed cafe,coffee shop

Determine technology which has changed cafe,coffee shop? Think things such as marketing, food preparation, inventory ordering or re-ordering, customer tracking, and more.

  How many bytes will be required to store the text

If one printed character can be stored in 1 byte, approximately how many bytes will be required to store the text of this chapter?

  Define four phases of an information system''s life cycle

What are the 4 phases of an information system's life cycle? The business process of building and managing information system has four phases. These phases apply to all information systems although different systems may be acquired using different..

  Explain the specifics of the event including date

explain the specifics of the event including date, time, location, charity event, and organization in a 1-2 page flyer. Also, include some sort of history or explanation for the purpose of the event.

  Given an operating system that supports a one - to -one

given an operating system that supports a one - to -one relationship between user-level threads and kernel - level

  Make use the vb.net programming to write statement

imagine that the array has a data type of frmMdiChildList having subscripts from 0 to 9. Configure the forms so that they appear as child forms of the MDI parent form named frmMdiParent.

  How to perform path compression on a path of length h

Describe, in pseudo-code, how to perform path compression on a path of length h in O(h) time in a tree-based partition union/find structure.

  Design a visual studio.net 2005

Add a Menu control and a Label control to the form. Populate the Menu control with data stored in the "Font" column and display your name in Label control (Barnes). Write down an event-handler that changes the font type in the Label control based o..

  Locate a single product and display its name

Understand the concepts cohesion, and how it can be used to decompose problem definition into separate components(classes).

  Build java application that implements use of an int array

build a Java application that implements use of an int array. Use for loops to iterate by the array using the array's length variable to stay within the array bounds. Fill the array with random numbers and print the array.

  What is the publisher trying to optimize

A small magazine publisher wants to determine the best combination of two possible magazines to print for the month of July. Backyard magazine, which he has published for years, is a steady seller. The publisher wants to make sure he prints at lea..

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