Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am trying to get a better understanding or break down of completing the following steps because I am very confused. 1.Display a Login HTML

I am trying to get a better understanding or break down of completing the following steps because I am very confused.

1.Display a "Login" HTML form containing the form fields "username" and "password."

2.Show a .js file and reference it in your HTML form document.

Make use of JavaScript fetch to send a POST request containing the form field values "username" and "password."Send the request containingusername: dminni andpassword: ict4510@ppto https://ict4510.herokuapp.com/api/login. (ICT 4510 API Documentation (Links to an external site.))

If the request is successful, it will return an HTTP status code of 200 and the response will contain a user object.

3.Save the user object found in the response to sessionStorage (HTML5 API).

4.Hide the form after a successful login, and display a Welcome message containing the user's first name.

5.Structure and style the page and form using Bootstrap 4.

6.Use containers to structure your layout. (https://getbootstrap.com/docs/4.4/layout/overview/)

7.Apply responsive breakpoints to accommodate mobile devices of varying sizes. (https://getbootstrap.com/docs/4.4/layout/overview/#responsive-breakpoints)

8.Apply form components to your HTML form. (https://getbootstrap.com/docs/4.4/components/forms/)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

Students also viewed these Programming questions

Question

=+a. Where do you think the economy is relative to potential?

Answered: 1 week ago