V School | Better Humans, Better Outcomes

Every and Some

Write two functions that mimic the .every and .some array methods. every(arr, callback): Given an array and a callback function, return true or false based on whether each element of the array, when inserted as a parameter to the callback, returns true. Example: every([1,2,"3"], (num)=>{ return

Deploying Static and Node Applications with Zeit Now

This lesson has been adapted from Mykola Bilokonsky Documentation can be found HERE About Zeit Now Up until now you've been running your projects from your own server on localhost. Now is a node package that lets you deploy static websites and node applications to a remote server, which allows

Frame It

Warm-Up Given a string of any length, write a function that "frames" it in a multi-dimensional array. For example: frameIt("pic"); //returns [ [*,*,*,*,*], [*,p,i,c,*], [*,*,*,*,*] ]

Longest Substring

Warm-Up Write a JavaScript function to find the longest substring in a given a string without repeating characters. Example: longestSub("happy"); //returns "hap"

Adjacent Difference

Given an array of strings, find the 3 adjacent elements with the longest combined length. Return them in the form of an array. Example function combined(arr){ // Find the 3 adjacent elements with longest combined length } combined(["this", "is", "an", "array"]) // Output: ["is", "an", "array"] // they have the longest combined

V School | Better Humans, Better Outcomes © 2026