Category : web-deployment

I’ve experienced a very strange behavior. This is my React app: import "./App.css"; import React, { useState, useEffect } from "react"; const buttonsObject = [ { press: "q", source: "https://github.com/Julian-Sz/FCC-Drum-Machine/blob/main/src/sounds/Clap%201.mp3", name: "", }, { press: "w", source: "https://github.com/Julian-Sz/FCC-Drum-Machine/blob/main/src/sounds/Clap%202.mp3", name: "", }, { press: "e", source: "https://github.com/Julian-Sz/FCC-Drum-Machine/blob/main/src/sounds/Conga%20High.mp3", name: "", }, { press: "a", source: "https://github.com/Julian-Sz/FCC-Drum-Machine/blob/main/src/sounds/Conga%20Mid.mp3", name: ..

Read more

the error I got from my browser is this: Uncaught DOMException: Failed to execute ‘setRequestHeader’ on ‘XMLHttpRequest’: The object’s state must be OPENED.I put the pics in my github and the json file. I am executing the html file from my workstation. Should I push the html file to github and execute it from there? ..

Read more