JS String Methods - Part 0
I realized I forgot toUpperCase() and toLowerCase(), so here's Part 0 of JavaScript String Methods!
Read moreI realized I forgot toUpperCase() and toLowerCase(), so here's Part 0 of JavaScript String Methods!
Read morematch() and matchAll(), a RegExp lover's dream (and also a cool playground)
Read moreendsWith() and startsWith(). Strings only, sorry not sorry RegEx.
Read moreindexOf() and lastIndexOf(). Add includes() to the mix and we can try to skirt RegExp, yay!
Read moresearch() and includes() for RegExp-related fun and joy, respectively. One of them doesn't accept RegExp as a parameter.
Read moreDisplaying a success or error message after submitting, while staying on the same page
Read moreDisplaying a success or error message after submitting, while staying on the same page
Read morecharAt(), charCodeAt(), fromCharCode() and at(). Spoiler alert: JavaScript has a Unicode problem.
Read moresplit(). Ok, so join() isn't a String method but they look so good together!
Read moreIn case CSS display block and display none don’t cut it, here’s a way to move a child element to another parent
Read moreNavigation bar is absolutely positioned at first, but gets a sticky class added if user scrolls far down enough
Read moreConfession time: deciding on the aesthethics took more time than it should have, and by the time I was done I was already thinking of a layout change.
Read more