Find Jobs
Hire Freelancers

Entering boot camp....assist in studing. -- 2

$10-30 USD

Completed
Posted about 4 years ago

$10-30 USD

Paid on delivery
Use function declaration to create a function called startUp. Use function declaration to create a function called getMovies that will take no parameters. The getMovies function should return an array of 5 objects. Each one of the objects should have the properties id title genre year mainImage The following properties should be numbers: id year For the rest of the properties assign any string value you like. If you want to display images later make sure the values of mainImage point to an image. Section 2 : (Display array on console) Use function declaration to create a function called wireHandlers. The startUp function should register all event handlers needed on this page by calling the wireHandlers function. Create an event handler for the showMovies button: Use function declaration to create a function called onShowMovies. This function should be invoked upon clicking the showMovies button. The function onShowMovies should contain a parameter named e and the function should stop the default behaviour of the button. Inside of onShowMovies invoke function getMovies and store the array the function returns into a local variable called movies Log to the console the entire array movies. (Use Just 1 execution call to the log function) Section 3 : (Display and remove objects from the DOM) Use function declaration to create a function called getTemplate. This function: Should get the html from the template provided with id movieTemplate and return it as a JQuery object. The HTML template snippet is already provided on page Use function declaration to create a function called renderMovies. The function should contain a parameter named moviesArr. Function renderMovies should loop through an array similar to movies while getting the template provided by calling getTemplate and display in the DOM inside of the element with class clone-container. If you are thinking about using the .html or .text function. Do not use the .html function. Instead, use the .text function. Invoke the function renderMovies and pass the array movies inside of the function onShowMovies. This should display the movies on the page! Create an event handler for the Empty Movies button: Use function declaration to create a function called emptyAllMovies. This function should be invoked upon clicking the Empty Movies button. The function emptyMovies should remove all of the templates without removing the element with class clone-container. Create an event handler for the Delete button(s): There is a Delete button within the template. So this should apply to any of those delete buttons. Use function declaration to create a function called onDeleteMovie. This function should be invoked upon clicking the Delete button of each one of the movie templates. The function onDeleteMovie should remove the movie template for which the Delete button was clicked from the DOM.
Project ID: 24797160

About the project

2 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi,dear. I understand your proposals and I am very interested in this job - 'Entering boot camp....assist in studing. -- 2'. I've already done this kind of project before. I am senior software developer and I am able to perform this task in timely manner. Skills: C# Programming, HTML, Javascript, PHP, Software Architecture Please come in contact with [login to view URL] a million.
$25 USD in 1 day
4.7 (21 reviews)
5.4
5.4
2 freelancers are bidding on average $35 USD for this job
User Avatar
Hi, I've looked your project you need 5 or 6 functions in total that would do the workers. Can you please let me from where I can get object like from an api or I've to create one for my self? Hoping to get positive response Best regards, Thanks
$45 USD in 2 days
5.0 (35 reviews)
4.9
4.9

About the client

Flag of UNITED STATES
Riverside, United States
5.0
1
Payment method verified
Member since Jan 30, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.