Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can someone please help me fix this problem i am facing? Delivery Info Next with

ID: 3708773 • Letter: C

Question

Can someone please help me fix this problem i am facing?

Delivery Info

Next within the form, create a field set with the ID deliveryInfo. Within this field set, add the following:

A legend containing the text Delivery Options.

A text area box with the ID addressBox and field name of delAddress containing the placeholder text Enter delivery address.

A label containing the text Delivery Time (leave blank for earliest delivery) associated with the delBox control.

Add an input element with the ID delBox and field name delTime for storing delivery time values. Use a data type of “time” for the control

<fieldset id="deliveryInfo">
<legend>Delivery Options</legend>
<textarea name="delAddress" id="addressBox" placeholder="Enter delivery address"></textarea>
</fieldset>
<lable for="Delivery Time">Delivery Time (leave blank for earliest delivery)</lable>
<input name="delTime" id="delBox" type="text"/>
</form>

Explanation / Answer

From the text description you provided, it seems like the following tags <legend>, <textarea>, <label> & <input> are to go inside the <fieldset>.

To bind a <label> with an input the label's for attribute should have <input> tag's id attribute's value. This way when clicked on label the input is activated.

There are 2 corrections I have found.

<!DOCTYPE html>

<html lang="en">

<head>

<title>Delivery Info</title>

</head>

<body>

<form>

<fieldset id="deliveryInfo">

<legend>Delivery Options</legend>

<textarea name="delAddress" id="addressBox" placeholder="Enter delivery address"></textarea>

<!-- The label's for attribute should have the value delBox which is the id attribute's value inside the following input-->

<lable for="delBox">Delivery Time (leave blank for earliest delivery)</lable>

<!-- It is mentioned to use the type of "time" for the control so input type should be time -->

<input name="delTime" id="delBox" type="time" />

</fieldset>

</form>

</body>

</html>