Category "web"

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

Best way to protect sensitive information copying in HTML?

The company I work for has a requirement to protect some area where articles are rendered, I've implemented some procedures to protect web-scraping but the prob

How to push heroku app with hyper ? getting error

I tried these commands: error: src refspec main does not match any error: failed to push some refs to 'https://git.heroku.com/young-brook-98064.git' Where did

Flask application displaying list of items from SQL database as text

I am trying to display a list of my items from the database in my flask application. Unfortunately, the list elements are placed into the HTML as text, instead

How to redirect the user back to the home page using FastAPI, after submitting an HTML form?

I have a page with a table of students. I added a button that allows you to add a new row to the table. To do this, I redirect the user to a page with input for

Webscraping returning character(empty)

I have the following code: link = "https://www.funda.nl/en/koop/maastricht/" page = read_html(link) name <- page %>% html_nodes(".search-result__header-t

Webscraping returning character(empty)

I have the following code: link = "https://www.funda.nl/en/koop/maastricht/" page = read_html(link) name <- page %>% html_nodes(".search-result__header-t

I want a way to give path to my files which are outside of public folder in laravel

suppose <link rel="stylesheet" href="{{asset('css/style.css')}}"> helps to get style.css file which is in public folder but similarly how can I access f

How to make a List a hyperlink?

I'm working on a link list and I can't get the List to be a hyperlink <ul> <a href="pdf/VPN.pdf" target="_blank"></a> <li>VPN</li>

How to detect mobile apps in Picture-in-Picture mode from the browser?

It's possible to detect or know if there's an app in Picture-in-Picture (PiP) mode from the browser? There's an API for the PiP on the browser, but's only to pr

How can I get the full source (HTML) of a web-page with vba?

I am trying to automate a work task using excel VBA. I can't seem to get all the source code. I created this simple code to test it. dim IE as object Dim S as S

How to bind a function to an html button without a form in Django

I'm new to Django and I need to bind a function from python to a button using onclick from a file views.py. I saw a lot of discussions where they do this with f

Flutter Web Page Refresh and 404 Not Found Error

In the main method i used UrlStrategy package as seen in the below because i don't want # in my urls: void main() { setPathUrlStrategy(); runApp(const MyApp

@media query not working with 2 display: none; tags

I created a website and I used 2 divs, 1 has all the code for the desktop layout and one has all the code for mobile, I did this and would like to keep it this

Is it possible to edit the structure of a site through Craft CMS?

I'm helping a nonprofit do some edits to their site because they had originally asked a digital agency to create it but they handed it over with some tiny bugs

Page reloads when I use the setState function in React.js

When I use setState to change the object, the page reloads, resetting everything on the page. As I am making a tic-tac-toe app, either an X or 0 appears when I