Web developers know the fight we’ve all had to improve fonts on the web. Whether it be load time, odd strategies for using custom fonts (Cufon, anyone?), or just finding the right font itself, beautifying text on the web has never come easy. That got me thinking about fonts and CSS gradients, since gradients also […]
The post CSS Gradient Text appeared first on David Walsh Blog.
What comes to mind when you think of visiting a web page? It might not work quite the way you assume. And in order to code, you’ve got to learn to think the way your browser does. Get to know…
The post What Is A Web Browser? appeared first on Treehouse Blog.
The post Detect if Element is a Web Component appeared first on David Walsh Blog.
Sometimes, it feels like people who can code seem like they have superpowers. But what is code, anyway? Code is all around us. Code is used in things like computers, phones, self-driving cars, and all other…
The post What Is Code? appeared first on Treehouse Blog.
Thinking about learning Python? That’s a great idea. What is Python? Python is a general purpose programming language that is used for a variety of different web applications. It was designed to be very easy to…
The post Why You Should Learn Python appeared first on Treehouse Blog.
There was much talk about Array.prototype.flat during its early stages, starting with the name alone. Many developers preferred the name flatten but the spec differed from MooTools’ implementation. MooTools would recursively flatten an array but the new, official flat implementation was only one level of flattening. The current implementation of Array.prototype.flat is: [1, 2, , […]
The post Recursive Array.flat appeared first on David Walsh Blog.
Every developer who specializes in any programming language will tell you there’s a powerful tool the language provides that they rarely use and wish they knew more about. For me, it’s Array.prototype.reduce. I quite enjoy the other Array methods like map, filter, and find, but reduce is one that I knew was powerful but never […]
The post Using Array reduce appeared first on David Walsh Blog.
One of my favorite media utilities is ffmpeg. This command line utility allows us to do some pretty amazing stuff like; Slice videos Convert video formats Modify video speed Combine audio and video Every once in a while I see a meme or funny video that reverses a video for effect. Since ffmpeg does just […]
The post How to Reverse a Video appeared first on David Walsh Blog.