vendredi 31 mars 2017

How to make search bar with Javascript that finds text on page and highlights it

I am trying to make a site that has a lot of content on it, but I am still learning JavaScript and I do not know hot to find text that was entered into a search bar, then finds it on the page and highlights it. Extra bonus points if you make it so if you hit enter it searches too. ;P




Aucun commentaire:

Enregistrer un commentaire