Skip to content

Instantly share code, notes, and snippets.

View stacyp2006's full-sized avatar

Stacy Potten (she/her) stacyp2006

View GitHub Profile

Don't forget to call for help if you need it in your breakout rooms!

Warm Up

  • What does the async keyword do?

    • Used to make a fxn asynchronous. It goes before the word fxn in es5, in es6 before the parens.
    • Allows us to use the await keyword within the fxn.
    • Makes a fxn return a promise
  • What does the await keyword do?

React Router Prework

This gist contains a short assignment I'd like everyone to complete before our formal lesson. The prework involves reading some of the React Router documentation, and will allow us to keep the lesson more hands on.

Instructions

  1. Fork this gist
  2. On your own copy, go through the listed readings and answer associated questions
  3. Comment a link to your forked copy on the original gist

Questions / Readings

@stacyp2006
stacyp2006 / Mod3PW.md
Last active October 2, 2020 16:41
MOD 3 Pre-Work

MOD 3 Pre-Work

Instructional Deliverables

What is a "data model", and how does it relate to the DOM in a front-end application?

  • The data model is what holds the state of our application. It is the single source of truth for an application. The DOM is the visual representation of our application. We use the data model to determine what is displayed on the DOM. If a user interacts with the DOM, there should likely be an update to the data model as a result of that interaction.

What role does empathy play in your life and how has it helped you?

Empathy is a key factor in my life. The ability to understand and share the feelings of other people enables me to have deeply connected relationships both with family members and friends. Empathy allows me to enjoy art, books and music. It prods me to be charitable both with time and money. My worldview is widened in part by empathy. All of these effects or results of empathy allow me to be a better human being.


How does empathy help you build better software?

I hope that empathy will allow me to practice principles of empathic design as a software developer. I hope to look at the project I am working on through multiple lenses. I also hope that empathy will allow me to revisit and revise projects that I thought were finished, especially if I receive feedback on how they can be more useful to a given population. I would hope, in that circumstance, to elevate empathy over ego.

Here are my Pairin results
@stacyp2006
stacyp2006 / BegGuideData.md
Last active May 28, 2020 23:11
Beginner's Guide to Data Types

Beginner's Guide to Data Types

Data Types and Syntax

Data types are the ways to represent the kind of data that you can use in a programming language. Syntax is how we differentiate between data types.

Data Types

  • String: used to represent text; use quotes to contain the string
    1. Alphabetic Characters
    2. Spaces
  1. Numbers