You Don’t Need JavaScript for That, by Kevin Powell

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

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

  • @killerwolle88
    @killerwolle88 День назад +8

    Form vlidation:
    front-end: for the user,
    back-end: for yourself

  • @merotuts9819
    @merotuts9819 День назад +3

    Lord KP on JetBrains 🤩

  • @MrWhiteav6
    @MrWhiteav6 День назад

    Incredible stuff Kevin! Love your positivity brother and your knowledge is seemingly infinite 🎉

  • @nulljeroka
    @nulljeroka 2 дня назад

    Awesome!

  • @phillduffy
    @phillduffy День назад +1

    Hello Frontend Friends!

  • @NickTheCodeMechanic
    @NickTheCodeMechanic День назад

    For the password, I'd modify the regex to limit the total number of word chars and number chars, respectively. E.g. (?=....){,8}(?=...){,4}, where the first group your word chars and your 2nd your numbers.
    Also, I get the ^ and $. Those makes sense, maybe. But the `.*` and `.+`, why would that be allowed in a password field when you already have ^ and $ bounding (but not limiting) user input?
    I'd test it to see if you can't copy paste a whole script in there... I know I'm probably nit picking, but regex is kind of my thing (literally just finished a refactoring engine using regexes).