Try to change the values in the input fields and see how the field is updated, without the need to JavaScript !

Example 1 :

x = 6
Example 2 :

100 + =