Array Shuffler
Write a function that takes an array as a parameter and returns a new array with the contents randomly "shuffled". Example shuffle([1,2,3,4,5]); //returns [3,5,4,1,2]
Write a function that takes an array as a parameter and returns a new array with the contents randomly "shuffled". Example shuffle([1,2,3,4,5]); //returns [3,5,4,1,2]
For this exercise you will make a simple React app which will display a Chuck Norris joke when the user clicks a button. Requirements 1. Jokes will be generated by making HTTP GET requests to the Chuck Norris API. 2. You must use axios or nodes native fetch. 3. Your
Warmup Write a function that takes two non-negative integers as arguments. Return whether they share the same last digit. HINT: The % operator computes remainders Example sameDigit(10,430); //returns true
Exercise### This exercise is your first foray into implementing mongoose into your express server. You will be making a CRUD e-store inventory. Use postman to interface with all the items in your database. Part One * Build a new server and connect it to mongodb. * In a folder called models create
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/