Create a "Game Reviews" table that displays the image upon clicking each link. (Javascript and HTML)
$10-30 USD
Slutfört
Publicerad över sex år sedan
$10-30 USD
Betalning vid leverans
Create a web page that displays the result of some random game reviews. Upon clicking any of the links, the image for the game is displayed to the right of the table. See image for example.
There is a zip file that contains all of the images along with the document gameReview.html. Note that [login to view URL] contains some JSON that is parsed into an array of objects called reviews.
After the document is loaded, do the following:
Loop through the reviews array, and create a string that contains the tr and td tags for all of the games in the reviews array.
Create each of the links with a class review and a property data-img and set this property to the correct image.
Set the innerHTML property of the reviewsBody to this string that you generated.
Use [login to view URL] to get a reference to an array of all of the links.
Loop through this links array and add an event listener called selectReview for each of the links using addEventListener.
Within the function selectReview do the following:
Set the src property of the image gameImage to "images/" + [login to view URL];
Set the innerText property of the gameTitle to [login to view URL]
Preferable if completed by tomorrow (Monday). Thanks.
Hi there. I can create your "Game Reviews" table with display related image functionality within a couple of hours. Thanks
Relevant Skills and Experience
Javascript
Proposed Milestones
$25 USD - Final