Category "html"

How to let user choose from sample of images displayed on screen along with option to upload from device?

const [selectedFile, setSelectedFile] = useState(null); const [preview, setPreview] = useState(null); const [predictions, setPredictions] = useState([

Text decoration underline on link but not on ::before?

How can I get the link to have a underline but the (fontawesome) icon ::before not? ::before text decoration:none; doesn't work .btn--tertiary { font-si

HTML canvas not drawing image

I have a react app but when I try to load an image is not drawing it on the canvas. Here is the code: import React , {useRef, useEffect, useState} from "react"

getElementbyId does not work and returns null

When accessing the site, the image and characters are displayed for a moment with JavaScript, It takes a lot of time to load the image, and we have to lengthen

Azure Functions with python, html page & beautifulsoup

I am new to azure functions. What I am trying to do is to get my azure function to open the index.html page, however I am not sure how to pass in the variable d

input text animation not working on focus out if there is no text

I have a problem with my search bar When the user clicks on it, it expands with a simple animation in order to allow the user to write, and it should play the a

Detect multiple tabs opening... and close the newest tabs! (via BroadcastChannel API)

I've put this function on load so I can detect a new tab being opened: function checkNewTabs() { const channel = new BroadcastChannel('tab'); channel.postMe

Detect multiple tabs opening... and close the newest tabs! (via BroadcastChannel API)

I've put this function on load so I can detect a new tab being opened: function checkNewTabs() { const channel = new BroadcastChannel('tab'); channel.postMe

absolute positioning with respect to scalable element

In the following example code I have an outer div ("div1", relative position), which has viewport size. Inside there is a img which is scaled as large as possib

absolute positioning with respect to scalable element

In the following example code I have an outer div ("div1", relative position), which has viewport size. Inside there is a img which is scaled as large as possib

Python Scrapy unable to get each class name with its value from each div

I'm trying to get each class names with its corresponding value from each div listing. From this page: https://www.dotproperty.id/en/properties-for-sale/riau-is

Python Scrapy unable to get each class name with its value from each div

I'm trying to get each class names with its corresponding value from each div listing. From this page: https://www.dotproperty.id/en/properties-for-sale/riau-is

How to Invoke Selenium class from clicking Html Button using tomcat

I have three test case in different java file and want to invoke it using tomcat server by clicking html button. This is my html <form action="case1" method=

div array won't close when external close button div is clicked (Javascript)

I'm actually occurring a situation when making an accordion. I already add a close button (x text) inside my div to close the accordion, but it won't close afte

How to Invoke Selenium class from clicking Html Button using tomcat

I have three test case in different java file and want to invoke it using tomcat server by clicking html button. This is my html <form action="case1" method=

how to ignore tilde accent in search filter js?

When I look in the search engine for a word with an accent, for example: Débora, Lázaro, Ángela, Álvaro, Arquímedes, etc. doe

Bootstrap's 'active' buttons not working properly

I'm working on this website here: https://shmoss.github.io/Gibbs-Lab/index.html As you can see, I have a nav-bar with buttons for navigation. Normally, I set a

How to I get new values from dynamic table using JavaScript

I want to create dynamic table that loads localStorage saved form data and make it editable. I can change cells values but when I try to save it JavaScript cons

Spring Boot non-required requestParams default to null instead of empty string

I'm using Spring Boot for a search tool and I'm having an issue while passing the values from the front-end to the back-end. So, I have a select field that I'm

html bootstrap navbar hamburger not working for dropdown menu

bootstrap navbar collapse not working. dropdown hamburger does not show navbar-nav 's Navbar