Category "html"

Change disabled value in HTML document, if option element have specific value

I want if test2 is selected from <option> then disable all element inputs by via id element1. I try with if but dosnt work for me function myFunction(

Divs inside my ejs loop are not rendering

<div style="display: flex; flex-wrap: wrap; justify-content: center;"> <% guser._roles.forEach(async el => { let urole = await guild.roles.cache.g

validate input in Thymeleaf

I have this input: Masa: <input type="number" class="form-control form-text" name="masa"/> <div class="text col-sm-12 error" th:if="${wzrost}"

Step progress bar not working horizontal in mobile

I am trying to implement the step progress bar and I have done the below for the desktop version. Photo who works on the desktop like Desktop Version When I try

How to force prettier html formatting to format tags in one line?

I use prettier in my VSC, so how to force prettier HTML formatting to format tags in one line, not multiple lines? I want to format something like this all in

angular audio play on ngoninit not working

html code: <audio id="notification" src="../assets/audio/notification.mp3" autoplay="true" muted="muted"></audio> ts code: let audioPlayer = <H

Stylesheet for single object

I have a HTML page with a stylesheet linked in the head tag. I want to make an object with animations, and instead of using the original stylesheet for the anim

Why does in Bootstrap 4 not put the col-4 in a row?

I can't figure out why the col-4 doesn't work to have all 3 items in a row <footer> <div class="row"> <div cl

Play Sound when a specific cell change the Value google sheets

I am trying to run the code of this post, : Google Script: Play Sound when a specific cell change the Value with the recommendation of Rob Blakemore Could some

How can I override margin-block-start?

I included normalize.css I have margin:0 on the header elements I have margin:0 on every class on the page https://www.christianlong.design/SuperSmashBrosDB/php

HTML - How to select one id from a list of ids in querySelector

I am writing the following codes. There are repeating codes for the same function. I wonder if there is a way to include all the ids in one querySelector such t

How to select a Bootstrap class in JavaScript in order to perform style changes on it

I am trying to access a Bootstrap card element so that I can hide its display when I use a search function. Currently I access the element inside the card in my

How to remove whitespace when collapsing cards

I am writing a filter search to filter through cards of customer data. The search functions work, but when the cards collapse they leave degrees of whitespace w

Visual Studio Code Snippets

I am just wondering how do I create my own custom snippets in visual studio code to make my workflow more productive. This one is specifically for linking my bo

How to hide image's alt tag when you reload the page with lazyload?

I am using lazyload to display my images in my website (with data-src instead of src). However, when you reload the page, you can see the alt tag appear (durin

Headings in lists

I found this link How to semantically add heading to a list And my problem is in this code: <!DOCTYPE html> <html lang="en"> <head> <me

Fixed border tables html css

I want to make the borders of the table round. If I change the background color, or make a grid in the table, then everything goes beyond the rounded corners I

Multiple Carousels per Page Bootstrap 5

I'm having trouble getting multiple Bootstrap carousels to function properly on one page. I know that Bootstrap says to set unique IDs for each new carousel, bu

How to set maximum cropbox size in cropperjs?

Hello i just want to ask how can i set the maximum size of my cropbox? Because i got a image frame which have a 400x400 image size then inside of it is a box co

Filling in input type=file

I know that prefilling of <input type = file /> tags in HTML is not allowed due to security reasons. But is there any automated way through scripts of any