Category "web"

can't have email on existing user golang

I'm trying to check if an user already have a email. I wrote a function like this : func IsUniqueEmail(body io.ReadCloser) (database.User, error) { connection :

How to fix unsupported text encoding in VS code

I have imported a folder of a web project and I was not able to run it due to this error in some files“the file is not displayed in the editor because it

How Can i execute something in one window and it happens on another (chrome)

I want to make a GUI which opens in a pop-out window. It needs to be able to access the console from the original window.(aka needs to run commands from pop-out

firefox download web page retry always

Why when saving the page '''html''' (complete) the browser does not save it the first time?! Do you have to constantly click on re-download? firefox download we

Flutter Web Heroku Google OAuth Fails

I just deployed a Flutter Web App on Heroku. I used https://github.com/diezep/heroku-buildpack-flutter as the buildpack and it deployed beautifully. My Flutter

Is there any solution to fix this Cors error?

I have made an api from django but when I call from my react app It gives CORS error my settings.py INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.

Setting textures on a model (Maya or Blender) via Java?

My task is: after selecting the user settings in the web application, this application must create a 3D model according to its settings (this building model wit

How do I add delay within a function in Javascript

I am trying to create a simple function when on click a series of style changes happen to an element. I want to add a 4-second delay in between the two style ch

how to upload audio files to heroku server using python

i have a python program that records sounds,and creates .wav files of these sounds. now i have .wav files on my local machine. for example, recording1.wav. now

React - UI Clicks are not responsive

The problem is after certain changes(for example logout and login), clicks start to be less responsive or not responsive at all. This happens both in local and

Vue3.js ) Error: Cannot find module 'firebase'

I'm using firebase for the first time in vue.js. After installing firebase using npm, I added it to main.js as follows. //main.js import { createApp } from "vue

Flutter Web Persian/Arabic Strings Not Showing Properly on the UI

I just started to migrate to Flutter web and just at the start point, encountered this strange problem. When using Persian/Arabic Characters in code, it would b

Changing the order of PlatformViews (iFrame) in a Stack causes the render to fail

A possible fix would be to avoid using Keys in the Positioned widget (L: 42) but this would cause the internal state of the HtmlElementView (or other displayed

Is there any way to add multiple language(like french, spanish) in asp.net MVC website

the website contains very large amount of data, so it is not possible to convert data in each language and paste it like this enter image description here

How can I have Minify/uglify inline JavaScript using Pug?

I am using Pug for a web page that I am building. At the end of a module I have a script. tag (the regular script tag cannot be used because it isn't compatible

Django __init__() got an unexpected keyword argument 'user'

Im trying to build a password reset system using the default django libraries. The problem is after trying to enter the site which is for changing it (PasswordC

Trouble fetching token from localstorage - React

I'm new with react and i'm trying to create a basic login function using local storage and tokens. I can see in my devtools that a token is actually stored but

Expo AuthSession new window not redirecting on Web

We are using AuthSession.startAsync to initiate an authentication process in our app, which is working fine on iOS and Android. However when we run it the web b

What does "hydration mismatch" mean in React or Vue?

While using both Vue and React, I regularly stumble upon so-called "hydration mismatches". What does it mean?

MySQL/PHP - Web Based Game -User specific inventory table or 1 giant table? Another option?

So im making a web based game similar to Torn City, where there could potentially be millions of users. My issue is regarding user inventories. I started out cr