I need to edit my code so that if a user enter a certain word specific markers would appear and the same with a different out put and so on
Just catch the event and do stuff https://developer.mozilla.org/de/docs/Web/API/HTMLElement/change_event