Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Embedding the Presidents

1. Create a web page that shows presidents by century. Keep it simple!

2. Load the USPresidents.xml through JavaScript. Leverage the ict4540min.js unless you are a JavaScript whiz! The zip file is here: ict4540JS.zip

3. Append a div under body with an id representing the century it represents. Note that you can do this physically in the file, although it is possible to do this programmatically as well.

4. For each century, include a heading of some sort that names the century, and include the count of Presidents for that century.

5. Place the result for each century in the correct div. Use the document.getElementById to find the right div (or create it on the fly).

6. The year the President came to office, the year the President left office, the President's party, should be displayed

7. Use CSS only to style the display attractively.

8. Optional: The party affiliation should color the text or background of the table cell (or row, if you prefer) for that President.

Optional: Perform the same action as in Problem I, but use the JSON data source instead of the XML data source. Be sure to use the DOM's Javascript API to add the elements and attributes to the DOM.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91610377

Have any Question?


Related Questions in Computer Engineering

Questionhow can you start business by mobile application

Question How can you start business by Mobile Application Development ? Discuss the testing process of Mobile Applications in detail ? List important steps for publishing an app in the Target Market ?

The gravitational attraction between any two objects in the

The gravitational attraction between any two objects in the universe is given by the following formula: Force of Gravity = (G * m * n) / r 2 Where  m  and  n  are masses of the objects in kilograms,  r  is the distance b ...

Case study the acme corporation is a new startup that

Case Study: The Acme Corporation is a new startup that wishes to sale their new phone to the public called Acmephone, a more secure version of the phone to business organizations, called the Acmephone B+, and highly secu ...

Question suppose you are tasked with designing the security

Question : Suppose you are tasked with designing the security system for a new web browser that supports rendering web pages with embedded web page scripts. What checks would you need to implement to ensure that executin ...

We live in kapurkua a small island in the mediterranean

We live in Kapurkua, a small island in the mediterranean between Greece and Spain (no, it doesn't really exist so don't look it up in the map). In the island we produce and consume canoes, latreks (a garment that is comf ...

A five question multiple choice statistics quiz is given

A five question multiple choice statistics quiz is given. Each question has 3 possible choices, only one of which is correct. calculate the probability that of receiving a passing grade on the quiz, by randomly guessing ...

How to response to those 3 following questionsrational

How to response to those 3 following questions Rational Agent ( Artificiall intellegence) 1. There can be more than one agent program that implements a given agent function. (If you agree, provide an example; otherwise a ...

Explain the risk of having hacking tools installed on your

Explain the risk of having hacking tools installed on your computer and why you should contact local law enforcement agencies before installing those tools.

For the following reactionnbsp199nbspgrams ofnbspcarbon

For the following reaction,  19.9  grams of  carbon monoxide  are allowed to react with  14.4  grams of  oxygen gas . Carbon monoxide  ( g ) +  oxygen  ( g )  ------>  carbon dioxide  ( g ) What is the maximum amount of  ...

In powerpoint what is beneficial about the usage or video

In Powerpoint, what is beneficial about the usage or Video, Audio, Animation, and Photos with Effects during presentation and work. What are some useful tools you found that would improve performance?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As