Category "html"

How to use .slice().reverse() in *ngFor with | keyvalue?

I often use .slice().reverse() in *ngFor to display elements in reverse order. But now I have a problem, because I also use | keyvalue. How to use .slice().reve

is it possible to have a flask app and an ejs website

i am making a flask app and usually i would do the following code: from flask import ( Flask, render_template, request ) app = Flask(__name__) @

Position of image <input> open dialog on Safari iOS

I need to trigger browser image selection from photo library/camera in response to user clicking a custom element (hiding the default <input>). Using the

Cart's update on subpages

My cart doesn't want to update on subpages, even though I basically copied the same code from index.php (including the script). I checkec twice and everything i

Is it possible to convert a Scratch project to an Android app?

For those of you who don't know, Scratch (scratch.mit.edu) is a programming language based around connecting 'blocks' of code in order to create a project. I h

Why is my page not loading when clicking on event listener?

I'm creating an anime quiz. So when the user clicks on "Welcome to the anime quiz" s/he should be presented with 4 different anime titles. However, nothing happ

Is there a way to add two values of an array?

I am trying to make a vernam cypher using html and js, I started by giving each letter a value like (a = 0, b = 1, c = 2, … z = 25). Made two inputs so

About implement single HTML page with multiple tabs via CSS with or without JavaScript aid

I am interested in building a web page with one single HTML file and multiple tabs. Since only one tab at a time can be selected, I thought that the most approp

How to add multiple path locations in flask

i was thinking to simulate a disk full situation. so that after certain number of files gets uploaded into one location it will automatically switch to differen

disable other buttons using e.target.id

I have ten expansion panels. on click of one button in one expansion panel I need to disable other buttons in other expansion panel but the problem is when I tr

Does length of CSS code determine the loading speed of website? [duplicate]

I am beginner. I want to know, Does length of CSS code determine the loading speed of website?? Please tell me about relation of code and load

How to create a zig zag pattern using CSS

On a repeated background, the edges of the repeated tiles don't align exactly on certain zoom levels. This leads to unwanted edges as the color of the backgroun

Unable to render .MSG files via "https://view.officeapps.live.com/op/embed.aspx?src=[MSG file URL]" on HTML iframe

I have to render some office files( .doc, .ppt, .xls, .msg, .eml) which are publicly accessible documents on the browser. I was using iframe like below and it

How to convert these inline style in html into react?

Hi Inside the html people use these kind of styles to animate. I am actually following the pen from alphadex Link. I never see this kind of writing in HTML befo

The <picture> Element in html5 shows not different images by resize

I found this code : https://www.w3schools.com/html/tryit.asp?filename=tryhtml_images_picture I have tried it on all my browsers and it's been working properly

Chrome: HTML date input produces strange comma

Whenever I use "input with type="date"" in Chrome, there is a strange comma on the left of the date input. There is no such comma in Firefox and I cannot find a

Number of sibling elements in a calculation in SCSS

I'd like to customize an animation in SCSS based on how many sibling elements the animated element has. The full SCSS code is here for reference, however the re

Make custom checkbox switch Label element a11y tab / keyboard accessible

So I'm trying to make custom slider that's cross browser (IE11, Chrome, Firefox, Edge) that's also a11y accessible and I'm having trouble getting the label elem

Numeric and alphabetic sorting XML table error from buttons

<!DOCTYPE html> <html> <style> table,th,td { border : 1px solid black; border-collapse: collapse; } th,td { padding: 5px; } </style&g

ASP.NET show dynamic changes on all clients

I'm a beginner with ASP.NET and webapplications in general. For a project I have to interact with an enginnering software to read some data, for this I have to