Skip to content

Instantly share code, notes, and snippets.

JS OOP Bakery exercise

Iteration 1. Create a Bakery class with these properties and methods...

  • property "brandName", which needs to be the same one for all our bakeries (ie. for all instances of the Bakery class)
  • property "location" (specific for each bakery we build)
  • method "printLocation" (displays the location of the bakery)

Iteration 2. We will add functionality to bake cakes & keep track of the number of cakes we have.

@luisjunco
luisjunco / project3-setup.md
Last active December 6, 2023 09:51
Ironhack - Project 3 Setup

📁 | Create a parent directory

To keep things organized, create a parent directory:

  • Navigate to the directory where keep your code (ex. navigate to your module3 directory).
  • mkdir our-cool-project

NOTE: replace "our-cool-project" with the name you choose for your project 😉

@luisjunco
luisjunco / readme-project-3.md
Last active December 14, 2023 08:01
Requirements README project 3

README Project 3

Create 2 Readme files (one for the Frontend + one for the Backend). In each of them, add the sections below:

  • Description
    • Brief description of the project
    • IMPORTANT:
  • Explain very clear if the current repo is the Frontend (React) or the Backend (Express API).
@luisjunco
luisjunco / readme-project-2.md
Last active November 23, 2023 17:50
Requirements README project 2

README Project 2

  • Description

    • Brief description of the project
  • Instructions to run this app in my computer. Probably something like this:

    • git clone
    • how to install dependencies (npm install)
  • in case you're using environment variables: explain that I'd need to create a .env file and add environment variables (remember to detail all the variables that I may need to create, if I need to create an account to get some credentials etc.)

@luisjunco
luisjunco / readme-project-1.md
Last active November 23, 2023 17:49
Requirements README project 1

README Project 1

  • Description

    • Brief description of the project
    • You can also add screenshots 🤩
  • Instructions to play

  • Important: make sure that anyone with the link can play your game (if it is not trivial, include also instructions in the game itself)

@luisjunco
luisjunco / katas-planning.md
Last active February 22, 2024 08:18
Katas Planning

MODULE 1


w3d1 Katas

Intro:

  • Intro to Codewars (what is Codewars & why it's useful)
@luisjunco
luisjunco / react-conditional-rendering-cheatsheet.md
Created April 4, 2023 13:22
React Conditional Rendering - Cheatsheet

A: Element Variables (in your JavaScript)

function MyComponent(){

    let button;
    if (isLoggedIn) {
      button = <LogoutButton />;
 } else {
@luisjunco
luisjunco / git-branches.md
Last active February 15, 2024 08:38
Git Branches - Cheatsheet

Git Branches Cheatsheet

image


🙌 | Common operations and commands:

@luisjunco
luisjunco / react-router-cheatsheet.md
Last active February 9, 2024 06:26
React Router Cheatsheet

React Router Cheatsheet

  • This cheatsheet is based on React Router Dom v6.7.0
  • If you use a different version, some things may be different




Initial Setup

@luisjunco
luisjunco / VS -Code-Shortcuts.md
Last active November 29, 2023 11:29
VS Code Shortcuts

Common shortcuts in VS Code (Win // Mac):

  • Comment code: Ctrl (K+C) // ⌘ (K+C)
  • UnComment code: Ctrl (K+U) // ⌘ (K+U)

  • Duplicate line: Alt & Shift + Arrow Down // Option & Shift + Arrow Down
  • Multicursor: hold Alt + click // hold Option + click