How To Make Autocomplete Search Box For Website Using HTML CSS & JavaScript

Sdílet
Vložit
  • čas přidán 2. 02. 2023
  • Learn How To Create autocomplete search bar using JavaScript, Make auto complete search box for website using HTML CSS JavaScript
    #JavaScript #JavaScriptProject
    ❤️ SUBSCRIBE: goo.gl/tTFmPb
    In this video we will learn to make a search box or search bar for website, in this search bar we will add feature to auto complete the search query. When user will type anything in the search bar then it will display some similar search queries just below the search input box. User can click on the suggested search query to add it in the search bar. We will make this auto complete search-bar using HTML CSS and JavaScript. This is the best JavaScript project for beginners that you can add in your resume or portfolio.
    -----------------------------------------
    Suggested Course:
    ❤️ Complete website Using HTML and CSS
    ✔️ 8 Complete website step by step
    ✔️ Source Code Download
    ✔️ 76 Lectures, 12 Hours Video
    ✔️ Course Completion certificate
    👉 easytutorialspro.com/go/course/
    -------------------------------------
    Recommended Videos:
    Learn Complete HTML and CSS from basics:
    ► • HTML And CSS Tutorial ...
    Make A Complete Website for college using HTML & CSS:
    ► • How To Make A College ...
    How to make a Business website step by step:
    ► • How To Make Website Us...
    How to make personal resume website step by step:
    ► • How To Make A Website ...
    How to make fitness website design using HTML CSS:
    ► • How To Make A Website ...
    How to make an Ecommerce Website Design:
    ► • How To Make eCommerce ...
    How to make a Job Portal website design with HTML & CSS:
    ► • How To Make Website Us...
    How to make travel website design with HTML CSS Bootstrap:
    ► • How To Make A Website ...
    -------------------------------------
    ◼️ Source code link is shared in community post for all my coding videos exclusively for channel members (only channel members can see)
    Join Channel Membership:
    ► / @greatstackdev
    -------------------------------------
    Connect with me:
    👉 linktr.ee/iamavinashkr

