10 afleveringen

A podcast centered around web development technologies, like HTML, CSS and JavaScript, that takes a few lines of functional code and deep-dives into what’s going on. Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support

Code Snippet Andrew Walpole

    • Technologie

A podcast centered around web development technologies, like HTML, CSS and JavaScript, that takes a few lines of functional code and deep-dives into what’s going on. Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support

    Using Bitmasks for Efficient App Configurations

    Using Bitmasks for Efficient App Configurations

    In this episode, we look at 2 functions to encode and decode a bitmask for a set of configuration flags. This is a great way to efficiently store user or app settings. As always, the code for this snippet can be found here:

    https://codepen.io/walpolea/pen/WNNwaBq?editors=0012


    ---

    Send in a voice message: https://podcasters.spotify.com/pod/show/codesnippet/message
    Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support

    • 21 min.
    Easier Layouts with CSS box-sizing

    Easier Layouts with CSS box-sizing

    In this episode, we take a look at a very common practice of  changing the box-sizing property on all HTML elements using CSS to help us do less math and create easier and more maintainable layouts. As always you can find this episode's code here:

    https://codepen.io/walpolea/pen/MWgxrNY?editors=1100


    ---

    Send in a voice message: https://podcasters.spotify.com/pod/show/codesnippet/message
    Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support

    • 8 min.
    CSS Grid Named Area Layouts

    CSS Grid Named Area Layouts

    In this episode we look at a powerful CSS Grid feature; named areas! Named areas let you have specific control over where items in your grid layout are placed, letting you take the same semantic HTML content and providing multiple, pure css, ways of laying out the content. As always, you can view the code here:

    https://codepen.io/walpolea/pen/wvwQEPL?editors=1100


    ---

    Send in a voice message: https://podcasters.spotify.com/pod/show/codesnippet/message
    Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support

    • 23 min.
    Destructured Function Parameters

    Destructured Function Parameters

    In this episode, we look at using destructured function parameters as an alternative way to pass information via objects into functions. The code to this weeks code snippet can be found here:

    https://codepen.io/walpolea/pen/VwZXaVV


    ---

    Send in a voice message: https://podcasters.spotify.com/pod/show/codesnippet/message
    Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support

    • 9 min.
    Using Spread with Objects and Arrays

    Using Spread with Objects and Arrays

    In this episode we look at the spread operator and how it is used to make quick work of merging and shallow-copying Arrays and Objects. If you'd like to follow along, the link to today's snippet code is here:

    https://codepen.io/walpolea/pen/bGboQyZ


    ---

    Send in a voice message: https://podcasters.spotify.com/pod/show/codesnippet/message
    Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support

    • 10 min.
    Using URLSearchParams Web API to Preserve Page State

    Using URLSearchParams Web API to Preserve Page State

    In this episode we look at the URLSearchParams Web API which allows you to query, check and modify URL parameters using JavaScript. As always, you can check out this episode's snippet here:

    https://codepen.io/walpolea/pen/QWLdwPR?darkmode

    And if you want to learn more about the URLSearchParams API, here's the documentation:

    https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams


    ---

    Send in a voice message: https://podcasters.spotify.com/pod/show/codesnippet/message
    Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support

    • 9 min.

Top-podcasts in Technologie

De Technoloog | BNR
BNR Nieuwsradio
✨Poki - Podcast over Kunstmatige Intelligentie AI
Alexander Klöpping & Wietse Hage
Lex Fridman Podcast
Lex Fridman
Bright Podcast
Bright B.V.
Cryptocast | BNR
BNR Nieuwsradio
Tweakers Podcast
Tweakers