Skip to content

Instantly share code, notes, and snippets.

Budget APP - Backend

Overview:

This is the backend for a basic Budget App where users can manage their financial transactions. Users can add, retrieve, update, and delete transactions.


1. Setup & Basic Configuration:

Coaching Notes:

Intro To Computers and Programs

**Time: 1 hr **

📜 Slides

Link to Slides

🎯 Learning Objectives

Introduction to JavaScript Data Types

Time: 2 hrs

📜 Slides

🎯 Learning Objectives

30 min, paper challenge (original, no refactor)

const chooseFriendsgiving = (hasFood, familyThere, within2Miles, noFood) => {
    let decision = "Stay Home";

    if (hasFood && !familyThere) {
        decision = "Friend 1's House";
    } else if (hasFood && familyThere && within2Miles) {

Overview

Below are detailed instructions for adding tests to your Treasures and Trinkets Project. These tests are mandatory and essential for the project's completion. Failing to include these tests will result in a deduction of -1 point from your total score.

For a better understanding of how these tests work and why they are important, you can read this introductory tutorial on Jest testing.

To view the specific instructions and test code for each file, click on the respective sections below. Each section expands to reveal detailed steps and code snippets required for setting up your tests.


This gist file comprises five main sections:

  1. GUI vs. CLI: A Comparative Overview
  2. Purpose of Command Line
  3. A compilation of essential commands for file and directory management.
  4. A compilation of advanced commands for file and directory management.
  5. A practical exercise to build a sample file structure.
GUI vs. CLI: A Comparative Overview

1-on-1 Template Questions

Variables/Data Types

  • Can you assign a string with a value of ___ to a variable called ___?
  • Can you assign a number with a value of ___ to a variable called ___?
  • Can you assign an array with a value of ___ to a variable called ___?
  • Can you update the array at position x?
  • Reassign the variable ___ with a value ____.

Review Notes For facts.js

Solving the getLongestDinosaur Function

Step 1: Set Up the Problem

  • Understand the data structure: an array of objects, each representing a dinosaur with various properties.
  • Identify the goal: Find the dinosaur with the longest length and convert that length from meters to feet.

Peer Mock Interview

Keep In Mind
  • Allocate 25 minutes for each interview and 5 minutes to fill out the Peer Mock Interview Form after the 25 mins for the coding part. (30 mins total)
  • You can switch roles too but you can also only be an interviewer or interviewee.
  • Never give the solution but you can give helpful guidance if the candidate is veering away or has improper syntax.
  • If you don't submit a google form, the interviewee will not get credited for the interview. Submit it as soon as you close the interview.

Intro To HTML Day 1

🎯 Objectives

By the end of this session, participants will be able to:

  • 🔄 Understand the Basics of HTML: Learn foundational HTML structure (e.g., <!DOCTYPE html>, <html>, <head>, <body>) and create a basic HTML document from scratch.
  • 📚 Apply HTML Tags to Structure Content: Use tags like <h1>, <p>, <strong>, <em>, and <img> to format text and embed images, converting plain text into a structured, well-formatted HTML document.
  • 🔗 Embed Multimedia Elements into Web Pages: Incorporate elements such as , , and `` with proper attributes to enhance web pages with multimedia content for engagement and accessibility.