I am building a Chrome extension that checks for grammatical errors when a user types something into a text box. My question is about the visual element of it. In the image below image we can see that a certain word is highlighted on the textbox and on the bottom right there is another icon that changes dynamically. Please tell me how I should go about implementing it. Thanks!