Get and Set Query String Parameters With JavaScript
#javascriptYou used to have to write your own JavaScript function to get and set query string parameters, but the modern way to do it is to use URLSearchParams
.
You used to have to write your own JavaScript function to get and set query string parameters, but the modern way to do it is to use URLSearchParams
.
Skip links are an important accessibility tool for skipping repeating blocks of content. We will look at why you should use them, example websites and how to style them.
Multiline text truncation is a classic problem, which over the years has been a little bit tricky do if you want an ellipsis at the end. However, now it’s super simple.
JavaScript has some super built in internationalisation features and Intl.NumberFormat
is the one to use for displaying numbers and prices.
NES.css is a super fun Nintendo inspired CSS project, especially if you are a fan of 8bit games.
I am a good person, which means that I always aim to make any website I work on accessible, so I have created a little website to try to help improve website accessibility called Accessibility Reporter.
The Web Share API allows websites to use native device sharing, which is pretty cool.
I love projects where people make things just because they can rather than because a client wants them to and 98.css is definitely one of these.
There are many different properties on KeyboardEvent including code
, location
, key
, keyCode
, metaKey
and which
among others, but which one should you use?
CanIUse.com is an invaluable source of information for web developers providing cross browser information on the latest HTML, CSS and JavaScript specs. However, it doesn’t provide an official embed for displaying this excellent information on your own website.