i am trying to use mongodb to get some data for our analytics page, there’s alot of data that’s processing but for some reason the express returns empty array as response even when i use console log i …
Tag: javascript
I have a small application where I have an array of objects. Each object is a student and each student object has an array of tags that looks like this: const students = [ { name: “John”, …
I’m new to React.js, I’m programming my first practice app, and i found this error in a form: export default function PanelAdd(props) { const [getTitle, setTitle] = useState(”); const […
I need to send data from a single web page running on http://localhost/index.htm to a servlet running on http://localhost:8080/contactus/saveMessage. Submitting the form, data is sent and saved on …
I store all the dice objects in the diceArray array (I’ve tested this and know that they are properly stored). I don’t know why I can’t cycle through the array and change the .value, value of each …
window.open(‘https://starve.io/’) setTimeout(() => { let c = prompt (“What is the password?”) let password = [‘Ax’, ‘Buax’,’Oyl’]; function detectpassword(){ if (c == password) { …
I want to clear setTimeOut() when button clicked, but screen keep log me in directly even when i add clearTimeOut, here is function i use function LoginScreen({ navigation, props }) { const …
I have a small problem with markdown in my flash project. I want markdown to work for all posts, currently it only works for the first post. I suspect I need to use some kind of loop, but I don’t know …
I currently have a Nestjs server setup and am attempting to perform an Axios request when one of the endpoints is hit with a GET request. Here is the controller.ts code: @Controller() export class …
I’ve created a grid with boxes in it that each has an id of box + i. However when i try to add an on click function to change the colour of the box it doesn’t allow me to. Here is the code: function …