Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Let’s keep these short and to the point.

Not everyone has a first and last name.

Internet connections can cut out at any moment while using a web form.

  • Show a proper error and test for this using your web browser development tools.

  • The fetch api won't have an error response / status code in these cases

<select> inputs without a value attribute in the option tags will submit the translated version if client-side translation is active

  • use <option value="hello">hello</option> instead of just <option>hello</option>

Python3’s built in round function will round towards the even choice

  • round(0.5) == 0, round(1.5) == 2