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

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 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

ความคิดเห็น • 102

  • @aniruddhadas9584
    @aniruddhadas9584 ปีที่แล้ว +2

    Loved the video. Learn a lot. Thanks!

  • @LeonnieOkojie
    @LeonnieOkojie ปีที่แล้ว +1

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

  • @Touhid54
    @Touhid54 ปีที่แล้ว

    Easy Tutorials actually teach the easy way.

  • @tindimwebwahadijah9764
    @tindimwebwahadijah9764 ปีที่แล้ว +2

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

  • @miansohaibraheem
    @miansohaibraheem 3 หลายเดือนก่อน +2

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

  • @philippe_1776
    @philippe_1776 3 หลายเดือนก่อน +1

    Thank you very much, it is very helpful !

  • @Teakito
    @Teakito 4 หลายเดือนก่อน

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

  • @yudha9049
    @yudha9049 6 หลายเดือนก่อน

    Thank you sir excelent tutorial

  • @manhhoangtien540
    @manhhoangtien540 ปีที่แล้ว +2

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

  • @lukekoletsios3236
    @lukekoletsios3236 10 หลายเดือนก่อน

    very helpful video thanks

  • @arjunviskarma4449
    @arjunviskarma4449 8 หลายเดือนก่อน

    wow really beautiful thank you sir for this.

  • @divyasai5787
    @divyasai5787 ปีที่แล้ว

    thank you bro.... you are awesome

  • @mdms4549
    @mdms4549 ปีที่แล้ว

    Awesome, Thanks😃😃

  • @vishalchoudhari889
    @vishalchoudhari889 5 หลายเดือนก่อน

    thanks bro you are doing great job

  • @mohammedelhoussni
    @mohammedelhoussni ปีที่แล้ว

    nice tutorial thank you soo much

  • @venkatsai563
    @venkatsai563 2 หลายเดือนก่อน +1

    it was very helpful bro thank alot

  • @PraptiSharma-wx6fh
    @PraptiSharma-wx6fh 11 หลายเดือนก่อน +1

    Very nice box sir..

  • @xen0076
    @xen0076 ปีที่แล้ว +1

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

    • @livelivelive2548
      @livelivelive2548 3 หลายเดือนก่อน

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

  • @newsplugghtv
    @newsplugghtv ปีที่แล้ว +1

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

  • @mdabdulahallnomantuhin3621
    @mdabdulahallnomantuhin3621 20 วันที่ผ่านมา +1

    Thanks Brother it was beautiful 🥰🥰🥰 love you

    • @GreatStackDev
      @GreatStackDev  16 วันที่ผ่านมา

      Glad you liked it. Thanks for your comment. 😊

  • @hiwotina26
    @hiwotina26 ปีที่แล้ว +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.

  • @medipaksinha
    @medipaksinha หลายเดือนก่อน

    Thank you

  • @3vibs
    @3vibs ปีที่แล้ว

    Fantastic bro

  • @AbrarulRhythm
    @AbrarulRhythm ปีที่แล้ว

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

  • @AduleLucky
    @AduleLucky 6 หลายเดือนก่อน +1

    U r cool man I like your videos

  • @emmersonwonka4475
    @emmersonwonka4475 11 หลายเดือนก่อน

    excellent video

  • @zearak
    @zearak ปีที่แล้ว

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

  • @oviyasi
    @oviyasi 4 หลายเดือนก่อน

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

  • @user-qt3zg8ww3d
    @user-qt3zg8ww3d 5 หลายเดือนก่อน

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

  • @to0ney252
    @to0ney252 7 หลายเดือนก่อน

    Awesome tutorial! Very easy to follow

  • @newbe379
    @newbe379 7 หลายเดือนก่อน +1

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

  • @ashishsrivastava4896
    @ashishsrivastava4896 ปีที่แล้ว

    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.

  • @jjaaddee205
    @jjaaddee205 ปีที่แล้ว +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

  • @calebstruble6386
    @calebstruble6386 11 หลายเดือนก่อน +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?

    • @SonuKumar-hz2ff
      @SonuKumar-hz2ff 5 หลายเดือนก่อน +1

      do you found solution to this problem

  • @RemotTube
    @RemotTube ปีที่แล้ว +1

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

    • @GreatStackDev
      @GreatStackDev  ปีที่แล้ว +1

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

  • @pr4thamff157
    @pr4thamff157 ปีที่แล้ว +2

    how to add links in available keywords

  • @hammeedabdo.82
    @hammeedabdo.82 ปีที่แล้ว +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.

  • @Anonymous55212
    @Anonymous55212 ปีที่แล้ว +8

    i faced error in javascript file "onkeyup" function

    • @andreaspinheiro
      @andreaspinheiro 2 หลายเดือนก่อน +2

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

    • @justinisiahalcantara7951
      @justinisiahalcantara7951 หลายเดือนก่อน

      ​@@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!!

  • @johnmun1471
    @johnmun1471 11 หลายเดือนก่อน +1

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

  • @chebkhaled69
    @chebkhaled69 11 หลายเดือนก่อน

    really well made video

    • @GreatStackDev
      @GreatStackDev  11 หลายเดือนก่อน

      Glad you enjoyed it

  • @giftkabubi1089
    @giftkabubi1089 4 หลายเดือนก่อน

    How do make the keywords directing to their content concerning

  • @samuelmahiuha6259
    @samuelmahiuha6259 ปีที่แล้ว

    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

  • @Shaheryar-WebDev
    @Shaheryar-WebDev ปีที่แล้ว +3

    I have practiced so much with your simple project videos thanks love from PAKISTAN🇵🇰

  • @c_n_b
    @c_n_b 10 หลายเดือนก่อน +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 9 หลายเดือนก่อน

      Onkeyup is not working plz help me

    • @TraeGeorge
      @TraeGeorge 8 หลายเดือนก่อน

      @@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 5 หลายเดือนก่อน

      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

  • @ChessGuruRaksh
    @ChessGuruRaksh ปีที่แล้ว

    From where do you get COLOR CODES

  • @BloodDawncss
    @BloodDawncss 8 หลายเดือนก่อน

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

  • @TheWriter-jx5pc
    @TheWriter-jx5pc 10 หลายเดือนก่อน +1

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

    • @SonuKumar-hz2ff
      @SonuKumar-hz2ff 5 หลายเดือนก่อน +1

      do you found solution to this problem

  • @hindibravenews
    @hindibravenews ปีที่แล้ว

    How to add othe page link

  • @kirtikumari1944
    @kirtikumari1944 3 หลายเดือนก่อน

    Bro how to add link (href) it.

  • @rishi8919
    @rishi8919 ปีที่แล้ว

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

  • @user-jt8ym5on1r
    @user-jt8ym5on1r 9 หลายเดือนก่อน

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

  • @freecs.2518
    @freecs.2518 ปีที่แล้ว

    Bro please make valentines card

  • @Anythinggoesmusic755
    @Anythinggoesmusic755 10 หลายเดือนก่อน

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

    • @SonuKumar-hz2ff
      @SonuKumar-hz2ff 5 หลายเดือนก่อน +1

      do you found solution to this problem

  • @Demola704
    @Demola704 ปีที่แล้ว

    Pls I need an answer on how to solve this

  • @Demola704
    @Demola704 ปีที่แล้ว

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

  • @user-mw1kh7cw4i
    @user-mw1kh7cw4i หลายเดือนก่อน

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

  • @KiremiYT
    @KiremiYT ปีที่แล้ว

    can you share the code?

  • @AdibaIslam-or5qp
    @AdibaIslam-or5qp 2 หลายเดือนก่อน

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

  • @ryancuy2765
    @ryancuy2765 ปีที่แล้ว +1

    teach me to make a search engine in website, sir

    • @GreatStackDev
      @GreatStackDev  ปีที่แล้ว +3

      I will make that in 2nd part soon.

    • @ryancuy2765
      @ryancuy2765 ปีที่แล้ว

      @@GreatStackDev thank you very much sir🫡

  • @Demola704
    @Demola704 ปีที่แล้ว +1

    Can we click on it

    • @GreatStackDev
      @GreatStackDev  ปีที่แล้ว

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

  • @user-bb3rl9lt9q
    @user-bb3rl9lt9q ปีที่แล้ว

    how to implement a site search ?

    • @GreatStackDev
      @GreatStackDev  ปีที่แล้ว

      I will make that in 2nd part soon.

  • @Fox_Gaming_H
    @Fox_Gaming_H หลายเดือนก่อน

    2:48

  • @roumen1669
    @roumen1669 9 หลายเดือนก่อน +1

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

    • @peyyalakavya1733
      @peyyalakavya1733 9 หลายเดือนก่อน

      Yes it's work or not still

    • @adityaranavat8470
      @adityaranavat8470 3 หลายเดือนก่อน

      Heyy

    • @adityaranavat8470
      @adityaranavat8470 3 หลายเดือนก่อน

      I also have same error did you solve that if yes then how

  • @sagarprasadz
    @sagarprasadz 7 หลายเดือนก่อน

    how to redirect to link when we search please tell me

    • @SonuKumar-hz2ff
      @SonuKumar-hz2ff 5 หลายเดือนก่อน +1

      do you found solution to this problem

    • @sagarprasadz
      @sagarprasadz 5 หลายเดือนก่อน

      @@SonuKumar-hz2ff yes

    • @sagarprasadz
      @sagarprasadz 5 หลายเดือนก่อน

      @@SonuKumar-hz2ff yes

  • @Anythinggoesmusic755
    @Anythinggoesmusic755 10 หลายเดือนก่อน +1

    source code pls

  • @hamzahasan5423
    @hamzahasan5423 4 หลายเดือนก่อน

    Sir where is source code

  • @peyyalakavya1733
    @peyyalakavya1733 9 หลายเดือนก่อน

    Onkeyup not working plz help me

    • @thithi-em3lh
      @thithi-em3lh 7 หลายเดือนก่อน

      . I can't manage. Can you help?

  • @Josu117
    @Josu117 ปีที่แล้ว

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

    • @BetYouHateMeNow
      @BetYouHateMeNow ปีที่แล้ว

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

  • @smallboy3559
    @smallboy3559 7 หลายเดือนก่อน

    my search fetching speed is low

  • @rohanSubTopic
    @rohanSubTopic 11 หลายเดือนก่อน

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

  • @truthteachers
    @truthteachers ปีที่แล้ว +1

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

  • @BonVoyage2020
    @BonVoyage2020 ปีที่แล้ว

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

  • @kadampremal7225
    @kadampremal7225 4 หลายเดือนก่อน

    Thank you.This video is very helpful.

  • @user-jt8ym5on1r
    @user-jt8ym5on1r 9 หลายเดือนก่อน

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