AWS, JavaScript, React - Deploy Web Apps on the Cloud
 - Finishing the Checkout

AWS, JavaScript, React - Deploy Web Apps on the Cloud - Finishing the Checkout

Assessment

Interactive Video

Information Technology (IT), Architecture, Business

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial discusses completing a checkout page by allowing user input and validation. It highlights an issue where the shopping basket empties upon page refresh due to the global context resetting. The video emphasizes the need to persist shopping basket data across sessions, similar to professional e-commerce sites, and hints at a solution to be covered in the next video.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary task mentioned for the checkout page?

Adding a payment gateway

Allowing users to input details and validate them

Integrating social media login

Designing a new layout

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why does the shopping basket empty upon refreshing the page?

The server deletes the session data

The global context resets itself

The browser cache is cleared

The user logs out automatically

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main problem with the current shopping basket implementation?

It requires a login to access

It does not display item prices

It empties when the page is refreshed

It does not allow adding multiple items

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the desired behavior for the shopping basket when the browser is closed and reopened?

The basket should log out the user

The basket should display a welcome message

The basket should retain its items

The basket should be empty

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What feature is expected in a professional e-commerce site regarding the shopping basket?

It should display ads

It should offer discounts automatically

It should retain items across sessions

It should require re-login for each purchase

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?