Komentáře • 102

  • @LeonnieOkojie
    @LeonnieOkojie Před rokem +2

    Thank you very much. Your video was very very helpful. It worked !!!!
    Sending lots of love ❤️

  • @tindimwebwahadijah9764
    @tindimwebwahadijah9764 Před rokem +2

    Thanks bro I have leant many things from you.thaks for the creativity.I am Fahad

  • @aniruddhadas9584
    @aniruddhadas9584 Před rokem +2

    Loved the video. Learn a lot. Thanks!

  • @miansohaibraheem
    @miansohaibraheem Před 4 měsíci +2

    Perfect. You did a great job. Love and respect for your hard work

  • @Touhid54
    @Touhid54 Před rokem

    Easy Tutorials actually teach the easy way.

  • @Teakito
    @Teakito Před 5 měsíci

    Thank you very much. your vedio and explanation were amazing. learned alot and it is working fantastically.

  • @philippe_1776
    @philippe_1776 Před 4 měsíci +1

    Thank you very much, it is very helpful !

  • @manhhoangtien540
    @manhhoangtien540 Před rokem +2

    thank you for super helpful video, can you tell the visual studio code's theme you using, it is very nice!

  • @arjunviskarma4449
    @arjunviskarma4449 Před 9 měsíci

    wow really beautiful thank you sir for this.

  • @yudha9049
    @yudha9049 Před 7 měsíci

    Thank you sir excelent tutorial

  • @lukekoletsios3236
    @lukekoletsios3236 Před 11 měsíci

    very helpful video thanks

  • @PraptiSharma-wx6fh
    @PraptiSharma-wx6fh Před rokem +1

    Very nice box sir..

  • @mohammedelhoussni
    @mohammedelhoussni Před rokem

    nice tutorial thank you soo much

  • @mdms4549
    @mdms4549 Před rokem

    Awesome, Thanks😃😃

  • @venkatsai563
    @venkatsai563 Před 3 měsíci +1

    it was very helpful bro thank alot

  • @vishalchoudhari889
    @vishalchoudhari889 Před 6 měsíci

    thanks bro you are doing great job

  • @divyasai5787
    @divyasai5787 Před rokem

    thank you bro.... you are awesome

  • @AbrarulRhythm
    @AbrarulRhythm Před rokem

    Hi dear,
    I like your tutorials & channel.
    Please provide React js project would be better.
    I hope you accept my request. ❤

  • @hiwotina26
    @hiwotina26 Před rokem +1

    Please do complete JavaScript tutorial. Thanks to you I feel great about my HTML and CSS. I will learn a lot from you if you have JavaScript tutorial.

  • @xen0076
    @xen0076 Před rokem +1

    Just a question can we do the same using eventlistener? for keydown or keyup ?

    • @livelivelive2548
      @livelivelive2548 Před 4 měsíci

      Yes - I did this and it works:
      inputBox.addEventListener("keyup", () => {}

  • @AduleLucky
    @AduleLucky Před 7 měsíci +1

    U r cool man I like your videos

  • @emmersonwonka4475
    @emmersonwonka4475 Před rokem

    excellent video

  • @newsplugghtv
    @newsplugghtv Před rokem +1

    You are amazing! Thanks for always teaching us something new... Can you make a mobile menu like Versace?

  • @3vibs
    @3vibs Před rokem

    Fantastic bro

  • @oviyasi
    @oviyasi Před 5 měsíci

    hi thank you for the video! may i ask what vscode theme you are using here?

  • @ashishsrivastava4896
    @ashishsrivastava4896 Před rokem

    How can I show "suggestions" in advance which are shown to user when user only clicks the search box as in the case of google search box. I request a guided video on this.

  • @Anonymous55212
    @Anonymous55212 Před rokem +9

    i faced error in javascript file "onkeyup" function

    • @andreaspinheiro
      @andreaspinheiro Před 3 měsíci +2

      cuz in JS is not "onkeyup", instead try: "keyup"
      its "onkeyup" if you are using a event handler in html, like:

    • @justinisiahalcantara7951
      @justinisiahalcantara7951 Před 2 měsíci

      ​@@andreaspinheiro
      Hello! Can you enter the full code for the input box? I can't do it , i feel like i did something wrong with the code. Thank you!!

  • @medipaksinha
    @medipaksinha Před 2 měsíci

    Thank you

  • @johnmun1471
    @johnmun1471 Před rokem +1

    in my computer, function selectInput not exist when I click a li. why is not working?

  • @ramakanttiwari835
    @ramakanttiwari835 Před 24 dny

    thank you sir

  • @zearak
    @zearak Před rokem

    Thank you for the tutorial but can you help me why the hover doesn't work for me?

  • @calebstruble6386
    @calebstruble6386 Před rokem +3

    How do you make it so then if you click outside of the list, the search box disappears? Or when you click the text, it completes a search?

  • @RemotTube
    @RemotTube Před rokem +1

    I subscriber of your channel please create video on tender website please.. Thank you

    • @GreatStackDev
      @GreatStackDev  Před rokem +1

      thank you! I i will consider that in my future tutorials

  • @mdabdulahallnomantuhin3621
    @mdabdulahallnomantuhin3621 Před měsícem +1

    Thanks Brother it was beautiful 🥰🥰🥰 love you

    • @GreatStackDev
      @GreatStackDev  Před měsícem

      Glad you liked it. Thanks for your comment. 😊

  • @jjaaddee205
    @jjaaddee205 Před rokem +2

    Can you do a video showing Python Programming the following:
    1.) Log-In- Sign-UP (PYTHON & DATABASE)
    2.) Interactive Design
    3.) And some examples of a website

  • @newbe379
    @newbe379 Před 8 měsíci +1

    my goodness javascript is to difficult and crazy to learn but i dont give up

  • @pr4thamff157
    @pr4thamff157 Před rokem +2

    how to add links in available keywords

  • @samuelmahiuha6259
    @samuelmahiuha6259 Před rokem

    How can I modify the code for me to get results in the website.
    What I mean is, when I type ' hmtl' and then press enter key, there is no any other action, it's just stops there and nothing else.
    Make a video demonstrating how to get results from the website when you press enter key

  • @to0ney252
    @to0ney252 Před 8 měsíci

    Awesome tutorial! Very easy to follow

  • @chebkhaled69
    @chebkhaled69 Před rokem

    really well made video

  • @giftkabubi1089
    @giftkabubi1089 Před 5 měsíci

    How do make the keywords directing to their content concerning

  • @TheWriter-jx5pc
    @TheWriter-jx5pc Před 11 měsíci +1

    Now that I can search for items
    How do I click on the item searched for and it take me to another page

  • @hammeedabdo.82
    @hammeedabdo.82 Před rokem +4

    Can you do a video on how to make an accordion that has the following properties:
    1- The possibility of dragging and dropping between rows or accurately between accordions.
    2- The possibility of entering or adding a new accordion.
    3- Open the accordion through one click, but if you double click on any accordion, all accordions will open.

  • @rishi8919
    @rishi8919 Před rokem

    Sir I downloaded the code , but the HTML code is not available, can I get any help from you.

  • @c_n_b
    @c_n_b Před 11 měsíci +1

    Instead of having to manually list all the keywords at 12:00, is there a way to simply refer to a list of HTML pages in the root directory?

    • @peyyalakavya1733
      @peyyalakavya1733 Před 10 měsíci

      Onkeyup is not working plz help me

    • @TraeGeorge
      @TraeGeorge Před 9 měsíci

      @@peyyalakavya1733 make you you have the id name right and if that doesnt work try writing it as
      document.getElementbyId("input-box") = function ( ) { }

    • @missipsamhamedannane454
      @missipsamhamedannane454 Před 6 měsíci

      create a .txt file with all your informations and read the file to create your possibleKeyWords
      if there is something better you found tell me cause i am doing it this way

  • @user-qt3zg8ww3d
    @user-qt3zg8ww3d Před 5 měsíci

    I like this!!! Amazing guy! thanks forever!

  • @BloodDawncss
    @BloodDawncss Před 8 měsíci

    When i typed something like How, no keywords list showed and it didn't work for me. i followed all your steps

  • @freecs.2518
    @freecs.2518 Před rokem

    Bro please make valentines card

  • @user-jt8ym5on1r
    @user-jt8ym5on1r Před 10 měsíci

    Mine is shown undefined. I can't fine the error.

  • @user-mw1kh7cw4i
    @user-mw1kh7cw4i Před 2 měsíci

    this error on onclick function
    ReferenceError: selectInput is not defined
    at HTMLLIElement.onclick (index.html:1:1)

  • @kirtikumari1944
    @kirtikumari1944 Před 4 měsíci

    Bro how to add link (href) it.

  • @Demola704
    @Demola704 Před rokem

    I don't know what is happening my JavaScript code is not working on my vs code

  • @hindibravenews
    @hindibravenews Před rokem

    How to add othe page link

  • @Anythinggoesmusic755
    @Anythinggoesmusic755 Před 11 měsíci

    how to add link i those searches if someone click that search it redirect him to that link pls tell

  • @AdibaIslam-or5qp
    @AdibaIslam-or5qp Před 3 měsíci

    Hi sir I want to add search bar......but search don't work
    Any think search

  • @IsruKing-y1v
    @IsruKing-y1v Před 8 dny

    How to make their links?

  • @ryancuy2765
    @ryancuy2765 Před rokem +1

    teach me to make a search engine in website, sir

  • @ChessGuruRaksh
    @ChessGuruRaksh Před rokem

    From where do you get COLOR CODES

  • @Demola704
    @Demola704 Před rokem

    Pls I need an answer on how to solve this

  • @roumen1669
    @roumen1669 Před 10 měsíci +1

    code didnt work "Uncaught TypeError: Cannot set properties of null (setting 'onkeyup')"

  • @Fox_Gaming_H
    @Fox_Gaming_H Před 2 měsíci

    2:48

  • @Demola704
    @Demola704 Před rokem +1

    Can we click on it

    • @GreatStackDev
      @GreatStackDev  Před rokem

      yes you can click on suggested search term to write it in the search box

  • @KiremiYT
    @KiremiYT Před rokem

    can you share the code?

  • @user-bb3rl9lt9q
    @user-bb3rl9lt9q Před rokem

    how to implement a site search ?

  • @Anythinggoesmusic755
    @Anythinggoesmusic755 Před 11 měsíci +1

    source code pls

  • @sagarprasadz
    @sagarprasadz Před 7 měsíci

    how to redirect to link when we search please tell me

  • @hamzahasan5423
    @hamzahasan5423 Před 5 měsíci

    Sir where is source code

  • @Josu117
    @Josu117 Před rokem

    bro why not work class="fa-light fa-magnifying-glass" :C

    • @BetYouHateMeNow
      @BetYouHateMeNow Před rokem

      you didn't add font awesome cdn link between your head tag

  • @peyyalakavya1733
    @peyyalakavya1733 Před 10 měsíci

    Onkeyup not working plz help me

  • @smallboy3559
    @smallboy3559 Před 7 měsíci

    my search fetching speed is low

  • @rohanSubTopic
    @rohanSubTopic Před rokem

    Bro how to add the links in each of the keyword ??? Need immediate

  • @truthteachers
    @truthteachers Před rokem +1

    Bro, if you stop providing the source codes, many of us (2000 of us) will unsubscribe from your channel.

  • @BonVoyage2020
    @BonVoyage2020 Před rokem

    Hi is there any chance i can contact in WhatsApp because i am interested to design my web page please thanks

  • @kadampremal7225
    @kadampremal7225 Před 5 měsíci

    Thank you.This video is very helpful.

  • @user-jt8ym5on1r
    @user-jt8ym5on1r Před 10 měsíci

    Mine is shown undefined. I can't fine the error.