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

29th Sep 2024, 2:23 PM
ISAAC BARINEKA DEEKOR
ISAAC BARINEKA DEEKOR - avatar
4 Respuestas
+ 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
29th Sep 2024, 3:32 PM
`ᴴᵗᵗየ
`ᴴᵗᵗየ - avatar
+ 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.
30th Sep 2024, 3:06 AM
Bob_Li
Bob_Li - avatar
+ 1
ISAAC BARINEKA DEEKOR Make it more specific then!
29th Sep 2024, 3:44 PM
`ᴴᵗᵗየ
`ᴴᵗᵗየ - avatar
0
Not what I was thinking
29th Sep 2024, 3:43 PM
ISAAC BARINEKA DEEKOR
ISAAC BARINEKA DEEKOR - avatar