Skip to content

Instantly share code, notes, and snippets.

Review

  • How is Sass different from CSS?
  • Name the two syntaxes supported by SASS. What is the difference between the two?
  • What is a variable and how is it defined in SASS?
  • What is the use of @import in SASS?
  • What is an example of why you might use nesting?

Testing Review (Journal)

  • What are the 4 phases of a test? What type of logic do you write in each phase of the test
  • Write a snapshot test (in your journal) for the following component:
<Greeting name={myName} greeting={greeting} />

Note: In our application, the name and greeting props being passed into Greeting are both strings

Accessibility Review

ON YOUR OWN

  • What are roles, states, and properties?
  • What are some ways to make your application more accessible? What are some things that you should avoid?

WITH A PARTNER

  • Discuss your answers to the question above with the person next to you.
  • On one computer, fork this codepen and make the following HTML snippet accessible by using semantic HTML, ARIA roles, and attributes (as needed).
@thatPamIAm
thatPamIAm / gist:f7d8686d16adeb850226a9bbc9dcb69f
Last active March 14, 2019 17:43
Understanding keyword `this` Warm Up

Warm Up

Write down everything that you know about this in JavaScript Where have you seen/utilized the word this in your JavaScript projects thus far?

  • Used this in classes.... working with mythical creatures
  • There is implicit binding/ explicit/ default binding
  • This refers to the current context of the code

RULE 1

@thatPamIAm
thatPamIAm / testing.md
Created December 10, 2018 15:56
Testing

Review

  • Define the overall structure of a test? What should be a part of every test?
  • What is the difference between Mocha and Chai? Define what each of them are.
  • In an assertion, what kind of equality is needed to for arrays and objects?

Given these two classes, what properties and/or methods would a parent class of Pet have? What would need to modified/removed/added on our classes of Dog and Cat for them to inherit from Pet?

class Dog {
  constructor(name, breed, tricksArray) {
    this.name = name;
    this.breed = breed;
    this.tricks = tricksArray;
  }
@thatPamIAm
thatPamIAm / oop-diagram.md
Last active December 4, 2018 23:37
OOP Diagram for 1810FE

Daily Review

Goals Goals Goals

The focus of review sessions should not be a rehash/reteaching of content or a Q/A session that is teacher-led. Each session should be 10 minutes. Each session students should be reviewing the key concepts from the most recent lesson as well as randomly selected material from any prior lessons.

Basic Review: Close-ended Teacher creates a list of key concepts that students should write about/articulate. Ideally, 1-2 exercises (based on difficulty) that support key concepts will be presented alongside this prompt. Key concepts to articulate and optional coding exercise should be available to students on the board or on a slide at the start of class.

Basic Review: Open-ended Students should write down the 5 most important concepts from the most recent lesson. Students should write down at least 1 concept from a prior lesson.

@thatPamIAm
thatPamIAm / jsFun.md
Created November 30, 2018 19:11
JSFun repos

Please submit the link for your JSFun repo here:

@thatPamIAm
thatPamIAm / code-review-checklist.md
Last active April 21, 2024 23:00
Code Review Checklist

Pair-to-Pair Code Review

5 mins

  • Get together with your group and send a link of your team's GitHub Repo to the pair that is reviewing your project.
  • Look over this guide with your project partner and highlight the pieces where your team can use assistance/you would like your reviewers to take a closer look. Fork this gist and send the forked copy over to the pair reviewing your code.

45 mins

  • Follow the instructions to clone down the repo you are given and start reviewing the codebase. Take notes for written feedback.