Payment and address form best practices

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

КОМЕНТАРІ • 21

  • @marcusbrsp
    @marcusbrsp 3 роки тому +4

    "Thanks, Alley."

  • @JamesJansson
    @JamesJansson 3 роки тому +5

    Post codes in Australia can contain hundreds of thousands of buildings!

    • @samueldutton
      @samueldutton 3 роки тому +1

      Ah - yes. Grew up in 5373 :).

  • @themarksmith
    @themarksmith 3 роки тому +6

    Useful stuff, thanks!

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

    I am from Germany and can validate that statement ^^
    I am wondering how there could be such a little amount of streets in other countries belonging to one Zip Code 🤯

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

    useful, thanks guys!

  • @jamesfoley4426
    @jamesfoley4426 3 роки тому

    Sam on the code lab I see that the form elements are nested in section elements. I was wondering why you use the section element as a container for the form element controls. . Is it for accessibility reasons or some other reason that you can share? Just curious as I use a div element to contain my label and input elements. Great content by the way. Developer Gold

  • @DioArsya
    @DioArsya 3 роки тому

    is it better to combine the input inside the label or using for and id technique?

    • @samueldutton
      @samueldutton 3 роки тому +1

      That's a good point, and I should have covered it in the video. From what I've seen and heard, including the specs, either is OK. Personally, I keep the label element separate. I prefer styling like that, and to me the code is slightly more readable with separate elements - it feels a bit odd to have a label 'containing' an input. 🤷🏻‍♂️ There's some interesting discussion here: stackoverflow.com/questions/774054/should-i-put-input-elements-inside-a-label-element

  • @DenisTRUFFAUT
    @DenisTRUFFAUT 4 роки тому +3

    12:11 'françoise'.match(/[\p{L} ]+/gmu) -> ["françoise"]
    '𒀀𒀃𒀆𒀟𒈫𒇺𒌐𒉺'.match(/[\p{L} ]+/gmu) -> ["𒀀𒀃𒀆𒀟𒈫𒇺𒌐𒉺"]
    It requires the u (unicode) modifier

    • @samueldutton
      @samueldutton 3 роки тому +1

      That's in the video, right? Or did I miss something? Probably :).

  • @lauraowens8129
    @lauraowens8129 3 роки тому

    I don't know u what did u guys do

  • @Textras
    @Textras 4 роки тому

    🤑💸🤷‍♂️📃