Fireship · @fireship

21 Awesome Web Features you’re not using yet

Uploaded May 30, 2023 · Length 8:31

21 Awesome Web Features you’re not using yet

Summary

Discover 21 web features you're not using yet, including native HTML dialogues, web GPU, container queries, color mix, CSS nesting, and more.

  • web development
  • html dialogues
  • web gpu
  • container queries
  • css nesting
  • color mix
  • web performance
  • javascript features
  • web features

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    if you're a web developer be prepared to

  2. 0:01

    have your mind blown did you know it

  3. 0:03

    takes longer to say www than it does to

  4. 0:06

    just say world wide web and that one

  5. 0:08

    little change could add hundreds of

  6. 0:09

    milliseconds to your productivity had I

  7. 0:11

    known that 15 years ago I'd probably

  8. 0:12

    have my own space exploration Company by

  9. 0:15

    now but instead I'm still just building

  10. 0:16

    crappy websites speaking of which while

  11. 0:18

    we've all been distracted by the

  12. 0:19

    terrifyingly overhyped rise of

  13. 0:21

    artificial intelligence the web platform

  14. 0:23

    has landed some game-changing new

  15. 0:24

    features that you probably haven't heard

  16. 0:26

    of yet and will change the way we build

  17. 0:27

    websites forever and that's not even

  18. 0:29

    hyperbole the first feature on this list

  19. 0:31

    is huge the native HTML dialogue I first

  20. 0:33

    mentioned this feature about a year ago

  21. 0:35

    but now it's fully supported on all

  22. 0:36

    major browsers and what it does is make

  23. 0:38

    it way easier to build your own modal

  24. 0:40

    Windows normally to build a modal from

  25. 0:42

    scratch you need a full screen backdrop

  26. 0:43

    then a window that sits on top of it and

  27. 0:45

    a bunch of hacked together JavaScript to

  28. 0:47

    show and hide these elements it's always

  29. 0:49

    felt way harder than it should be but

  30. 0:50

    now we have the dialogue which is just a

  31. 0:52

    regular HTML element that you can

  32. 0:54

    reference by its ID and has a few

  33. 0:56

    built-in JavaScript methods to show and

  34. 0:58

    hide it for example to show them modal

  35. 1:00

    we can run the show modal method and it

  36. 1:02

    magically appears in the UI with a

  37. 1:03

    backdrop the backdrop itself has its own

  38. 1:06

    pseudo element that can be styled with

  39. 1:07

    CSS we can then close the modal by

  40. 1:09

    either submitting a form inside of it

  41. 1:11

    with a method of dialog or by calling

  42. 1:13

    its close method on some other event

  43. 1:15

    this makes life so much easier because

  44. 1:16

    you can animate it using simple CSS

  45. 1:18

    Transitions and speaking of making your

  46. 1:20

    life easier today's sponsor is clerk who

  47. 1:22

    provides the most beautiful user

  48. 1:23

    authentication solution I've ever seen

  49. 1:25

    by dropping a few components into your

  50. 1:27

    favorite full stack framework you get a

  51. 1:28

    professional UI that can handle a

  52. 1:30

    variety of different sign-in methods

  53. 1:31

    like passwords magic links social

  54. 1:33

    sign-on and multi-factor off once signed

  55. 1:36

    in developers can easily access the

  56. 1:38

    current user from both front end and

  57. 1:39

    back-end environments in addition clerk

  58. 1:41

    provides the UI for users to customize

  59. 1:43

    their own data and handles Advanced

  60. 1:45

    security requirements like session

  61. 1:47

    management per device features that

  62. 1:48

    could take weeks to roll out on your own

  63. 1:50

    and the UI is fully customizable I had a

  64. 1:52

    lot of fun switching from retro to

  65. 1:54

    neo-brutalism these components can be

  66. 1:55

    dropped into any react framework and

  67. 1:57

    play well with popular back ends like

  68. 1:59

    Firebase and has a free tier up to 5000