JavaScript Quiz

JavaScript Quiz What is the result of the following code? console.log(1 + “2” + 3 + 4); a) “1234” b) “10” c) “6” d) “124” What is the result of the following code? console.log(typeof null); a) “object” b) “null” c) “undefined” d) “boolean” Which of the following is NOT a valid way to declare a … Read more

How to Create a Responsive Navigation menu with HTML and CSS and JavaScript Code

Responsive Navigation Menu: Responsive navigation menu is one of the most important parts of a website. A responsive menu is a menu that changes its layout as the screen size changes. Here is an example of how to create a responsive navigation menu using HTML, CSS, and JavaScript. This code is an example of a … Read more

55 Google Apps Script Videos Playlist from YouTube Learn more about apps Script

Google Apps Script is a scripting language based on JavaScript that allows users to extend and automate the functionality of various Google services such as Sheets, Docs, Forms, and Gmail. It provides a wide range of services and methods for interacting with Google Apps and allows users to create custom scripts and applications that integrate … Read more

Advanced JavaScript DOM Coding Examples

How do you add an event listener to an element in JavaScript?What is the difference between innerHTML and textContent in JavaScript?How do you create a new element in the DOM using JavaScript?What is the difference between childNodes and children in JavaScript?How do you remove an element from the DOM using JavaScript?How do you check if … Read more

Advanced JavaScript Coding Examples

What is the difference between var, let, and const in JavaScript?What is a closure in JavaScript?What is the difference between synchronous and asynchronous JavaScript?What is a higher-order function in JavaScript?What is event bubbling and how can it be prevented?What is the difference between == and === in JavaScript?What is a promise in JavaScript and how … Read more

Creating and Updating Slides with Google Apps Script #tips

Learn Google Apps Script – Free Source Code Guide Coding exercises and more https://basescripts.com/google-apps-script-exercises-and-code-samples-with-source-code-free-pdf-guide-download Free Apps Script Lessons by Laurence Svekis Google Developer Expert in Workspace (GDE) The first function makeSlides() creates a new Google Slides presentation titled “Laurence Test2”. The function then retrieves the first slide in the presentation and inserts a new text … Read more

Modify Form Content with Google Apps Script #FormUpdate

Learn Google Apps Script – Free Source Code Guide Coding exercises and more https://basescripts.com/google-apps-script-exercises-and-code-samples-with-source-code-free-pdf-guide-download Free Apps Script Lessons by Laurence Svekis Google Developer Expert in Workspace (GDE) The code modForm() does the following: The variable id is assigned the ID of an existing Google Form. The openById() method of FormApp is used to open the … Read more

Creating HTML Email Table with Google Sheets Data #mail

Learn Google Apps Script – Free Source Code Guide Coding exercises and more https://basescripts.com/google-apps-script-exercises-and-code-samples-with-source-code-free-pdf-guide-download Free Apps Script Lessons by Laurence Svekis Google Developer Expert in Workspace (GDE) Sets the id variable to a specific Google Sheets ID. Opens the Google Sheets file with the given id, selects the sheet named “users”, and retrieves all the … Read more

Folder contents tracker and creator in Google Drive #tips

Learn Google Apps Script – Free Source Code Guide Coding exercises and more https://basescripts.com/google-apps-script-exercises-and-code-samples-with-source-code-free-pdf-guide-download Free Apps Script Lessons by Laurence Svekis Google Developer Expert in Workspace (GDE) dataFolder() function The dataFolder() function does the following: Sets the sid variable to a specific Google Sheets ID. Sets the id variable to a specific Google Drive folder … Read more