V School | Better Humans, Better Outcomes

Stringify URL

Part 1 Write a function that takes a string URL and a query object and returns the URL with a query string added. Example: function stringifyUrl(url, query) { // your code here } const url = "http://localhost:8080/monkeys" const query = { color: "black", species: "howler" } stringifyUrl(url, query) // returns "http://localhost:8080/

Query It

Given a query object and an array of objects, write a function that returns an array of items that match the query. If the query object is empty, return the entire array. If the array contains no matches, return an empty array Example: const database = [ {firstName: "Jack", lastName: "Smith", age:

Bootstrap Navbar Exercise

You are starting a website for a friend. To start, just make a cool Navbar using Bootstrap. Customize it. If it's a website for your friends flower shop, you could change the background color and the color of the links. Don't worry about making the links go anywhere, but they

Redux Thunk

This post assumes you already have learned and understand the basic concepts of Redux - action creators and actions, the dispatcher, the reducers, and the store. If you're still hazy on some of those, check out our post on Redux and get some practice in first. What does Thunk help

Redux in React

* Create React App * index.js * redux folder * actions (with index.js inside) * reducers (with index.js inside) * install redux and react-redux * Add Provider * Wrap with component * import { createStore } from redux * Create a store REDUCERS Create reducers like normal and export ACTIONS Create actions like normal and export each

V School | Better Humans, Better Outcomes © 2026