• Using Modules in Node.js

    Posted on  • tagged with #nodejs#javascript

    Files can become quite large in a Node.js project. Modules provide developers a "modular" approach by putting related code into separate files and then exporting them to be used elsewhere.

  • Remove duplicates in Arrays

    Posted on  • tagged with #javascript

    Removing duplicate values from an array is quite a common task in programming. Sometimes, specific scenarios require a collection of data to only store unique values. That is, no repeated values.

  • Generate a Fibonacci sequence

    Posted on  • tagged with #javascript

    The Fibonacci sequence is a series of numbers where each number in the sequence is the sum of the two preceding numbers. This sequence begins with 0 and 1.

  • What is an Array in JavaScript?

    Posted on  • tagged with #javascript

    In JavaScript, arrays are predefined objects, where the indexes are the arrays properties. They can hold a collection of values with differing data types. The array is a go-to data structure for common list related tasks.

  • Intro to Sorting Arrays

    Posted on  • tagged with #javascript

    Arrays are a very common data structure for storing a collection of values in JavaScript. Sometimes, we need to sort the data in ascending or descending order for certain situations.

  • Using Git for Contributing to Open Source

    Posted on  • tagged with #git

    To begin contributing to open-source software, you might want to become familiar with Git. Understanding the workflow of creating your own local copy of a repository and keeping it up to date with the upstream repository is integral to start creating PRs in public projects.

  • Add Search to a Static Site Using Custom Data Attributes

    Posted on  • tagged with #javascript#eleventy

    Creating search functionality for a static site isn't always easy. Luckily, using custom data attributes and a bit of JavaScript. You can filter blog posts by comparing the search input to post titles and visually hide posts that don't match the search query.

  • Understanding CSS Combinators

    Posted on  • tagged with #css#html

    Sometimes you need to select elements from the page for styling but don't want to write the class or ID selector many times in your stylesheet. This is where CSS combinators come into play.

  • Create a Custom Collection with Eleventy

    Posted on  • tagged with #eleventy#nunjucks#html

    If you've built sites using Eleventy, you're probably familiar with collections. Using the Configuration API allows for creating custom collections which can be useful to only show certain posts on your site.

  • An Introduction to Client-side JavaScript

    Posted on  • tagged with #html#javascript

    Have you ever thought to yourself while building a website, how could I create HTML elements and bind them to the DOM? This article explains some of the fundamentals for interacting with the DOM tree using client-side JavaScript.

Filter Posts by Tag