How To Build a Simple HTML Highlighter with JavaScript
In my article today, I will show you how you can search for a substring within a string, and how you can build a simple highlighter by searching for an occurrence or multiple occurrences of a string, then replacing it with an HTML tag.
I will break d...
octagon.hashnode.dev4 min read