@drawohara
published on: 2013-06-17

i stood up a little quiz about html forms today.

ref: https://gist.github.com/ahoward/98591ebc9113bea1cf02

  <!--
fork this. do not use the internet. take < 10 minutes to find at least 10
distinct errors on this form. submit your answer in the comments field of
your fork and email me (ara[at]dojo4.com) the url.
-->
  <form method='DELETE' ACTION='./' enctype="multipart/file-upload">
    
    <fieldset>
      <legend> tags </legend>
      <input type='text' name='tags' value='foo'/>
      <input type='text' name='tags' value='bar'/>
    </fieldset>
    <label for='foo'>Foo: </label> <input name='foo'> <input name='foo'>
    <label>
      Bar: <input name='bar'>
    </label>
    <input name='email' readonly/>
    <input name='password' disabled=disabled/>
    <input type='file' name='file' value='.bashrc'/>
    <fieldset>
      <legend>Sex</legend>
        <input type="radio" name="sex">
          <option value='male'>Male</option>
          <option value='female'/>
        </input>
      <fieldset>
        <legend>Transportation</legend>
          <input type="checkbox" name="vehicle" value="Bike">I have a bike<br>
          <input type="checkbox" name="vehicle" value="Car">I have a car 
      </fieldset>
    </fieldset>
    <select name='web-develop-skilz'>
      <option value='A'>
      <option value='B'>
      <option value='C'>
      <option value='D'>
      <option value='F'>
    </select>
    
    <hr>
    <button type='submit'>
  </form>

the goal of having people skim this completely broken html form was just to see people’s line of thinking with this: the backbone of html interfaces

following are some sample answers, grouped roughly by category, and feedback to them

fubar doctype

sample reponses