0
Search problem
I cant make something able to search,e.g I made a div and inside I wrote magic,how would I make it searchable etc,using Js and I don't know why
4 odpowiedzi
+ 2
To do so, you'd generally need to know how to implement a simple search functionality.
This could be done by searching for a keyword or a phrase and highlighting it or checking if it exists within the content. Below is a sample code on this problem. You can customize this by adding other features like case-insensitive search, multiple occurrences, etc.
https://sololearn.com/compiler-playground/WkJg206mxReX/?ref=app
+ 2
ISAAC BARINEKA DEEKOR
Are we supposed to guess what it is you're thinking?🤔
`ᴴᵗᵗየ 's code is great. It's also a good starting point to do a lot of other things. Understand what it does, how it works and you would probably be able to accomplish what it is you're thinking of.
+ 1
ISAAC BARINEKA DEEKOR Make it more specific then!
0
Not what I was thinking