1,187,209 questions
0
votes
1
answer
49
views
How to align the data upload button with other types of button?
I am writing an R Shiny app and use CSS to format the buttons on the header and footer of the page. I am running into a sticky situation with the Upload button, where no matter how I configure, it ...
-3
votes
1
answer
35
views
Why does the entire viewport fills in red when the element is not that big in size? [duplicate]
Hello! just trying to figure out what is going on here.
I am trying to understand in a comprehensive way, how all this works (I am an experienced one but always with some doubts about the things ...
0
votes
0
answers
88
views
How to recreate Ethopia flag using HTML and CSS [closed]
I am trying to recreate Ethopia flag using HTML and CSS but I am unable to do the middle part of the flag. The star inside the circle is not coming as expected. HTML and CSS I have applied:
body {
...
-1
votes
0
answers
65
views
Why are my CSS class styles not applying even though the class name is correct? [closed]
I am trying to apply simple CSS to a paragraph but the styles are not being applied. The CSS file is in the same folder as the HTML file.
Here is the minimal code:
<!DOCTYPE html>
<html>
&...
-2
votes
2
answers
32
views
using GDrive link as html base - http 400 [closed]
I try to use <base href="myDriveLink" /> to redirect relative page refs like <a href="test.html" /> to files stored in the Google Drive. I am user and owner.
In any ...
-3
votes
0
answers
60
views
Why is my HTML button not responding when I click it? [closed]
I created a simple button in HTML:
<button onclick="show()">Click Me</button>
<script>
function show(){
alert("Hello");
}
</script>
But when I click the button, nothing ...
0
votes
0
answers
84
views
Set gap between list marker and content
Take the following HTML:
<ol>
<li>one</li>
<li>two</li>
<li>three</li>
</ol>
Is it possible to set the gap between “1.” and “one”, which is the ...
-7
votes
0
answers
72
views
How to revert the code to span replacement of code tags with translated text in between which was translated by Google translate? [duplicate]
How to revert the code to span replacement of code tags with translated text in between which was translated by Google translate ?
Google translate was not translating text between <code ....> ...
-2
votes
0
answers
66
views
JavaScript crossword input freezes and focus does not move to the next cell [closed]
Problem
When I type a letter into a cell, the focus does not move to the next cell in the word.
After typing a letter, the entire input system becomes unresponsive — I can’t type more letters, ...
0
votes
0
answers
25
views
how to change body section style using checkbox in header tag section in a html page [duplicate]
I want to change background color of "maincontent" div element to red when I clicked check box, which is in header tag of my HTML page. please give any idea how to do that.
<!DOCTYPE html&...
Advice
0
votes
0
replies
49
views
css/react/mui border radius like
Graphic designer designed this component that should display forms and messages like an auth form...
I'm a bit confused on how should I code the top right border... I thought a simple border-radius ...
-3
votes
0
answers
33
views
Why is my web display not full when I add aos js? (bootstrap5) [closed]
I'm a junior web developer and I want to create a portfolio website using Bootstrap 5. When it's finalized, I want to add animations using AOS JS. However, when I add these, the website doesn't ...
0
votes
0
answers
46
views
Why does querySelectorAll return an empty NodeList inside my custom class even though elements exist? [duplicate]
I created a small UI class to encapsulate DOM operations:
this.items is always an empty NodeList when the script is loaded in the <head> (not at the end of the body).
If I move the script to the ...
-4
votes
4
answers
117
views
Why is my JavaScript querySelectorAll not selecting elements by ID? [closed]
I’m trying to select multiple <p> elements in my HTML using querySelectorAll, but it’s not working.
Here’s my code:
<p id="ss">Paragraph 1</p>
<p id="ss">...
Advice
1
vote
2
replies
116
views
HTML static webpage - how would I have any of the files present in a particular directory be selected in a src
How would I go about, in an HTML webpage, having a random file in a specific directory be selected in a src? My intent is to have a randomized audio file autoplay whenever I open any webpage on my ...