All Questions
465
questions
0
votes
2
answers
40
views
Banner is not displaying at the top and css is not working
I have html like following, in my Django project
<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name=&...
0
votes
1
answer
45
views
Unable to type texts to chatbot user input
Description
I am trying to add a chatbot for the backtesting platform built with Flask and there is a button on the right side that toggles the sidebar. If the user clicks the button, it shows the ...
1
vote
1
answer
31
views
"'BillInvoice' instance needs to have a primary key value before this relationship can be used" Error
I'm experiencing an issue with my Django project where I'm trying to create a BillInvoice and its associated BillLineItem instances. The error I'm encountering is:
"'BillInvoice' instance needs ...
0
votes
0
answers
156
views
Shopping cart in a telegram bot with WebApp
dear comrades. Now I’m writing my thesis, namely a telegram bot for product delivery in python with aiogram 3. To make the bot a little more unique, I decided to use the relatively new telegram ...
-2
votes
1
answer
75
views
how to switch the background using css buttons
I have a dark theme and a theme toggle button. I want the image to become darker when clicking on the button from the "light" theme to the "dark" one. How do I do this? Help please....
1
vote
0
answers
25
views
I cannot upload multiple files in my html template [duplicate]
I am making a site where you can send your game with multiple additional images. I upload images and they are send to API. Then when you open the game page there is a request to API and it returns the ...
0
votes
1
answer
77
views
Trying to locate and click a button element, but Selenium Webdriver raises NoSuchElementException
Been trying out every selector and attribute I can possibly think of, so as to target and click a sign-up button on a website's homepage... all to no avail.
See the website: https://onepetro.org
Once ...
-1
votes
1
answer
53
views
How to divide an HTML page into 3 columns, which can be scrolled like a list independently of each other
I need to divide the HTML page into 3 columns so that the content in each of them can be scrolled through separately. The page itself should be static, that is, only the columns are scrolled and that’...
0
votes
0
answers
25
views
My program is not able to locate the locator for submit button when anather captcha comes
So I am making automation program to download CSV files from a website which keeps getting revised in around 5 min interval. The website has captcha based system, and I am using tesseract OCR to ...
0
votes
0
answers
23
views
How to navigate to next page using selenium by finding the javscript URL within div
Using selenium and bs4 in Python, if I run the following code
driver = webdriver.Chrome()
driver.get(url) # url = https://www.marathon.tokyo/2023/result/index.php, choose Men Marathon in first ...
0
votes
1
answer
160
views
ag-grid - alternate row group colors (after row span)
Here is my data structure:
The spanning in ag-grid works correctly for columns 1 and 2 (spanning code below). What I am trying to do is alternate colors based on column 2 (animal). So all rows for ...
0
votes
0
answers
41
views
Value of an html button is marked as undefined when trying to make changes to a sqlite database
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Carrito</title>
<link rel="stylesheet" type="...
1
vote
1
answer
92
views
Transfer data from Javascript to Pyscript
Im trying to build a website where you have a canvas, 28x28 sized and you draw a number. This is all handled through classic HTML, css and Javascript. Hovewever, once the image is drawn, I want to ...
1
vote
1
answer
28
views
problem occured during running a django program
from django.utils.encoding import force_text
ImportError: cannot import name 'force_text' from 'django.utils.encoding' (C:\Users\LENOVO\OneDrive\Desktop\internet and intranet\django-ecommerce\venv\lib\...
0
votes
0
answers
17
views
Flask - Database Info and HTML - Can't find entries
at the moment I'm sitting on a project where I need to get database informations to a html side. After challenging getting it running something won't work.
here are some code snippets:
Database:
c....