Im trying to add a label element and a for attribute

    <main>
          
          <fieldset>
            <legend>
          <form class="grid"><input type="text" name="fName" id="fName"><input type="text" name="lName" id="lName"><input type="email" name="email" id="email"><input type="tel" name="phone" id="phone">
          </legend>
          </fieldset>

          <fieldset>
            <legend>
          <input type="text" name="cName" id="cName"><input type="number" name="cNum" id="cNum"><input type="text" name="expDate" id="expDate" placeholder="MM/YY"><input type="number" name="ccv" id="ccv">
          
          </form>
            </legend>
          </fieldset>
          <input type="submit" value="btn">
</main>

What’s stopping you from adding them?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.