wonder how to create a search box? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 4

wonder how to create a search box?

<div class="input-group"> <input type="text" name="k" value="" class="search-input form-control" maxlength="2080" placeholder="Search type of videos" /> <span class="input-group-btn"><button type="submit" title="Search" class="search-submit btn btn"><span class="icon-f icf-search"></span> <span class="mobile-show-inline-block">Search</span></button></span> </div>

2nd May 2020, 6:04 PM
Bonface Muriithi
33 Respostas
+ 7
You'll need a scripting language (I prefer NODE.js) and a frontend-backend connection (Like AJAX) and a database system (Like MongoDB) then you can pass the input string through AJAX to Backend and then generate queries to database and resend results to Frontend
3rd May 2020, 7:47 AM
Mahmud Oyshik
Mahmud Oyshik - avatar
+ 6
You can use your backend language to search your database, return the data and then link it to your input with the action="name of the file" attribute.
2nd May 2020, 9:18 PM
ugochukwu Joseph
ugochukwu Joseph - avatar
+ 4
You have to learn And what the thing the you would to search in
2nd May 2020, 7:56 PM
ycsvenom
ycsvenom - avatar
+ 4
You can make an array of videos title in javascript And when the user type the text that he want to search about it the js code will start a function to find and compare the text with the array
2nd May 2020, 8:18 PM
ycsvenom
ycsvenom - avatar
+ 3
Hey I'm a C++, Java and SQl coder (pretty much most of the 3rd generation coding languages) I use a chrome book and I'm wondering what software or site I can use to practice SQl or another sever query language
3rd May 2020, 6:20 PM
Terdoo - Toheeb Osu
Terdoo - Toheeb Osu - avatar
+ 3
Do you mean this, check it below https://code.sololearn.com/W9l1PWGQQ8FK/?ref=app
4th May 2020, 9:19 AM
[B.S.] BITTU
[B.S.] BITTU - avatar
+ 2
Firstly do you know anything in js?
2nd May 2020, 7:21 PM
ycsvenom
ycsvenom - avatar
+ 2
Just tell me what do you want to search in I will help you
2nd May 2020, 8:11 PM
ycsvenom
ycsvenom - avatar
+ 2
N how long will i become useful in js
2nd May 2020, 8:23 PM
Bonface Muriithi
+ 2
Me too I have no teacher ūüėĒ
2nd May 2020, 8:30 PM
ycsvenom
ycsvenom - avatar
2nd May 2020, 8:34 PM
ycsvenom
ycsvenom - avatar
+ 2
Is stil possible to host with google drive?
2nd May 2020, 8:36 PM
Bonface Muriithi
+ 2
Yes n how ...? cause i tried Bt i was told free host service is no longer working
2nd May 2020, 8:38 PM
Bonface Muriithi
+ 2
Whts tht
2nd May 2020, 8:39 PM
Bonface Muriithi
+ 2
Well in a simple way, you use an input form according to that. Then a botton that when its click look at some database. For a trial, you can generate an array that contains the info that you want to look at it. After all, if you want to display it you have to learn how to acess the info from html using js
3rd May 2020, 5:03 AM
David Jaramillo
David Jaramillo - avatar
+ 1
Nope
2nd May 2020, 7:55 PM
Bonface Muriithi
+ 1
Ok thens for info....
2nd May 2020, 8:03 PM
Bonface Muriithi
+ 1
I was creating a webpage that contains samples of videos ....for the search box that i was to create ....is for the webpage for users to search in for any type of video they want
2nd May 2020, 8:15 PM
Bonface Muriithi
+ 1
It's depending on you
2nd May 2020, 8:23 PM
ycsvenom
ycsvenom - avatar