I am not able to get the output for name and price field...can you please help?

Document
<div class="row m-3">
    <div class="col-9">

        <dl>
            <dt>Name</dt>
            <dd id="name"><input type="text" class="form-control"></dd>
            <dt>Price</dt>
            <dd id="price"><input type="text" class="form-control"></dd>


            <dt>Shipped To</dt>
            <dd>
                <select name="" id="city" class="form-select">
                    <option>Delhi</option>
                    <option>Mumbai</option>
                </select>
            </dd>
            <dt>Stock</dt>
            <dd class="form-check form-switch"><input type="checkbox" id="stock" class="form-check-input"></dd>


        </dl>
        <button class="btn btn-primary w-100" id="btnSubmit"> Register</button>




    </div>
    <div class="col-3">

        <dl>
            <dt>Name</dt>
            <dd id="lblName"></dd>
            <dt>Price</dt>
            <dd id="lblPrice"></dd>
            <dt>ShippedTo</dt>
            <dd id="lblship"></dd>
            <dt>Stock</dt>
            <dd id="lblStock"></dd>


        </dl>
    </div>
</div>

What are you referring to by “output”

Name, Price, Shipped to , Stock Should be visible when we enter submit button after fill the specifies text boxes.
for ex in the name field Nike is entered should show in another dive under the Name category after click on the submit button.

Hi,
Will you please help me in this error?

Hello there. Please give us some time to solve your problem.

1 Like