Question: JavaScript In order to keep the Computer objects portable to other web pages, you are to create a method named showInfo() on the Computer objects

JavaScript

In order to keep the Computer objects portable to other web pages, you are to create a method named showInfo() on the Computer objects that takes in five strings, representing the ID attributes of HTML elements that will display the various Computer properties. For example, if you have a variable named myComputer containing a Computer object, you would call:

myComputer.showInfo("nameID", "manufID", "descID", "imgID", "ramID");

where nameID, manufID, descID, imgID, and ramID are the id attributes of various elements in the web page.

Can someone help me with this I don't know what I am suppose to do.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!