I'm trying to make a registration form, and one part of that is it needs to be able to add the values of different fields and displays it at the bottom.

This is what I've done for the JS;



...