example of an interactive JS in HTML