1,187,769 questions
0
votes
1
answer
14
views
OLA Map Web SDK With HTML, Javascript Not Showing Map
I'm trying to integrate OLA Map Web SDK In my project. I've gone through the documentation and tried everything I can but found nothing to be useful. Every time I got the following error:
Error: ...
1
vote
1
answer
22
views
Why does grid-template-areas break when combining minmax() and auto-fit in CSS Grid?
problem
Problem
I’m trying to create a responsive layout using CSS Grid.
The grid should have a header, main content, and a footer. I’m using grid-template-areas combined with auto-fit and minmax() to ...
0
votes
2
answers
46
views
Tailwind CSS v4 @apply not working properly with theme variables
I just started using tailwind CSS v4 and trying to make reusable UI component with React JS. but I'm getting errors like:
Cannot apply unknown utility class `text-brand-secondary-800 which i defined ...
-2
votes
0
answers
76
views
I have a problem with the my the accuracy of my roulette game [closed]
I’m building a small roulette wheel game in JavaScript. The wheel spins correctly, but sometimes the pointer shows the number next to the one it actually lands on.
Here’s the relevant part of the code:...
0
votes
2
answers
55
views
Display child of clicked parent, hide other children in list
Right now this is my html:
<div class="parent">
<h1>Parent</h1>
<ul class="child">
<li>
Some content
&...
0
votes
1
answer
54
views
How to make scrollable list of buttons
Needed to make scrollable list of buttons in the left part of the screen. But the scrollbar in child div, even forced by overflow: scroll is not working. Read about removing overflow from parent ...
0
votes
0
answers
70
views
How to show my maps website in JavaFX application using WebView?
I need to implement a map for my road management project. Something similar to Google Maps but simpler. It is for an academic project. I don't want to use Google Maps API.
I tried using JavaFX WebView....
4
votes
1
answer
52
views
Using a model property (list of dictionaries) as an input to django's format_html_join() yields KeyError
I am attempting to use Django's format_html_join() util to return an html formatted version history for one of my models. But I cannot get format_html_join() to accept my list of dictionaries.
Here is ...
1
vote
1
answer
35
views
How to undo a refactor that altered base types in frontend framework?
I'm using Svelte 5 and TypeScript in VS Code.
I'm running into an issue where the TS language server thinks that the style attribute is not valid for a <div>, which is obviously incorrect. I'm ...
0
votes
1
answer
87
views
How to fix this one flex-box with scrollbar problem?
I have a simple markup for my page and I am experiencing an issue where the scroll bar appears too late when I reduce the page width. For better understanding, here is the codepen and photo.
Codepen ...
0
votes
0
answers
34
views
Dropdown and icon misalignment in browser extension on scroll and iframe fields
I'm building a password manager browser extension. It displays an icon next to input fields (including inside iframes), and when clicked, it shows a dropdown with autofill options. The problem is that ...
0
votes
0
answers
45
views
How to Include Javascript Code while writing a Moodle Block Plugin?
I am trying to create a moodle block plugin, here is the source code, it is a very simple plugin with bar minimum code,
I wrote some html and when a user enter something in the text input I want to ...
0
votes
0
answers
25
views
Tailwind sidebar: No internal margin between sidebar and child components [closed]
I'm building a sidebar layout in Next.js 15 using Tailwind CSS. For some reason all child components (buttons, inputs, etc.) keep hugging the edges—there’s no visible margin or spacing inside the ...
0
votes
1
answer
44
views
Reset form to its original state using alpine.js
In a regular form, I can use a button with type="reset" to reset it to its original state.
I'm using alpinejs to render a form. How can I reset its data?
-8
votes
0
answers
44
views
I'm using the react-window library in my React app to virtualize a table with a large number of rows. However, I'm facing a UI issue wm [closed]
I'm using the react-window library in my React app to virtualize a table with a large number of rows. However, I'm facing a UI issue where the horizontal scrollbar overlaps with the table rows instead ...