Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Only Edit Photos.js and Zoom.js ONLY using JavaScript. If you can please! Here is a link where you can get the program FILES NEEDED TO

Only Edit Photos.js and Zoom.js ONLY using JavaScript.If you can please!

Here is a link where you can get the program FILES NEEDED TO WORK:

https://mega.nz/folder/M6QV3IBC#a9PwpyGRDnHqdxxa7eCCRw

Guide:

1.When the user clicks on a picture and itopens a window containing a zoomed version of the image, give her a hyperlink (button) to add the pic to a favorites' area at the bottom of the first page (add img nodes to the DOM).

2.A maximum of 5 pics can be added to the favorites. After that a message is displayed to remove at least a favorite first.

3.If the user clicks on a favorite, a Remove link (button) shows up next to that picture. If the user clicks it, the pic is removed from the favorites.

Requirements: [Important]

The user will click in thecentered picture from the main page, not the side pictures.If the userclicks on the side pictures, it should do nothing.

Do not remove any file from the folder.

Do not change the name of any of the files in the folder.

Do not change the content on the file "photos.htm", there is not need.

Do not change the content on the file "zoom.htm", but other than, change the CloseWindow "p" paragraph tag with "button" tag,and add asecond "button" tag with "add to favorite" text.

All your code and logic should be added to photos.js and zoom.js.You are allowed to change the CSS files to some degree, if needed, do not add any other CSS files.

Do not remove code from photos.js and zoom.js,the code is already there, should be working you will beonly adding your logic.

Here is a link where you can get the example program:

https://mega.nz/folder/M6QV3IBC#a9PwpyGRDnHqdxxa7eCCRw

Step by Step Solution

There are 3 Steps involved in it

Step: 1

I can provide guidance on how to implement the requested features in the JavaScript files photosjs and zoomjs Heres a stepbystep approach photosjs Det... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions