No JS typing suggestions!

Поділитися
Вставка
  • Опубліковано 16 лис 2024

КОМЕНТАРІ • 90

  • @maelstrom57
    @maelstrom57 2 роки тому +12

    Very neat! If you have a search bar on your website, you can save a user's searches to local storage and generate a datalist dynamically with JS so that the user can see what they've previously looked for.

  • @jshstuff
    @jshstuff 2 роки тому

    I think a `flex: 1 1 0` on the s would align the numbers to the notches. Though the flex-basis of 0 might not be perfect for every case.

  • @brianparker4858
    @brianparker4858 2 роки тому +5

    As a creator in Blazor I always appreciate the non java stuff you demonstrate. Thankyou for this.

  • @rankarat
    @rankarat 2 роки тому

    This channel is a must for all Blazor developers!

  • @enriquesneffels3053
    @enriquesneffels3053 2 роки тому +10

    Kevin it would be fantastic if you do a video about the differences of *, HTML, and body. I've seen many courses and developers defining all sorts of things in them indifferently like margins and paddings set to 0, Box-sizing, background-colors, scroll-behavior, etc.

  • @prsmahajan
    @prsmahajan 2 роки тому +18

    Kevin is an Css evangelist👾 always the best teacher

    • @crooker2
      @crooker2 2 роки тому

      Can I hear an A-MEN? :)

  • @andyvi3116
    @andyvi3116 2 роки тому +1

    Really cool video. Not what i thought at first glance. And that native mixing of datepicker and datalist - it is fantastic

  • @MyDistortedWorld
    @MyDistortedWorld 2 роки тому

    Nice and simple. The datalist can also be populated dynamically. Nice!

  • @josvelema2362
    @josvelema2362 2 роки тому

    Nice one! With the datepicker datalist immediately thought of an idea where you could have an app where you would have dates stored in a DB or Object , iterate over them with JS and inject them into the datalist.

  • @Cobinja
    @Cobinja 2 роки тому +1

    In Firefox you can do a second click or a double-click on the textfield and it shows the dropdown

  • @someonewhowantedtobeahero3206
    @someonewhowantedtobeahero3206 2 роки тому +4

    The datalist tag seems really useful in some situations. I will definitely make use of them some time soon.
    Although, I must add that the native datepickers are one of the frustrating things to work with, specially if you are working with any format other than MM/DD/YYYY. I personally stick with fields and luxon since I have run into timezone issues with the native date pickers (although that probably was more due to my lack of expertise)

    • @dave6012
      @dave6012 2 роки тому +1

      Not to mention safari doesn’t even support input type=date 😬🔫

  • @welling1
    @welling1 2 роки тому +3

    This seems very valuable! However, the default Chrome behavior with the instantaneous drop-down and downward-facing arrow is horrible UX.

  • @staffel0232
    @staffel0232 2 роки тому +1

    Gracias!!!
    Aprendo mucho con cada video
    Saludos desde Colombia!

  • @timv1656
    @timv1656 2 роки тому

    Awesome, looking forward to playing around with this!

  • @nziokaaustin
    @nziokaaustin 2 роки тому

    Kevin: "No JS typing suggestions"
    My Mind: "NO JS?? This guy gotta be kidding me!"
    Thanks Kevin.

  • @user8ZAKC1X6KC
    @user8ZAKC1X6KC 2 роки тому

    Great video! Was anyone else distracted by the two different spellings of favorite? I'm sure which is my favourite though. lol

  • @atrus3823
    @atrus3823 2 роки тому

    Man, I learn so much on this channel!

  • @Stoney_Eagle
    @Stoney_Eagle 2 роки тому +1

    I love that t-shirt, very relatable 🤣

  • @vladimirpetroski7089
    @vladimirpetroski7089 2 роки тому

    A great video and an awesome suggestion Kevin, thanks so much, keep it up!

  • @nicoleshek3024
    @nicoleshek3024 2 роки тому +1

    Great video! Would you be able to use up/down arrow keys on the datalist drop down or would additional JavaScript need to be implemented? :)

  • @Gregorius421
    @Gregorius421 2 роки тому

    TIL. Thank you, Kevin!

  • @GilGoldshlager
    @GilGoldshlager 2 роки тому

    Sweet! didn't know about the datalist 👍

  • @MeezanTheFairBloke
    @MeezanTheFairBloke 2 роки тому

    Kevin the CSS boss! Thank you kind sir!

  • @collins4359
    @collins4359 2 роки тому +6

    Thought there would be a way to style datalists for autocomplete. That would be crazy. I worked with them before but had to move to js because I couldn't style it.

    • @KevinPowell
      @KevinPowell  2 роки тому +3

      Yeah, styling form elements is a no-go in a lot of situations.

  • @NNNedlog
    @NNNedlog 2 роки тому

    Your videos are always so helpful

  • @TheMetalMag
    @TheMetalMag 2 роки тому

    love your videos you are very skilled in CSS , I try to understand js cos people who see a site without will tell you you just don't have the skills for the developers;

  • @hardwired66
    @hardwired66 2 роки тому

    Very useful content, thank you sir

  • @avinashmurmu9070
    @avinashmurmu9070 2 роки тому

    wow that date input thing was really cool, but I think more standardisation needs to be done in terms of it value.

  • @honeyloops
    @honeyloops 2 роки тому

    Thanks Kevin
    Did you say it’s not possible to change the styles on the autocomplete in the first example? Would love to do something like Google serps

  • @geovahnitreasure340
    @geovahnitreasure340 2 роки тому

    Hey Kevin, love what you are doing. You have helped me alot in my journey in web development. However, what's your recommendation for learning more JavaScript? Maybe there is a channel or website that you recommend? Please let me know and thanks in advance.

  • @ed1nh0
    @ed1nh0 2 роки тому

    Dude, you're awesome! This is huge! 👍🏼👍🏼👍🏼👍🏼

  • @shezzor
    @shezzor 2 роки тому +1

    Form controls are so inconsistent between browsers and an absolute pain to get right to cover accessibility that there's a perfectly valid reason people don't use them directly.

  • @saurabhshukla2605
    @saurabhshukla2605 2 роки тому

    Amazing. Most on such tricks please. 😁😁😁😁😁

  • @devendrasinghbhadoriya234
    @devendrasinghbhadoriya234 2 роки тому

    Helpful video kevin 😊,

  • @DanielRios549
    @DanielRios549 2 роки тому

    This is amazing, I simply didn't know the existence of data-list. But what about styling? One thing I didn't like too much is the limitation when styling form elements, like a select, for example

  • @benedictt29
    @benedictt29 2 роки тому

    Thank you!

  • @Cobinja
    @Cobinja 2 роки тому

    It would be so nice for the range input if you could click on the datalist items and it autmagically adjusted the slider accordingly.

  • @sharakpl
    @sharakpl 2 роки тому

    9:22 date didn't change 😉 it seems when you make a datalist you can only choose from the options provided. Right?

  • @m12652
    @m12652 2 роки тому

    Brilliant!!!

  • @thecodetex
    @thecodetex 2 роки тому +1

    Amazinggg 👌👍

  • @bigmonke114
    @bigmonke114 11 місяців тому

    How do I change the style of a data list?

  • @sauravdutta5496
    @sauravdutta5496 Рік тому

    How do I add a link for each option sir?

  • @saeednoruzic
    @saeednoruzic 2 роки тому

    kevin its awesome how i can add image to options and style them the way i like them

  • @ttbooster
    @ttbooster 2 роки тому

    Where did you buy the awesome t shirt

  • @justepierre7330
    @justepierre7330 2 роки тому

    Hello, I am from France and for the date suggestions when I click on "others..." the date picker does not show up (I have tried with Brave and Edge), and I have changed the date format which is (dd/mm/yyyy) and it does not work either. I don't know if there is a solution yet. Thanks for the video, it was good anyway.

    • @justepierre7330
      @justepierre7330 2 роки тому

      It seems that these two browsers both use chromium. I will try to let them know.

    • @justepierre7330
      @justepierre7330 2 роки тому

      In Firefox, the datalist (with date input) does not work at all.

  • @mahadevovnl
    @mahadevovnl 2 роки тому

    The datalist does come with a bunch of limitations, though. Unfortunately it's hard to style input type text dropdowns and they don't seem to work very well with intuitive events. You can't have an onchange on the datalist, for example, nor an onclick on the options. Navigating down the list with your keyboard is also hard (if not impossible) to detect, last I checked. But I checked only about a year ago, so things might've changed by now.

    • @mahadevovnl
      @mahadevovnl 2 роки тому

      And one thing I remember being a pain was that the datalist option has a value attribute that is being displayed when you select it, but the textual value in between the option elements is just shown for the dropdown. I wish the latter would be used to show in the input as a human-readable option, and the value attribute would become the actual value of the input element.

    • @KevinPowell
      @KevinPowell  2 роки тому

      It's not perfect, and for more complex situations JS is definitely better, but for time where you have limited options or limited suggestions that you wan to give, I think it can be a nice solution.

  • @REAZNx
    @REAZNx 2 роки тому

    Before clicking on this vedio I though it would be CSS google autocomplete tips. That could make a really interesting video? Like the Wired channel does?

  • @Timooooooooooooooo
    @Timooooooooooooooo 2 роки тому

    Cool! Why does your address bar say astro.build?

  • @Elisha_GG
    @Elisha_GG 2 роки тому

    Kevin, this is magic outside of Hogwarts! Thx very much!

  • @CrazyCodingChannel
    @CrazyCodingChannel 2 роки тому +1

    Cool video, like

  • @GarethField
    @GarethField 2 роки тому

    Oh this was fun

  • @bobbysilver272
    @bobbysilver272 2 роки тому

    FYI, Kevin your music background is a bit load, especially early on.

  • @abubakrsiddiqakbarov9036
    @abubakrsiddiqakbarov9036 2 роки тому

    Oh Great. Thanks you brow

  • @wisdomelue
    @wisdomelue 2 роки тому

    very helpful

  • @whatthefunction9140
    @whatthefunction9140 2 роки тому

    apple flavored ice cream is very popular these days.

  • @MrSkinkarde
    @MrSkinkarde 2 роки тому

    I use JavaScript generated datalists

  • @arpitshukla4116
    @arpitshukla4116 2 роки тому

    Love your video sir.....

  • @stormyweather3587
    @stormyweather3587 2 роки тому

    hello Kevin can you tell me when will you stream on twitch ??

    • @KevinPowell
      @KevinPowell  2 роки тому

      I normally stream every Monday at 10am EST, though I missed this past week. I should be back for the next 2 weeks again though, before taking a break over the holidays.

  • @kyawzayannaing8007
    @kyawzayannaing8007 2 роки тому

    Should I dive deep into CSS or into bootstrap sir?

    • @KevinPowell
      @KevinPowell  2 роки тому +4

      Bootstrap is built with CSS, so if you learn CSS, you can use Bootstrap without too much of a learning curve, and also use other frameworks as well pretty quickly. Always learn the tech something is built on :D

    • @kyawzayannaing8007
      @kyawzayannaing8007 2 роки тому

      @@KevinPowell thank you sir your online student from Myanmar !!!

  • @jankrupinski1162
    @jankrupinski1162 2 роки тому

    Is this possible with input with password type?

  • @sharkinahat
    @sharkinahat 2 роки тому

    Will we ever get styles for forms?

    • @KevinPowell
      @KevinPowell  2 роки тому

      We do have accent-color now, which is a nice first step, and I've heard some rumblings on a few other things that might be in the works.

  • @RafaelSamahaGritti
    @RafaelSamahaGritti 2 роки тому

    Could you make one tutorial using Javascript? :)

    • @KevinPowell
      @KevinPowell  2 роки тому

      For this, or just in general? I use JS when needed for certain things, but granted, for the type of content I have here, that's not too often :)

    • @RafaelSamahaGritti
      @RafaelSamahaGritti 2 роки тому

      @@KevinPowell for this, changing and creating components that can be styled. This standard solutions sometimes don't look pretty for all purposes and are not dynamic. Your CSS tutorials are awesome btw, they are helping me a lot.

  • @rezarahman1782
    @rezarahman1782 2 роки тому

    Hey Kevin. Thanks for another muster piece. Please use little javascript on your tutorials so that we can learn the use of it.

    • @KevinPowell
      @KevinPowell  2 роки тому +1

      I do, when it's needed for what I'm looking at... which isn't very often, lol. But if I need some, I'll use it :)

  • @omarabdelatif1367
    @omarabdelatif1367 2 роки тому

    hi your fan from egypt... could you make a react js course?

    • @KevinPowell
      @KevinPowell  2 роки тому

      I'm not the right person, I only have a passing knowledge of React :)

  • @mosesjurassic3686
    @mosesjurassic3686 2 роки тому

    Most interesting, thank you very much. The Chrome behaviour is just idiotic. Why on earth would anybody want this feature look like a dropdown? This is a gross idea.

  • @adrianocoelho157
    @adrianocoelho157 2 роки тому

    Anda boleh memilih untuk salah satu daripada hadiah di atas

  • @richardmortid3298
    @richardmortid3298 2 роки тому

    Это было круто и неожиданно

  • @trentreimer130
    @trentreimer130 2 роки тому

    I can't believe ANY numeric date format other than ISO continues to persist this far into the 21st century. Why on earth would anyone want to know, immediately and exactly, what date is meant when we can all keep guessing?
    "OK, is this January 6th 2004, April 1st 2006, June 4th 2001, April 6th 2001,..."

  • @MyatMinSoe
    @MyatMinSoe 2 роки тому

    Nice one but thumbnail is kinda misleading.

  • @yesimthatguy...6952
    @yesimthatguy...6952 2 роки тому

    Some times Sir Kevin knows more about the language usage and tools than the makers...lol

  • @esoftwebar
    @esoftwebar 2 роки тому

    1st view! Just love your videos🤩

  • @studiosoftmorecambe6879
    @studiosoftmorecambe6879 2 роки тому

    Ah a complicated version of a select menu - but why do you insist of looking for a complicated solution for a simple problem? In the real world a web designer needs to know the choice of the visitor from a fixed set of options.