Creating a Simple Implementation of a Promise with .then Chaining

In JavaScript, Promises are a powerful way to handle asynchronous operations. They provide a mechanism to execute code after an asynchronous task completes, with support for chaining multiple tasks using the .then method. In this blog post, we’ll explore how to implement a basic version of a Promise from scratch, including support for .then, .catch, … Read more

Deep Cloning an Object in JavaScript

When working with JavaScript objects, you may encounter situations where you need to create an exact copy of an object. However, simply copying an object with assignment (=) or even using methods like Object.assign() creates a shallow copy. This means that nested objects or arrays within the original object will still reference the same memory … Read more

Automate Removing Whitespace from Every Line in Google Docs with Google Apps Script

If you frequently work with Google Docs, you might encounter documents with inconsistent whitespace at the beginning or end of lines. Manually removing these spaces can be tedious and time-consuming. Fortunately, Google Apps Script provides a way to automate this task, ensuring your document is clean and well-formatted. In this blog post, we’ll walk through … Read more

Automate Formatting Questions with Google Apps Script

If you regularly work with Google Docs, you might find yourself manually formatting text to improve readability. For instance, you might want to highlight questions in your document by converting them into headings. With Google Apps Script, you can automate this process, saving time and effort. In this blog post, we’ll walk through a script … Read more

Advanced JavaScript: 10 Challenging Coding Exercises

As you continue your journey in mastering JavaScript, tackling more complex and challenging exercises can significantly enhance your coding skills. Here are 10 advanced JavaScript exercises designed to push your understanding and help you become a more proficient developer. Each exercise includes complete code and explanations. Exercise 1: Implementing a Debounce Function Objective: Create a … Read more

Creating a Table of Contents in Google Docs Using Google Apps Script

Google Apps Script is a powerful tool that allows you to automate tasks and extend the functionality of Google Apps. In this blog post, we will explore how to create a Table of Contents (TOC) in a Google Docs document using Google Apps Script. This is particularly useful if you have a lengthy document with … Read more

Advanced Email Template Interaction with Google Apps Script

Creating dynamic and interactive email templates with Google Apps Script can significantly enhance your customer interaction and streamline your workflow. In this blog post, we’ll walk you through how to create email templates with buttons that interact with your Google Sheet or send customized responses directly to your customers. Step 1: Set Up Your Google … Read more

How to Use Google Apps Script to Create a Contact List

Creating a contact list using Google Apps Script is a practical way to manage contacts efficiently within Google Sheets. This blog post will guide you through the steps to set up a contact list, write the necessary script, and understand each part of the code. Step 1: Set Up Your Google Sheet First, create a … Read more

How to Get All Existing Results from a Google Sheet and Display Them in a Web App HTML Table using Google Apps Script

steps to retrieve all existing results from a Google Sheet and display them back into a web app using an HTML table. Google Apps Script makes it easy to connect your Google Sheets data with a custom web interface. Step 1: Set Up Your Google Sheet First, make sure you have a Google Sheet with … Read more

Free First 2 chapters FrontEnd Code PlayGround HTML CSS and JavaScript Exercises to Develop Your Skills

🚀 Free on Kindle Until June 8th, 2024! 🚀 Get source code for this book at https://github.com/lsvekis/FrontEnd-Code-PlayGround Amazon US https://www.amazon.com/dp/B0D2G6BG3J CAN https://www.amazon.ca/dp/B0D2G6BG3J “FrontEnd Code Playground: HTML, CSS, and JavaScript Exercises to Develop Your Skills” is a comprehensive guide designed to accelerate your learning journey in front-end development. Authored by Laurence Lars Svekis, a seasoned web … Read more