Category "html"

'http://127.0.0.1:5500' has been blocked by CORS policy

this is index.html code <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible"

How can i upload audio file to Cloudinary with Node.js?

i deeply need help with this audio file upload to cloudinary issue I have had for several days now. I tried many times to make it work, but i am still strugglin

How to make Angular Material mat-select select list width automatic and adapt to the widest option?

Problem I have a Angular 6.1.10 web app. I want the width of the mat-select list options to be automatic and adapt to the widest option in the options list. See

How to host material icons offline?

My apologies if this is a very simple question, but how do you use google material icons without a <link href="https://fonts.googleapis.com/icon?family=Ma

Ways to limit Phaser3 update rate?

In my Phaser3 game there is a global gameTick variable that is incremented every update. I am using this to spawn in enemies in my game every 100th update. Her

Resizing div to its container?

I have a square block of 100*100px, there is a container block that may be resized. I want to resize the inner block so it always be inside the parent without o

document.getElementById - dynamic use for using the same ID more than once

var img = document.getElementById('myImg'); var modalImg = document.getElementById("img01"); var captionText = document.getElementById("caption"); img.onclick

Input type="number" with pattern="[0-9]*" allows letters in firefox

So, all question is in the topic's title. Input type="number" with pattern="[0-9]*" works fine in Chrome, but allows letters in FF. Is there any way to fix it w

tinymce automatic list items

I am using the tinymce lib. this is my code: <div class="beschreibung"></div> <script> tinymce.init({ selector: '.beschreibung', inline

Background color in Inputs HTML/CSS

I want to change background color only in Inputs: Input1, Inputs2 doesn't have to change color But now they all change color input[type="time"], area { ba

Send by mail Excel sheet image

I have an Excel with an embedded image. How can I send it by mail using the name of the image? I do not want to send it attached, I want to embed it in the htm

How can I get the weekday from an users input date?

function date() { var input = document.getElementById("input"); } <form> <input type="date" placeholder="dd:mm:yy" id

textarea corner resize icon not hiding even when the popup above the textarea have large z-index..

I am working in a page, which contain textarea and a button, When click on button, i have to show popup. When popup is open, the textarea right-bottom corner r

Embedding a notion page in an HTML page

I'm having trouble finding a way to embed a notion page in an html page. I use iframes to embed spreadsheets but Notion doesn't allow that. Is there any way to

W3C CSS validator is giving errors on @font-face unicode-range

Since few days ago W3C CSS validator started to be more strict and started to give errors on this type of CSS3 implementation (this type of CSS3 files are every

W3C CSS validator is giving errors on @font-face unicode-range

Since few days ago W3C CSS validator started to be more strict and started to give errors on this type of CSS3 implementation (this type of CSS3 files are every

Scroll Snap Breaks Smooth Scrolling

I am trying to make a page with scroll snap as well as smooth scrolling when you click on a link but scroll snap seems to break smooth scrolling. On iOS it brea

Give a radio button a hidden text value through selecting an image that is stored with that name in the database PHP/Html

Hello infinitely more knowledgeable stack overflow community. I am trying to accomplish the following: There is this quick form a user fills out and part of tha

Change Multiple CSS property from multiple CSS class dynamically in Angular

In angular, we can easily change the property of a CSS class dynamically, like if I have a class .my-class { background: url('..') } and if I used my-class a

Why do input type="date" and "time" load blank on mobile devices even with a value set?

I'm having an issue where I have two inputs of type date and time that have the value attribute are showing up as blank input boxes. Example: <input type="da