0

Search problem

If a person ask a question mistakly like nam instead of name I want to show the answer. Please help me somebody............ I think it can be possible using for loop https://code.sololearn.com/WNj1yIi43m9v/?ref=app

27th Oct 2022, 5:47 AM
Saddam Hussain
Saddam Hussain - avatar
3 Réponses
+ 1
Davinder Kumar it will be uncomfortable because someone may type mistakely which I may not add ........ So I want to use other way...
27th Oct 2022, 7:06 AM
Saddam Hussain
Saddam Hussain - avatar
+ 1
I think it can be a search function, which go only if a word is found and take it. Maybe you can see in browser how google it do.
27th Oct 2022, 7:16 AM
JaScript
JaScript - avatar
0
you can make object of different keys words so that user can easily access it
27th Oct 2022, 5:50 AM
Davinder Kumar
Davinder Kumar - avatar