Skip to main content

All Questions

Tagged with
0 votes
0 answers
2 views

Can't embed YouTube videos in React.js

I am trying to embed a youtube video in my react.js website, I have tried multiple different code samples in my file as seen below: <h1>Embedd Test1</h1> <YouTube videoId="6pH4Ot-...
Martin's user avatar
  • 1,598
0 votes
0 answers
8 views

Getting proper rendering of local sourced HTML/CSS/JS from within iframes for game GUI (no gaming code)

I've uploaded a first set of files to my GitHub account as follows (no gaming logic, only layout and GUI aspects so far): GameBoard_TargetAndFleet__iter01.tar This is an iteration in the development ...
Eric Marceau's user avatar
  • 1,727
-3 votes
0 answers
27 views

Why is my JavaScript shuffle and selection game not properly detecting the correct guess after shuffling? [closed]

I am working on a simple animal card shuffle game using plain JavaScript, where: The user selects an animal card. Then presses "Start" to shuffle the cards randomly at a selected speed. ...
Jashan Gill's user avatar
1 vote
0 answers
40 views

How to make "holes" on an overlay to show what's under the overlay? [duplicate]

I'm trying to create a simple block in HTML, CSS, and eventually JS. The overlay cover the whole screen, the texts are white, basically, i need to cut the overlay where there are the video-gap divs to ...
Vladimiro Antipin's user avatar
0 votes
0 answers
24 views

Add small space between lines and their points

I have been tasked with implementing the following design using Chart.js: Almost everything's been implemented (via the Chart.js documentation): const chart = new Chart(document.getElementById('chart'...
The-Coder-Who-Knew-Too-Little's user avatar
-1 votes
0 answers
16 views

How to make a carousel to be infinite in a smooth manner

I'm working on this React x Motion carousel that brings a card to the center of the screen when it has been clicked, depending on its index. However, I also want an added function to make the cards to ...
TeDi's user avatar
  • 47
0 votes
0 answers
14 views

Obsidian plugin programming : MarkdownRenderChild View’s dynamic styling

In a plugin’s custom developed view which extends MarkdownRenderChild, how do I change root container (block code area)’s height dynamically after first rendering in preview mode? The below code works ...
metaitopia's user avatar
0 votes
0 answers
13 views

Using webpack-merge for both module loaders and plugins

We have multiple webpack configuration files, and I need to restructure them to share common configuration Current file structure webpack.prod.js webpack.dev.js New file structure webpack.common.js ...
David Driver's user avatar
0 votes
1 answer
61 views

css gets transitioned at first mount

I have a svelte app that mounts some progress dots into a pretty plain html site. simplified the ProgressDots.svelte has this: hello <div class="progress-dots"> <div class="...
munHunger's user avatar
  • 3,061
-3 votes
0 answers
24 views

Optimizing weather animations (snow/rain/stars) for mobile - alternatives to 100+ CSS animated elements? [closed]

I'm building a weather-themed portfolio with interactive animations that must maintain performance on mobile devices (≥ iPhone 8/Android 9). While I've made optimizations, I'm hitting performance ...
Oyemahak's user avatar
0 votes
0 answers
37 views

Unselecting and other weird behaviors like tapping outside deselect sometimes when the app is tested on a real phone, but works in pc mobile size

This is very weird, when you select the same hour that you selected it should deselect it but it doesn't work when tested on a real phone. When i test it in my pc using mobile size 290 width pixels ...
J4K0b's user avatar
  • 11
0 votes
1 answer
38 views

Why do my floating leaves appear at the same time and barely move?

I'm trying to create a floating leaf animation using CSS and a parallax effect with JavaScript. My goal is to have multiple leaves float in slightly different paths and timings across the screen. But ...
Ellie Dung's user avatar
0 votes
0 answers
25 views

Calculating offset to center a card in a carousel

I'm working on this React x Motion carousel that brings a card to the center of the screen when it has been clicked, depending on its index. However, the cards only seem to be placed at the start of ...
TeDi's user avatar
  • 47
0 votes
1 answer
46 views

Tailwind 4.1 Transition for flex item not working

so I'm having a weird issue with Tailwind and it's transitions. I have a parent div with a background color that changes depending on the activeState. This has a transition and it works just fine. ...
Ninety9Balloons's user avatar
1 vote
1 answer
35 views

Drag and Drop Swap in cards is not working

here is my code, and i am trying to Drag a .card (which includes an image),Drop it onto another .card and swap their content so they switch places visually. But it is not happening and also not ...
user15895653's user avatar

15 30 50 per page
1
2 3 4 5
14747