V School | Better Humans, Better Outcomes

Debugging Part 1

One of the first and most natural types of debugging is just looking through our code for typos, misused variables, or errors given to us by our text editor. In the screenshot below we will see some examples of errors given by our text editor. Take a minute to look

`this`: the keyword

This is going to be a very brief overview of the keyword this, if you finish and would like to read about it more in depth you can do so here. First let's look at the keyword this in a constructor function in Vanilla JS. function Person (name, age, hairColor)

React Event Listeners

Handling Events Handling events with React elements is very similar to handling events on DOM elements. There are some syntactic differences: * React events are named using camelCase, rather than lowercase. * With JSX you pass a function as the event handler, rather than a string. //HTML //JSX

Mocha & Chai: Your first test

Mocha Mocha is a test runner. It's sole job is to look for (or be told where to find) unit tests you've written, and to execute them. It also displays in a nice, easy format to show you how your unit tests faired - how many passed, how many and

Building a Bar Chart - HTML, Vanilla JS, D3

We are going to teach you how to build a basic bar chart in this write-up 3 ways. * Statically, * Using only HTML * Dynamically, * Using Vanilla JS * Using D3 HTML First, let's look below at the code of a completed Bar Chart. Bar Chart HTML

V School | Better Humans, Better Outcomes © 2026