Find Jobs
Hire Freelancers

Entering boot camp....assist in studing.

$30-250 USD

Annullato
Pubblicato circa 4 anni fa

$30-250 USD

Pagato al completamento
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.
Rif. progetto: 24796930

Info sul progetto

4 proposte
Progetto a distanza
Attivo 4 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
4 freelance hanno fatto un'offerta media di $155 USD
Avatar dell'utente
Hi,dear. I am very interested in your project - 'Entering boot camp....assist in studing.'. I've already done this kind of project before. I'm a professional programmer with 12 years of experience. If you award me, I'll implement all of your requirements in a short time. Skills: C# Programming, HTML, Javascript, PHP, Software Architecture
$155 USD in 1 giorno
4,7 (21 valutazioni)
5,1
5,1
Avatar dell'utente
I have worked with c#, jquery and html/css for 2 years at work. There is nothing complicated in your task, I can help you.
$75 USD in 1 giorno
5,0 (7 valutazioni)
2,7
2,7

Info sul cliente

Bandiera: UNITED STATES
Riverside, United States
5,0
1
Metodo di pagamento verificato
Membro dal gen 30, 2009

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.