1,185,368 questions
Score of -1
1 answer
50 views
How To Make An Animate Menu Icon Show/Hide Menu
I'm trying to make the animated Menu Icon open ☰ and close X the menu links. Instead of making two separate buttons, I can just code it in one button.
I've manage to give my menuIcon an onlick openNav(...
Score of -2
1 answer
50 views
Null is not an object for DOM
I am trying to make a website that works as a task list.
When I click the Add button, I expect the typed input to be added to the chosen list, there should be a remove button next to it, and when I ...
Score of 0
0 answers
26 views
2-column flexbox layout without nesting divs
I'm trying to control the design of a page where I have no control over the HTML that's output, so my solution needs to be CSS only. The HTML I'm trying to style is basically the following:
<div ...
Score of 0
0 answers
50 views
Hover on a heading and change background image [duplicate]
This was deemed a duplicate to this question "Is there a CSS parent selector?" which is nothing like it, so please reopen my question.
I need to create an effect where I have a background ...
Score of -2
0 answers
113 views
I've got an error with my upgrade buttons [closed]
I have 2 upgrade buttons: a click upgrade, and an auto clicker. When you try to buy an upgrade without enough money, you get a confirmation. But if you successfully buy an upgrade after getting that ...
Score of -6
1 answer
107 views
How do i put a image (that isn't in the project page) on a canvas in Js? [closed]
I'm trying to create a Miro/Freeform for personal use, but, for that I need a image.
I already tryed here, Stack, Github Copilot and more and nothing worked.
image code thing:
if (currentTool === '...
Score of -1
0 answers
45 views
Getting the exact Font type present in the html code through chromium browser rendering exact font type in the pptx
While converting an HTML slide into a PowerPoint (PPTX) slide using DomoXML, I am unable to preserve the exact font that is used and rendered by Chromium.
My requirement is to ensure that the font ...
Score of 0
1 answer
123 views
CSS counter-reset inside sibling div doesn't work
How to make "list 2" have separate counter? For now "list 2" tracks as inner list of the last item of "list 1".
The problem only exists if "list 2" is wrapped ...
Score of 2
2 answers
144 views
Avoid synthetic sounds overlapping
I have the following simple program in HTML and JavaScript:
let Soundon = 0;
document.addEventListener('click', function(evt) {
let Key = evt.target.id;
if (Key == "btn1") frq = 200;
if (Key =...
Score of -2
0 answers
101 views
Force a format for input type="date" regardless of locale
The admin section of our site has a mix of American and British users, who are sometimes located in each other's locales. For date chooser inputs, I have previously used the datepicker JavaScript ...
Score of -4
2 answers
179 views
How do I make it so that the script responds differently for each element?
I'm trying to make it so that each button opens up a different dialog box.
The script I use only allows for one dialog box, but not the other.
<html>
<style>
body{
...
Score of 0
1 answer
74 views
How do I disable the default iOS form styling in place of my CSS?
I'm trying to customize some form elements (input, button, select, etc.) with CSS to apply a glassmorphism effect, although it appears that on iOS a white background is slid under it which makes all ...
Score of 2
1 answer
107 views
In an HTML table, what's the use of the scope attribute for <tr>, <tg>, and <td>
the Mozilla developer network's article on <th> says that scope "Defines the cells that the header (defined in the <th>) element relates to".
What does it mean for a cell to be ...
Score of 1
0 answers
57 views
EleventyImageTransformPlugin images are not stored and referenced at the same place
We are using eleventy and its image plugin to display images. The content is markdown converted with MarkdownItFootnote, e.g:

In our local ...
Score of 0
1 answer
115 views
ASP.NET Core MVC displays bool as text not checkbox
I have a project in ASP.NET Core MVC. In this project there is a model with property type bool.
In the model class, I have this property:
public bool? IsConfirmed { get; set; }
The scaffolding ...