Let’s keep these short and to the point.
Not everyone has a first and last name.
Perhaps Just store Name in a database.
https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/
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