title: how do i that? I want the first character of the string to be uppercase and the rest lowercase
body: <p>I want the first character of the string to be uppercase and the rest lowercase
  this is what I code</p>
  <pre><code>let title = prompt().toLowerCase();
  for (let c of title)
  {
      c[0]=c[0].toUpperCase();
  }
  </code></pre>