Skip to content

Instantly share code, notes, and snippets.

View micahwierenga's full-sized avatar
💭
Learning

Micah Wierenga micahwierenga

💭
Learning
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>

Project 1 Assessment

GOAL

The goal of this project assessment is to gauge your ability to develop a minimal front-end web application using HTML, CSS & JavaScript, including your ability to:

  • Write HTML that provides the application's overall structure and content.
  • Use CSS to provide styling.

When a port is already in use

Sometimes, when running nodemon or node server.js, you'll trigger one of the following errors:

Error: listen EADDRINUSE: address already in use :::3000

or

Port 3000 is already in use

Project 2 Assessment

GOAL

The goal of this project assessment is to gauge your ability to develop a minimal Node.js web application using the Express framework.

OVERALL APPLICATION REQUIREMENTS

Project 3 Assessment

GOAL

The goal of this project assessment is to gauge your ability to develop a minimal full-stack web application using the Django framework, including your ability to:

  • Create and configure a Django project
  • Create a "main" app and install it within the project

Project 4 - Assessment

GOAL

The goal of this assessment is to gauge your ability to develop a minimal ReactJS application that renders user-defined components, incorporating dynamic styling and reacts to some basic user interaction.

OVERALL APPLICATION REQUIREMENTS

Alternative Tic-Tac-Toe Pseudocode/Instructions

1. In HTML, create 9 divs that each share a class and that each have a unique id.
2. In JS, create a variable called "marker" with the initial value of 'X'.
3. Cache each div in a separate variable.
4. Using those variables, add click event listeners to each.
5. Above the event listeners, create a function called renderMarker that takes in a cell that will be passed from the event listener.
6. Inside each event listener, call renderMarker and pass the current cell to it.
7. Inside renderMarker, if the marker is 'X', set the cell content to 'O' and reassign marker to 'O'. Do the opposite if the marker is 'O'.

Guess the Numbers Lab Pseudocode

const game = {
  title: 'Guess the Number!',
  biggestNum: 100,
  smallestNum: 1,
  secretNum: null,
  prevGuesses: [],
  play: function() {

Mongoose Flights Lab, Part 1: Supplement

These clarifications and wireframes are meant to be a supplement to Mongoose Flights Lab, Part 1.

The Flight Schema

First, you're to create a Flight schema with the following fields/properties:

  • airline
  • airport

Mongoose Flights Lab, Part 2: Supplement

These clarifications and wireframes are meant to be a supplement to Mongoose Flights Lab, Part 2.

The Destination Schema

First, you're to create a Destination schema with the following fields/properties (and this schema should be embedded in the Flight schema, which should be updated to have a destinations field/property):

  • airport
  • arrival