JavaScript waitForTime
6.11.2019
I write a lot of tests for new features within Firefox DevTools. We have hundreds of “mochitests” which open the browser and perform synthetic actions like clicking, typing, and other user actions. I’ve previously written about waitForever which essentially halts following actions...
Show Search Button when Search Field is Non-Empty
5.11.2019
I think the :placeholder-shown selector is tremendously cool. It allows you to select the placeholder of an input (<input placeholder="...">) when that placeholder is present. Meaning, the input does not yet have any value. You might think input[value] could do that, or help match on...
Making a Chart? Try Using Mobx State Tree to Power the Data
5.11.2019
Who loves charts? Everyone, right? There are lots of ways to create them, including a number of libraries. There’s D3.js, Chart.js, amCharts, Highcharts, and Chartist, to name only a few of many, many options.
But we don’t necessary need a chart library to create charts. Take Mobx-state-tree (MST)...
Creative WebGL Image Transitions
5.11.2019
A set of interesting looking image transitions including distortion and warp effects made with WebGL.
Creative WebGL Image Transitions was written by Yuriy Artyukh and published on Codrops
Simple Scraping API with zenscrape (Sponsored)
5.11.2019
So many developers believe that scraping a URL’s content is easy — just a simple curl and you’re done, right? Nope. CAPTCHAs, rate limitations, origin-specific limitations — they make getting content off the web a nightmare. Luckily we now have services like zenscrape which...
The Essential Guide to Web Design for Thanksgiving
5.11.2019
Autumn is notoriously famous for causing a seasonal affective disorder. It brings less sunny days, chilly mornings, and rains; however, it still has some happy moments, and Thanksgiving is...
The post The Essential Guide to Web Design for Thanksgiving appeared first on Onextrapixel
Float Element in the Middle of a Paragraph
4.11.2019
Say you want to have an image (or any other element) visually float left into a paragraph of text. But like... in the middle of the paragraph, not right at the top. It's doable, but it's certainly in the realm of CSS trickery!
One thing you can do is slap the image right in the middle of...
The Trick to Animating the Dot on the Letter “i”
4.11.2019
Here’s the trick: by combining the Turkish letter "ı" and the period "." we can create something that looks like the letter "i," but is made from two separate elements. This opens us up to some fun options to style or animate the dot of the letter independently from the stalk. Worried about...
5 Easy Ways to Earn Cryptocurrency
4.11.2019
The days of individuals mining popular cryptocurrencies are over. The amount of time and energy required to mine bitcoin is immense and you’d be competing with business with massive mining farms. What you can do, however, is chip away at earning cryptocurrency via a few simple tasks that...
Skeuomorphism is Still Alive – Examples of Food Websites
4.11.2019
There are many good examples of food websites. From goliaths of the industry such as Starbucks or Coca-Cola to less-known local bistros, we can stumble upon stunning restaurant branding...
The post Skeuomorphism is Still Alive – Examples of Food Websites appeared first on Onextrapixel
Become a Front-End Master in 2020 With These 10 Project Ideas
1.11.2019
This is a little updated cross-post from a quickie article I wrote on DEV. I'm publishing here 'cuz I'm all IndieWeb like that.
I love this post by Simon Holdorf. He's got some ideas for how to level up your skills as a front-end developer next year. Here they are:
Build a movie search app using...
A Look at JAMstack’s Speed, By the Numbers
1.11.2019
People say JAMstack sites are fast — let’s find out why by looking at real performance metrics! We’ll cover common metrics, like Time to First Byte (TTFB) among others, then compare data across a wide section of sites to see how different ways to slice those sites up compare.
First, I’d like...