Ridiculously lightweight, responsive CSS & SVG device shapes

We’ve all come across startup or app websites that display their product within a realistic smartphone or laptop image. Sometimes it’s used to show that the app or website is responsive and has been built for multiple platforms. When working on one particular project, I decided against using stock images for a variety of reasons … Read moreRidiculously lightweight, responsive CSS & SVG device shapes

How to determine whether a time is the start of a day in vanilla javascript

Let’s say you have an endpoint returning the hourly prices for gold. But you don’t want to display hourly values, you want to only display the value at the start of a new day (i.e. at midnight). How do you go about it? This was a problem I faced working on a project and I … Read moreHow to determine whether a time is the start of a day in vanilla javascript