Updating a Paragraph in a Google Doc to an H4 Heading Using Google Apps Script

Google Apps Script is a powerful tool that allows you to automate tasks across Google Workspace applications. In this blog post, we’ll walk through how to use Apps Script to update a specific paragraph in a Google Doc that contains only the words “Multiple Choice Questions” and change its formatting to an H4 heading. Step-by-Step … Read more

First Chapters Book Google Apps Script Sheets Custom Functions 150 Apps Script Code Examples for Sheets

Book Source Code on GitHub https://github.com/lsvekis/Sheets-Custom-Formulas-Book Get the Best Selling Book Free for the next 4 days US https://www.amazon.com/dp/B0D59Q4J1T CAN https://www.amazon.ca/dp/B0D59Q4J1T 1 : Mastering Basic Custom Functions In this opening chapter, we introduce the foundational concepts of Google Apps Script for custom functions in Google Sheets. Begin by learning how to create simple functions that … Read more

New Book Apps Script Code Google Apps Script Playground Free First 2 Chapters

Explore Coding with 120 Interactive Exercises for All Skill Levels US https://www.amazon.com/dp/B0D3TZXG39 CAN https://www.amazon.ca/dp/B0D3TZXG39 “Coding with Google Apps Script: A Step-by-Step Journey”, authored by Laurence Lars Svekis, serves as a comprehensive guide for anyone keen on mastering Google Apps Script (GAS) through interactive and practical learning. Designed to cater to all skill levels, this book … Read more

Understanding Promise all in JavaScript: A Guide with Examples

The Role of Promise.all Promise.all is a powerful method that takes an iterable of Promise instances as an input and returns a single Promise that resolves when all of the input Promises have resolved, or rejects as soon as one of the input Promises is rejected. This method is particularly useful for handling multiple asynchronous … Read more

Asynchronous JavaScript

Asynchronous JavaScript Introduction to Asynchronous JavaScript In the realm of web development, asynchronous JavaScript stands as a cornerstone, enabling the creation of dynamic, responsive, and efficient applications. This section delves into the core aspects of asynchronous programming in JavaScript, a paradigm that allows web applications to perform time-consuming operations, such as fetching data from a … Read more

Free First Chapters JavaScript by Doing: Over 100 Hands-On Coding Challenges for Mastering JS

US https://www.amazon.com/dp/B0D2S46V93 Canada https://www.amazon.ca/dp/B0D2S46V93 Kindle Book is FREE until Thursday, May 2 2024! Free Kindle Offer for “JavaScript by Doing” Great news for aspiring JavaScript developers! For a limited time, “JavaScript by Doing: Over 100 Hands-On Coding Challenges for Mastering JS” by Laurence Lars Svekis is available for free on Kindle until May 2, 2024. … Read more

Mastering CSS Coding with Style: Over 200 CSS based Exercises with Mini Code Projects First Chapters FREE

Get the Kindle Book FREE for the next 3 days!!! Until April 26th 2024 On Kindle and in Print CAN https://www.amazon.ca/dp/B0D2DQ2Y3N US https://www.amazon.com/dp/B0D2DQ2Y3N Embark on your journey to becoming a CSS expert with “Mastering CSS: Coding with Style,” a comprehensive guide filled with over 200 hands-on exercises and mini code projects designed to transform beginners … Read more

Automating Google Drive with Apps Script: Check or Create Files in Folders

In today’s digital environment, managing files efficiently can save a lot of time and hassle. Google Apps Script provides a powerful way to automate tasks within Google’s suite of services, including Google Drive. In this blog post, I’ll guide you through creating a simple script that checks if a specific file exists within a Google … Read more

Error handling and debugging in JavaScript

Coding Exercises on JavaScript Error Handling and Debugging Basic try…catch Implementation Task: Write a JavaScript function that attempts to parse a JSON string and uses try…catch to handle any errors that arise. Purpose: Understand how to catch and handle errors gracefully in a controlled manner. Sample Code: function parseJSON(jsonString) {     try {         let jsonObj = … Read more

Learn JavaScript Functions

Coding Exercises on JavaScript Functions Basic Function Definition and Invocation Task: Write a JavaScript function named greet that prints “Hello, World!” to the console. Purpose: Learn how to define and call a simple function. Sample Code: function greet() {     console.log(“Hello, World!”); } greet(); // Function invocation Explanation: This exercise demonstrates the basic structure of a … Read more