Less Known Input Types in HTML

Поделиться
HTML-код
  • Опубликовано: 19 май 2024
  • Source code can be found here:
    code-vault.net/lesson/3xyr0d0...
    ===== Support us through our store =====
    code-vault.net/shop
    ===== Check out our website =====
    code-vault.net
    ===== Check out our Discord server =====
    discord.code-vault.net

Комментарии • 3

  • @burgasdragonheirsilentgods
    @burgasdragonheirsilentgods 3 года назад

    Cool video and lecture ! Great content !!!

  • @IBITZEE
    @IBITZEE 2 года назад

    great... thanks....

  • @MacoveiVlad
    @MacoveiVlad 3 года назад

    Sadly Firefox does not play nice with datetime-local and its date picker is not that good. I mitigate this by validating the field with a regex and including the expected pattern in the error message (frameworks make this easier). Also, the backends I've worked with were robust enough to handle datetime strings without the T between the date and time. So the patter i use accepts both the version with the T for browsers that support datetime-locale and without the T for a more human looking datetime string.