The textarea that overlays the read-only textarea called "fetchText" has the class name "fetchTextOverlay".
The user would type the text in this box.
Turn all the wrong characters red.
HINT: A character is considered to be wrong if the current index 'i' (which is to be implemented and maintained) of the entered character doesn't match with the character at the ith character of the fetched paragraph.
Hey @rectangle-man
Can you kindly help me in resolving few of my queries.
Do we need to turn the color of wrongly typed word on click on "Analysis button" ?
I would like to propose to have two different sections, one for read-only text and other for user input, becuase as user types wrong word there is a overlap of placeholder text with typed text, it impacts user experience.
The textarea that overlays the read-only textarea called "fetchText" has the class name "fetchTextOverlay". The user would type the text in this box. Turn all the wrong characters red.
HINT: A character is considered to be wrong if the current index 'i' (which is to be implemented and maintained) of the entered character doesn't match with the character at the ith character of the fetched paragraph.