title: Input elements should have autocomplete attributes
body: <p>I am getting this message in the console I can't understand it. Please look into it</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;registration page&lt;/title&gt;
          &lt;script src="js/jquery.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
          $(document).ready(function(){
          $('form').submit(function(event){
      "use strict";
          var valid = true,
          message = '';    
              $('.error').remove();           
     $('form input').each(function() {
          var $this = $(this);   
          if(!$this.val()) {
              message='';
              var inputName = $this.attr('name');
              valid = false;
              message += 'Please enter your ' + inputName + '\n';
              $(this).closest('div').append('&lt;div class="error"&gt;'+message+'&lt;/div&gt;');           
          }
  })
             if(!valid){
                  event.preventDefault();
          }else{
  $('form').serialize()
          }
  })
  })
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form&gt;
  &lt;div&gt;
      &lt;label&gt;Name&lt;/label&gt;
      &lt;input type="text" name="name"&gt;&lt;br&gt;
  &lt;/div&gt;
  &lt;div&gt;
      &lt;label&gt;File&lt;/label&gt;
      &lt;input type="file" name="file"&gt;&lt;br&gt;
  &lt;/div&gt;
  &lt;div&gt;
      &lt;label&gt;password&lt;/label&gt;
      &lt;input type="password" name="password"&gt;&lt;br&gt;
  &lt;/div&gt;
  &lt;button type='submit'&gt;Submit&lt;/button&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The problem is despite no error I keep getting this message</p>
  
  <pre><code>[DOM] Input elements should have autocomplete attributes (suggested: "current-password"): 
  </code></pre>
  
  <p>​</p>
  
  <p>I have been provided with a google link in console which take me to <a href="https://www.chromium.org/developers/design-documents/create-amazing-password-forms" rel="noreferrer">(More info: goo.gl/9p2vKq) </a></p>