The Modern JavaScript Bootcamp (2019) - Refactor Challenge

The Modern JavaScript Bootcamp (2019) - Refactor Challenge

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial focuses on refactoring a Todo application by organizing JavaScript functions into separate files. It covers defining and linking functions, implementing getSavedTodos and saveTodos for local storage, and creating renderTodos and generateTodoDom for DOM manipulation. The tutorial emphasizes testing each function individually to ensure functionality remains intact. The final section introduces generateSummaryDom and demonstrates testing the refactored application.

Read more

10 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the purpose of creating a second JavaScript file in the application?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

List the five functions that need to be created for the Todo application.

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain the process of fetching data from local storage in the context of the Todo application.

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

How can you test the functionality of the newly created functions in the Todo application?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

What steps should be taken if an error occurs after saving the file?

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

What modifications are needed when creating the 'save Todos' function?

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe how the 'generate to do Dom' function is structured and its purpose.

Evaluate responses using AI:

OFF

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?