Search

Nalezeno "NOT": 4990

How to Fetch and Parse RSS Feeds in JavaScript


Say you have an RSS feed like this one. The goal is to request that RSS feed, parse it, and do something useful with the data in it. RSS is XML, and XML is arguably not as easy to work with than JSON. While a lot of APIs offer JSON responses, it's less typical for RSS, although it does exist. Let's...

Ukraine Says it Will Not Regulate Cryptocurrency Mining + More News


Crypto Briefs is your daily, bite-sized digest of cryptocurrency and blockchain-related news – investigating the stories flying under the radar of today’s crypto news. Crypto mining news The Ukrainian government has indicated that it will take a laissez-faire attitude to crypto mining. Per...

Defi Market Surpasses $1 Billion – But There’s a Catch


The total value locked (TVL) in decentralized finance applications has surpassed $1 billion, prompting celebrations from the Ethereum community. Not everyone has been swift to toast the milestone, however, with suggestions that the true value locked into defi protocols is materially lower....

How to Buy Bitcoin in the Philippines


The Philippines has many places you can buy bitcoin from. Not only has the Bangko Sentral ng Pilipinas licensed some cryptocurrency exchanges, but there are also peer-to-peer marketplaces, bitcoin ATMs, and other services to help you. This guide will show you where and how to buy bitcoin in...

Getting Fancy with position: sticky;


Mike Solomon worked on a fancy scrollytelling post for Esquire and blogged about it. It has GIFs of each step along the way of figuring out not just position: sticky; but also using negative margins, wrapper divs, backgrounds, and even a smidge of JavaScript measuring to get it all right. What...

Building an accessible autocomplete control


Here’s a great in-depth post from Adam Silver about his journey to create an autocomplete field that’s as accessible as possible. There are so many edge cases to consider! There are old browsers and their peculiar quirks, there are accessibility best practices for screen readers, and not to mention...

Native Image Lazy Loading in Chrome Is Way Too Eager


Interesting research from Aaron Peters on <img loading="lazy" ... >: On my 13 inch macbook, with Dock positioned on the left, the viewport height in Chrome is 786 pixels so images with loading="lazy" that are more than 4x the viewport down the page are eagerly fetched by Chrome...

CSS4 is a Bad Idea


Louis Lazaris, reacting to the idea of CSS4: The reason “CSS3” worked is because it was real. It was the successor to “CSS2.1”. Everything after CSS2.1 was considered to be under the umbrella of “CSS3”. The gist is that CSS4 isn't real, so won't work, and we don't need it anyway. Perhaps...

Creating an Editable Webpage With Google Spreadsheets and Tabletop.js


Please raise your hand if you’ve ever faced never-ending content revision requests from your clients. It’s not that the changes themselves are difficult, but wouldn't it be less complicated if clients could just make the revisions themselves? That would save everyone valuable time, and  allow...

Select an Element with a Non-Empty Attribute


Short answer: [data-foo]:not([data-foo=""] { Longer answer (same conclusion, just an explanation on why we might need this): Say you have an element that you style with a special data-attribute: <div data-highlight="product"</div You want to target that element and do special things when...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace