Category "html"

How can I change the inline javascript code to plain javascript code in the js file?

I am currently learning js and I'm making a chrome extension. After finishing the tutorial, I want to add more features for the extension. And I did it! You can

Browser address bar displays #[object%20Object] when clicking the menubar

I found that if I click one of the sections in menubar, the browser address bar displays #[object%20Object]. But it didn't influence scroll-to-section. Partial

How do I save data, that would normally be in a database, to a SharePoint folder or the site's root folder

I'm working on a project for my employer that is off-job-description for me. I am not in my department's IT/WebDev departments. That being said, my department i

Is there a way to having loading animation show until the page is fully loaded?

I have deployed my website on netlify but, the website displays only HTML until it finishes loading... Any tips on a way to make the website only show once it h

Video autoplay (HTML/CSS) not always working on phone, but sometimes it is

I'm trying to create a simple website and want to just have some videos autoplay. Now I'm aware there are some changes that make this a little bit harder than i

How to solve line discontinuity in html table (python fpdf2 generate PDF documents)

I try to generate a PDF document. I use PYPDF2. The PDF contains a table which is generated by : class HTMLMixin: HTML2FPDF_CLASS = HTML2FPDF def write

How to make dynamic changes in HTML?

So I want to add to a variable every time someone clicks a button on my website. I am very new to HMTL so I don't know how to do this. All the examples I've goo

Front End First Timer: How do I modify Javascript to accomadate multiple image slides within multiple slides?

I have 0 experience in front end, but going for it anyway. I currently have this Javascript: <script> function openCity(evt, cityName) { //

Why the second image is not being dropped in the correct position in html and Javascipt?

I have the following code in which is implemented a simple drag and drop with an image. for some reason the first image works the second no, when I drug it insi

Getting image from input file and then add it as a background to a div

I am making a whack the mole game with Vanilla JS and I am trying to make the person whack whatever he wants by letting them upload an image by input file but

How can I read HTML using Selenium in Python when I cannot see the whole page?

I want to use some text in a Smartsheet page/grid, but when I try to access it using Selenium (finding the element by id and copying the text to a variable), th

Highlight corresponding table <TD> cell based on row name and cell value

How would I go about highlighting a cell based on the row name and column value from the first column? I have included a fiddle. $('tr').each(function() {

How to apply classes to dynamically generated content?

In tailwind, there is a feature (which I find very annoying at times) called preflight that turns most of the HTML elements to appear like normal text. And the

Not able to move the button to the right of the page and the text to the center of the page

Not able to move the button to the right of the page and the text to the center of the page even though I have added the necessary CSS ( float right etc.,)

Not able to move the button to the right of the page and the text to the center of the page

Not able to move the button to the right of the page and the text to the center of the page even though I have added the necessary CSS ( float right etc.,)

Bootstrap 5: Close offcanvas Menu after click anchor links

It is about a project created with Bootstrap 5. The problem was that the offcanvas menu stayed open, by clicking an anchor link. To close the menu after click I

Bootstrap 5: Close offcanvas Menu after click anchor links

It is about a project created with Bootstrap 5. The problem was that the offcanvas menu stayed open, by clicking an anchor link. To close the menu after click I

How to create a vertical line on top of the text when it is active?

I want my active element to have a vertical line on top of it and I was given a hint to use either :before or :after in CSS to make this line. However, I'm not

unable to apply different CSS classes to 2 svg images( both are clones of each other)

I have 2 svg images in my html in 2 different divs. On performing some action I am trying to hide one and display another by adding different css classes dynami

monaco-editor - resize property causes editor popups to be hidden

I am using deltaDecorations to show errors in my editor. here is my code: https://gist.github.com/dinager/41578bd658b60cc912a6023f80431810 Here is the result: