Skip to content

Instantly share code, notes, and snippets.

View hannahhch's full-sized avatar
🤿

Hannah Hudson hannahhch

🤿
  • The Office of Experience
  • Denver, CO
View GitHub Profile

Dot and Bracket Notation Exercises


let today = 'wednesday';

let weather = {
   monday: 'sunny',
   tuesday: 'rainy',
 wednesday: 'sunny',

round.js

class Round {
  constructor(deck) {
    this.deck = deck.cards;
    this.counter = 0;
    this.turn = turn;
    this.incorrectGuess = [];
    this.correctGuess = [];
  }

Array Iterator Methods

  • Group 1: forEach
  • Group 2: map
  • Group 3: find
  • Group 4: filter
  • Group 5: reduce

You will make a poster for your assigned prototype method. Your poster should include the following information:

Rubric

Group: name and name

Functional Expectations

  • 4: Application fulfills all expectations of user stories, and has functionality that goes above and beyond an MVP.
  • 3: Application demonstrates a fully functional MVP, and group members can articulate choices for prioritizing certain pieces of functionality.
  • 2: Application is usable, but has some missing functionality and no clear MVP.
  • 1: Application crashes during normal usage.

Filtering and Traversal

Filtering and Traversal

work in codepen => https://codepen.io/hannahhch/pen/VwYpPLr

<h1>Groceries</h1>
<ul class="groceries">
  <li class="vegan-ham">Vegan Ham</li>
  <li class="motor-oil">Organic Motor Oil</li>
 Lettuce

Runnerspace Instructions

  1. Visit runnerspace.com
  2. Scroll through the homepage with your partner, discuss the layout and design. Do you think its set up in a logical way? Why would someone use this website?
  3. Complete the follow tasks below. As you go the list, make sure to discuss the steps you took and if things were where you expected them to be on the site.
  • As a guest user, add a comment to any article.
  • Find and watch a video associated with any team in Colorado on the runnerspace website.
  • Go to the "Maine vs New Hampshire Indoor Duel 2017." What was Lauren Quann's distance in shot put?
  1. What is your overall opinion on this website - did you find that it was usable? If not, which things would you design differently?

Sketch London Instructions

  1. Visit sketch.london
  2. Look over the homepage with your partner, discuss the layout and design. Do you think its set up in a logical way? Why would someone use this website?
  3. Complete the follow tasks below. As you go the list, make sure to discuss the steps you took and if things were where you expected them to be on the site.
  • Find out when the East Bar holds events.
  • Find the list of awards that Sketch has recieved.
  • Who is the master chef?
  1. What is your overall opinion on this website - did you find that it was usable? If not, which things would you design differently?

Trails

const fountainValleyLoopTrail = {
  name: 'Fountain Valley Loop',
  location: 'Littleton, CO',
  distance: 2.3,
  traffic: 'moderate',
 features: ['bird watching', 'hiking', 'cross country skiing']

Mutator & Accessor Methods

❄️ Snow Day Version ❄️

Learning Goals

  • Gain familiarity with other prototype methods (not necessarily JUST array prototypes, some string methods too!)
  • Understand why it’s important to note if a method is a mutator or accessor

Structure

On your own, research and take notes on the following methods:

  • sort