Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Form example</title>
</head>
<body>
<form id="myForm">
  <fieldset>
    <legend>Personal informations</legend>
    
    <label for="firstName">First name:</label>
    <input type="text" id="firstName" required name="firstName"
           oninput="localStorage.firstName=this.value;">
    
    <br>
    
    <label for="lastName">Last name:</label>
    <input type="text" id="lastName" required name="lastName"
           oninput="localStorage.lastName=this.value;">
    
    <br>
     <label for="email">Email:</label>
    <input type="email" id="email" required name="email"
           oninput="localStorage.email=this.value;">
    
     <br>
     <label for="age">Age:</label>
    <input type="number" min=0 max=120  step=5 id="age" required name="age"
           oninput="localStorage.age=this.value;">
 
         <br>
     <label for="date">Birth date:</label>
    <input type="date"  id="date" required name="date"
           oninput="localStorage.date=this.value;">
  </fieldset>
  
  <button>Submit form</button>
  </form>
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
micbuffapro
0viewers