All Questions
1,185,938 questions
Advice
0
votes
0
replies
18
views
Coding scripts for Cuberealm.io (My first question)
I am very new to coding, and I am just now learning HTML, CSS, and JavaScript.
Right now I am trying to make a script/hack for a Minecraft-based browser game called "Cuberealm.io."
I was ...
-1
votes
0
answers
26
views
CSS in a HTML file [closed]
I'm trying to make a program. For purpose of simplicity, it's a single HTML file with other languages in a <script type="text/___" section. Most of it seems to work except the CSS, the ...
Best practices
3
votes
4
replies
47
views
How to build a responsive Bootstrap layout with custom hamburger breakpoint, cards, and a gallery modal?
I am trying to build a responsive webpage using Bootstrap (v5), but I am struggling to combine several layout components effectively into a clean structure.
Here are the specific layout requirements I ...
0
votes
0
answers
35
views
VSC Format on save only works on PHP files
I have set Editor Format on Save to true. My PHP files reformat when I save them but my HTML, Javascript files do not. Do I have to use some other setting to get them to format on save?
-1
votes
0
answers
32
views
Why is "flex" property not sizing the children elements proportionally? [duplicate]
My expectation: The .lower-card height should be 70px and .upper-card height to be 140px (because flex is set to 1 and 2 respectively and total height is 210px).
Reality: Problem is that my padding is ...
0
votes
0
answers
49
views
CSS step-animation frames start stacking on top of each other on nearby hover in Chrome/Edge
I am facing an issue with a pure HTML/CSS text-typing animation sequence built using stacked, absolutely positioned layers. The effect works perfectly on Firefox and Safari, but breaks consistently on ...
-3
votes
0
answers
70
views
Vite app returns index page content from fetch request when dynamic import fails
I am trying to work with dynamic HTML imports in my Vite application.
I am using this pattern:
<html-include src="widgets/component-name.html"></html-include>
And then a ...
Advice
1
vote
3
replies
81
views
How to publish a website with HTML generated by AI (no terminal, no Git)?
I've been using Claude and ChatGPT to generate HTML pages for work. Landing pages, simple portfolios, small tools for clients. The output looks really good inside the chat window and I want to share ...
-1
votes
1
answer
131
views
How to apply CSS styles when an element is focused via a mouse-click-and-hold, and then loses focus when the click is released outside the element [closed]
I am working on an accessibility design concept where a user clicks and holds an element, such as a button, and subsequently releases the mouse outside of it. When this occurs, the element's visual ...
-3
votes
0
answers
73
views
♥ ♥ rendering in Gmail Mails [closed]
I am currently testing sending an (HTML) email using PHP via SMTP. Everything is working fine so far - but I’ve discovered a small issue:
I inserted a short text snippet (see example here) into the ...
Advice
0
votes
5
replies
80
views
Chessboard layout, fill parent and remain perfect square
I am trying to make a chessboard with this layout, chat panel on left, board in middle and controls panel on right.
Using container queries and 100cqmin i can get the board to always take that space ...
2
votes
0
answers
64
views
Prevent the VirtualKeyboard from popping up on mobile devices when pressing a button
I have a custom dropdown field on my website. The dropdown is activated by clicking a button.
I am trying to prevent the VirtualKeyboard from popping up when the button is clicked.
The code below ...
Advice
0
votes
9
replies
91
views
Inputs dynamically added and filled out in new Mozilla version
I've got a php, javascript, html code that is working in an old PC with windows 7 and Mozilla 115.34.1esr (32-bit). I'm trying the same code in computers with windows 11 and 10 that have mozilla 150....
1
vote
2
answers
119
views
Trying to use a graphic to mask another graphic then count pixel colors from the result, but count is wrong
I'm using a black colored circle as the mask of a red rectangle that's 100x100, which is 10,000 pixels. The mask looks great and gives a nice red circle, but when I try to count all the red pixels in ...
Advice
0
votes
3
replies
94
views
How to create a clickable link in HTML?
I want to add a clickable hyperlink on my website. I am a beginner and I don't know how to add a link in HTML. Can someone please explain with an example how to use the anchor tag to create a ...
