Firstly, here’s the code. I need to fix. Basically, there are two machines: currentStateMachine: currently, I want to change the state manually (running s
My Get request returns over 1050 pages in the console. I am trying to display in HTML and when I do, the result covers my page and the search bar. Is there any
Django bootstrap modal form works when i create new data gets populated and pop up closes automatically without refresh but when updating success message appear
import React from "react"; import { Container, AppBar, Typography, Grow, Grid } from "@material-ui/core"; import Posts from "./components/Posts/Posts";
I am trying to add head to a page in NextJS. As per the documentation I have used next/head to add <head>. However, the code block for using next/head is
I have a knex chema migration to create a table, with the line - exports.up = async function(knex) { return knex.schema.createTable("newTable", table => { ta
I have a knex chema migration to create a table, with the line - exports.up = async function(knex) { return knex.schema.createTable("newTable", table => { ta
I am trying to add head to a page in NextJS. As per the documentation I have used next/head to add <head>. However, the code block for using next/head is
I like async/await but I don't understand why we have to wrap our await in a try/catch block to catch errors. Why not make it so await returns some type of sta
I am using Sanity image url in my project and I am getting this error in my console page that says next-dev.js?3515:25 Warning: Prop src did
I have the following javascript code which will record voice for 3 seconds and then play it back: const recordAudio = () => new Promise(async resolve =>
I'm trying to put a content div into each parent div, but this way it puts all the content divs to the first parent div, not each parent div. I've tried to do i
I have a product list, I made a js file which ads filter buttons and a search bar which works well but when I put it in my html file it stops working because of
I'm trying to make a history page where users can see the videos they recently uploaded or downloaded. I'm writing it in NextJS. I'm using Mysql to store the da
sorry if the title is a bit missleading, I new to js so idk how to explain what I want to do properly so I'm gonna show my code and what I expect instead. so I
I am trying to structure a database for my application and one critical portion of it is the users association with various models in the databases. I am using
I am wondering if we could use pyscript on HTML pages inside a Django project. I'd tried to use it but unfortunately, it doesn't work. this is the code : <he
I have an existing line initiated // material const material = new THREE.LineBasicMaterial({ color: 0xffffff }); // array of vertices vertices.push(new THREE.Ve
I have 2 function as below: <script type="text/javascript"> sm=()=>{ document.getElementById('show').click() console
Why i didnt get message.author.id and create the channel with special permissions? const {SlashCommandBuilder} = require("@discordjs/builders") const { Client,