Alternating rows background - updating dynamically when hiding/showing rows with css only?

I have a table ".report" and it should have alternating background for its rows. The UI allows users to hide and show rows dynamically and I want the background of the rows to keep the pattern at all times. I implemented the solution whe

Continue reading →

cannot set properties in undefined setting

Why i am getting cannot set properties of undefined setting (background color) in JavaScript code. let btn = document.querySelector('button'); let h1 = document.querySelector('h1'); let h2 = document.querySelector('h2'); let p = document

Continue reading →

How to make multiple animations trigger in sequence on the same element using JavaScript?

I'm new to JavaScript, and working on a startup application. I'm trying to write code that will cause an animation to execute multiple times (in sequence) on the same text element, with the text changing between animations. The text chan

Continue reading →

items not vertically centered when their height is floating point number

i tried to center align element in flexbox ,with round number height it working proper but it getting failed when height get change set to floating number .it should properly center align with floating number values. this is the demo lin

Continue reading →

Display InLine-Block elements with value margin and margin effact

If there are two elements with a value of Display InLine-Block They are located next to each other on the same line Then we gave one of them a margin top value Or margin Bottom Both elements are affected by the margin value Why are the t

Continue reading →

Recharts - how to show multiple Y values at the same X

I am using Recharts (https://recharts.org/) for my charting purpose on a React Project. I have a dataset, to be charted as line chart where on the same "date" (i.e. X axis - Note: Date only, not date and time,) I can have multiple values

Continue reading →

I am creating a popup that should display as soon as i open my splunk dashbaords... can anyone please help me on this issue ...?

The popup should just be visible as soon as the dashboard gets loaded ..I have tried using some JS query code for this one but I am not getting any results... I am expecting the pop to immediately launch after the dashbaord gets loaded .

Continue reading →

Why is my getAsFile() method returning null?

Here is my code: document.getElementById("Image_Panel").addEventListener('paste', (event) => { // Get the clipboard data console.log("Pasting an image step 1"); const clipboardData = event.clipboardData; // Check if the clipboard d

Continue reading →

Can't drag range input

I'm making a bunch of useless sliders and for this one every time the value is changed I set the max to (1 + 1/n)n (formula for e as n gets closer to infinity) where n is the value. I then set the step to the max / 100. This should make

Continue reading →

how to make my image go from right to left with animation

i wanna make the images go from right to left on my screen, but it has to be like a rainbow so in the middle it goes up and goes down but i cant get the rainbow effect i tried to play with the numbers to make sure when its at the middle

Continue reading →

Why won't my elements shrink when I use flex-shrink?

Ive just started working on the landing page project from the odin project, and I've come across this problem where the header text is overlapped by the "image" when I make the browser window smaller, and when I make it as small as it ca

Continue reading →

CSS doesn't load when deploying Django on Railway, because MIME type ('text/html') is not a supported stylesheet MIME type

I've completed the CS50W project 1 wiki project. Though not part of the assignment, I would like to host it online so that I can show it to my friend. The deployment to Railway is a success but when I view the page, the CSS doesn't load.

Continue reading →

Rendering problem in flask ,I am getting a white page

I am unable to render my html page in flask . Where as my code is completely correct,Is there any settings I have to change in my system When I tried to return some text it is visible on screen,but when I tried to render a html page I am

Continue reading →

Unable to change html desktop view to mobile view

I made a parallax type of website using html , when scrolled down the images move, using css,js,html but when i view it in mobile the orientation changesenter image description hereenter image description hereenter image description here

Continue reading →

Select and change style to a specific th or td

This is my first ever post in stackoverflow and anyone dont need to worry about im i newbie to html or css The problem that im facing is change font in a specific th or td line,if you dont understand what im saying then ill explain in th

Continue reading →

how to ask multiple selected question radio button/checkbox

There should be three checkboxes/radiobuttons. When I click on one, the others should be grayed out. For example, when I click on someone, I have to make different selections. When I click on the other, different selections. How can I do

Continue reading →

how to control placeholder text control

enter image description here please how can i make the details that will be filled in the box automatically be in another line when the width is filled? also i appreciate everyone here providing so to the questions and to every developer

Continue reading →

Expanding the CSS product section

I'm trying to use the justify-content: space-between function and my e-shop product page to stretch each product if the title is single-line, like here: https://stankomat.cz I tried to use this function on a whole block of one product an

Continue reading →

How po to remove phpmailer to my html, css? websit

How po mag remove ng phpmailer kapag na set na siya sa website? Sa VSC po kasi namin may phpGmailSMTP kapag binura ko is konektado lahat. Pleasee help me🥺 tinry ko tanggalin ung mga possible na connected sa phpmailer na un pero nag ee

Continue reading →

Adding a Scrollable in a Stack Material UI

I have created a component and I need to make it scrollable when it gets too big to the right {fields.map((el, i) => ( ))} I have no idea how to add that scroll to the right in the Material UI

Continue reading →