Name attribute?

Tell us what’s happening:

Hi, simple question but I forgot what the name attribute is for?
Thanks as always.

Your code so far


<body>
<header>
  <h1>Tournaments</h1>
</header>
<main>
  <section>
    <h2>Mortal Kombat Tournament Survey</h2>
    <form>
      <p>Tell us the best date for the competition</p>
      <label for="pickdate">Preferred Date:</label>

      <!-- Only change code below this line -->
<input type="date" id="pickdate" name="date">


      <!-- Only change code above this line -->

      <input type="submit" name="submit" value="Submit">
    </form>
  </section>
</main>
<footer>&copy; 2018 Camper Cat</footer>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36.

Challenge: Add an Accessible Date Picker

Link to the challenge:

The name is usually used to identify the fields in the form.

for example if you have to send data with your form, the name attribute will serve to indicate where that value comes from