February 8, 2023 in Learn
Increase Site Performance With CSS Hardware Acceleration
Did you know that we can hardware-accelerate graphics-intensive CSS features by offloading them to the GPU (Graphics Processing Unit) for better rendering performance in the browser? Computers have graphics cards suitable for CSS hardware acceleration. Because of this, we can…
February 8, 2023 in Learn
How to Manipulate Classes Using the JavaScript classList API
Something that comes up often when building front-end web applications is the need to change the classes applied to an element. For some time elements have had a className attribute which allows you to retrieve a string containing the class…
January 18, 2023 in Learn
The Beginner’s Guide to Objective-C: Classes and Objects
Objective-C is an object-oriented programming language. There are two key elements of the programming language, including the Objective-C class and the object. Let’s dive deeper into these elements so you can better understand the basics. This article is the third…
January 18, 2023 in Learn
Python Freelancing: The Good, the Bad, and the Ugly
It’s safe to say that us developers enjoy programming day in and day out. We also really like making money and being able to feed ourselves and our families. But, we may not want to necessarily work in an office…
January 18, 2023 in Learn
How to Create a CSS Sprite Animation With steps()
There’s a little-known timing function in CSS animations that lets us break an animation into segments––or steps––instead of running it as one continuous animation from start to finish. This function is useful for creating sprite animation because we’re able to…
January 18, 2023 in Learn
How to Use the Browser Developer Tools Console
The browser developer tools console is one of the most powerful tools available to you when it comes to debugging your front-end web applications. The console has an API that provides several methods that make debugging easier. It’s not uncommon…
December 21, 2022 in Learn
How to Use the Double Ampersand Selector in Sass
The Sass ampersand (&) symbol is used to reference the parent selector in a nested rule. For example, the following targets .btn on :hover: .btn { … &:hover { background: dodgerblue; } } We can also place the & after…
December 21, 2022 in Learn
How to Memorize Codes: Tips & Tricks
One of the most common questions I get from students is: “What’s the best way to retain what I’m learning?” Students may think they understand the lessons and concepts being taught, but later struggle putting it all into practice. Writing…
December 15, 2022 in Learn
What is JavaScript?
This blog post was written by chatGPT. The Treehouse team is experimenting with this exciting new service and so thought we would ask it a few questions and see how it compares to similar content! If you’re wondering what is…
December 13, 2022 in Learn
JavaScript Array Methods: reduce()
The reduce() method in JavaScript is used to apply a function to each element in an array, with the purpose of reducing the array to a single value. This method is often used for tasks such as summing the elements…
December 13, 2022 in Learn
JavaScript Array Methods: includes()
Ever wondered if an array included a specific value? There is an easy way to check this by using a JavaScript array method known as includes(). Follow along as I go over this method and show you how to use…
December 9, 2022 in Learn
JavaScript Array Methods: sort()
Ever found yourself needing to sort an array? This could be strings being sorted in alphabetical order or even a players’ scores from highest to lowest. Whichever the case may be, the JavaScript sort() method can make this task easy….