Завершено

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

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.

Квалификация: Программирование на C#, HTML, JavaScript, PHP, Архитектура ПО

Показать больше boot camp sales copy, itil boot camp india, fitness boot camp font, boot camp poster design, boot camp templates, boot camp template, boot camp gym, fitness boot camp key words, reboot boot camp dorset, website boot camp, boot camp logo, lock shoot boot camp freemarketcom, fitness boot camp seo words, system administration boot camp, boot camp for adults and kids, boot camp, boot camp logo vector, boot camp poster, c# boot camp india

О работодателе:
( 0 отзыв(-а, -ов) ) Riverside, United States

ID проекта: #24797160

Поручен:

superbpartner

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 t Больше

$25 USD за 1 день
(19 отзывов(-а))
5.1

4 фрилансеров(-а) в среднем готовы выполнить эту работу за $149

$25 USD за 1 день
(5 отзывов(-а))
2.6
makhealth9232

Hello. As a Master of WEB Programming, I can do your project in a timely fashion manner and of your satisfaction. Please give me the opportunity to work on your project with you. Thanks in advance.

$500 USD за 4 дней(-я)
(1 отзыв)
2.0
namembk

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 Больше

$45 USD за 2 дней(-я)
(0 отзывов(-а))
0.0