Javascript Example Input Events

This is an example of a JS programme that will display JS events,

Input Events

Option 1: onFocus:

Option 2: onblur:

Option 3: onblur: