Question: I got some problem with my Javascript assignment: 1.How to create an array to hold users' info and let them appear on the webpage as
I got some problem with my Javascript assignment:
1.How to create an array to hold users' info and let them appear on the webpage as a div or a section or a table.
2.How to update the website to change the content after selecting the drop-down box.

1. Create a Lab3 folder inside the root of your website, which will be used to publish the webpage and images for this assignment. 2. Create the Dating.html HTML page that implements the web display using JavaScript. a. The page must contain a drop-down box for selecting a gender (male, female, all, etc...). b. When a gender is selected from the drop-down box, the page should update to display all of the users that match the selected gender. i. Display an image, title, name, age, profile description, city, state, status (single/taken), has kids (yeso), wants kids (yeso), religion, and type of relationship (long-term, short-term, friends, and casual). ii. Include a "Like" button to allow the user to add the person to a list of people they liked and want to save. When the button is clicked, the page should display their current list of likes and update as items are added to it. If the user clicks "Likes" multiple times for an item, your program should not add multiple copies to the list. This button should not remove the person from the search results. ili. Include a "Pass" button to allow the user to remove a person from the search results, iv. The page should contain controls to allow the user to search for users that live in a specified state. V. The information used in the display should come from JavaScript objects stored in an array inside your page.. c. Use JavaScript to implement the interactive behavior of the page. i. You will need about 20 user dating profiles for each of the main categories (male/female) and at least 5 for any additional categories you include. Also, you need an image for each person, which should be stored in an images folder. ii. Create an array to store JavaScript objects that represent a user's dating profile with all of its necessary data. The JavaScript object will contain the title, name, age, profile description, status, has kids, wants kids, religion, type of relationship, city, state, and the URL for the user's image file. ili. The selection of a gender category from the drop-down box should update the page to display the list of users that match the category along with their informatione iv. Implement the ability to allow the user to like other users. The user's like list should change as new users are added to it. Also, you need to keep track of this list during the entire use of the page
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
