Category "html"

Using A fetch() GET Request After A fetch() POST Request Has Been Submitted To Output Database Data Without A Hard Page Refresh

I have a form that submits data with the javascript fetch() API to MySQL database with PHP. In the code below, when the form is submitted a success message is o

How to print html code tags in a specific element?

<div class="container"> <pre> <code class="language-html"> <h1>I want to display html tag</h1> <

Need assist with CSS grid layout of cards

I have this grid over here: and i want the first big card to take the whole height of the wrapper and remain the same width, while the bottom two cards go to t

Polite ARIA live region for a game with high rate of messages

I'm running a little game on the web. In order for it to be optimally screen reader accessible, incoming messages, which can be about in-game actions or user te

I am trying to create a rect element within a svg element, but its not working

Why is the red rectangle not appearing when I run the function createRect(). Any help would be much appreciated. function createRect() { var rec = doc

Open source html and css

Is HTML or CSS open source like PHP or Python? For example PHP itself: PHP source link in GITHUB

I have two html files with the same background image. When I display them side to side, I need them to have a common background image

When I want to display the HTML's side by side, I am using UI regions to specify left half to display one html and right half to display the second html. But si

Center check boxes with css in cfml page

I'm having a really basic issue with css. It won't let me centre my checkboxes in the middle of the page. The checkboxes are actually coldfusion, but should wor

How to stop focusing after closing the button

I have a button in my navbar and when I press the button it opens a drop-down menu, so my question is how to stop focusing and the effects on my button when I p

Is it possible to make grid item span if the next column is free

I have a question is it possible to make grid item to column span when the column next to the grid item is free and in only in this case. If grid item is in row

How can I pass function as an argument in javascript?

I would like to create a sticky element that disappears when a certain div (bottles) get to bottom of the screen. I have this code that works: function update()

Hi, I am making a contact form thingy, and my php isn't working any reason why?

Error: the code: <?php $name = $_POST['name']; $mail = $_POST['mail']; $message = $_POST['message']; $to ="[email protected]"; $sub

What is the difference between valueChanges and snapshotChanges()

this is my component.html <div class="form-group"> <label for="category">Category</label> <select ngModel name="category"

Is there a way to have a vue component whose template only contains the text of a property?

Is there a way to have a vue component which has a template area that only contains plain text? The problem I face with the current solution (using a div to wra

Check All checkbox not working across the table pagination razer mvc

I have implemented a checkall checkbox for the table but the table has pagination and DOM only gets the elements currently showing on the page. my implementatio

How do I turn print into <p>

This is my script: <script> import random import string def get_random_string(length): # choose from all lowercase letter letters = string.prin

Dynamically added svg iamge not visible in Angular

I tried to add svg image on my application but it's not visible. The image link is coming from the backend. I tried multiple ways but nothing is working. 1st wa

Single CSV column is using multiple columns in HTML table

After a long journey to figure out how to load .csv files into a table I've run into another issue. One of the columns in my .csv file is splitting into other c

Cant Overwrite font-size of bootstrap 5

I am learning bootstrap 5. so when I tried to edit the font-size of the navbar-brand. It kept the basic font-size and didn't work. further more if I try to add

Why is the size of SELECT smaller than INPUT in HTML

I was trying to create a form where I faced an issue: The size of SELECT and INPUT element are different. In the following: why is the div with SELECT element s