0
Search?
I should be able to type a prompt into a search bar and get results like on github.
4 Answers
+ 3
You can implement a simple autocomplete feature by using the datalist html tag... As long as the list is not too large.
https://www.w3schools.com/tags/tag_datalist.asp
+ 1
myme we can do this here:
1. To search codes from some user you go to they account and check its public codes
2. To select languages you can go to "create" section, here you have this "q&a discussion" and "code" section, select code and then in right side you have "All" click on it and switch to language you wish.
To add term you have "magnifying glass" icon, when you click it you can type your search query on top
0
Do you need to search github?
Or you make some other website where you need to add search functionality?
For adding search you should have some database or something similar where you look for searched term. It can be array for example.
Simple and easiest search is to see does search term match values you have. For inteligent search you need more code and better algorithm, some tutorial will help you if you never build similar.
0
I want the devs of sololearn to put a feature that allows users to find codes by langs and users on sololearn, like on github.