Category "html"

How do you add/remove hidden in <p hidden> with JavaScript

How do you add and remove 'hidden' from <p hidden>My Text</p>? I tried removing the attribute and setting it to false but neither of them worked.

Angular input file: Selecting the same file

I have the following line in HTML: <input type="file" #fileInput style="display: none" accept=".xml" (change)="OnFileSelected($event)"/> Upon

how to get dropped element ID , dragDrop Angular

i use this function on drop from task planned into task progress onDrop1(event:CdkDragDrop<string[]>,id:any){ console.log('ondrop progress')

Change HTML Page Language

I want to make a page in English that has a button which can change the language to German. I have read thousands of articles about this topic but I haven't got

Disable button unless checkbox is checked (Angular 7+)?

I want to button to be disabled unless all checkboxes have been checked? How do you implement this in Angular? This is different because it is not a form and

How to Map the Buffer TimeRange Data From an HTML5 Video Player Ref to a Progress Bar?

I'm basically just trying to emulate the buffer bar from the default HTML5 video player or like on YouTube. I am making a custom JSX HTML5 video player control-

Nodejs + html evt.target value is undefined

Okay so here's my html code document.getElementById('comment-form').addEventListener('submit', async (evt) => { evt.preventDefault(); const userI

Arrange images having different heights in a grid

I have to display 10 images that goes by row. For example: 1 2 3 4 5 6 7 8 9 10 (The number is the images) With these images, I want to remove any white

Close Bootstrap Card Container

I have a card container in my code. I have added a 'close' button that I want to close the card when I click it. I am unsure how to make this work and I've been

How to make a button that teleports randomly on the website onclick

At the moment I wanted to create a button that teleports randomly back and forth on my website. As I am very new to JavaScript, I did not get it right. That's w

How to add specified alignment to an image?

So, I would like to have the image in the footer of this template be aligned more with the text above it that reads, TRACKING # EP. How do I set the margins fo

How to adjust the ionic popover position responsively

page1.html <ion-icon name="more" click()="goToPopOver($event)"></ion-icon> page1.ts //all imports are made // all instances are created goToPop

How to align icon next to text of link attribute with tailwind-css and css.gg

This is 100% a duplicated but I cannot get the icon left to the text of the <a>-attribute. The closest I got is with this solution: <script src="ht

Creating and understanding XML transform

I am trying to brush up on my XML skills and was taking a course on it. There is one where I am tasked to create a XML transform from an XML instance that conta

ERROR Error: Cannot find control with path: 'products -> Quantity'

When I add one product in my form, show this error. My code ts: this.products = this.ps.getProduct(); this.addform = this.fb.group({ 'invoice_number': new F

POST multiple array params with multiple input file type

I'm confused to solve a problem. I have a form to POST <input multiple="multiple" name="dog[gallery_pictures_attributes][][file]" type="file"> <input n

AJAX POST not sending request to express.js server with body-parser due CORS problem

I'm trying to make an AJAX POST request from my html page which runs on an apache server. The request is needed to POST a filename to the express.js server and

svg in symbol tags are taking spaces in the bottom

I have stacked many svg codes in symbol tags at the bottom of all my codes like-- <svg> <symbol id attributes> svg codes </symbol

iPhone X status bar black web app

I am working on a web-app and in testing on iPhone X using the Simulator, the status bar is completely black. How do I make my website cover the entire screen?

SCSS Background Hover

I am struggling to change the background of my link when I hover over it with SCSS. I am able to do so when I go back into my main.css, but I really want to und