What is the difference between adding .classA and .classB.classA in CSS?

the problem is when I put .show instead of.box.show in CSS the even boxes don’t come from the left side. I just wanna know why? because I thought they were the same thing. but it seems like in this …

Read more / less code but it doesn’t change properly

After doing some research I came to this code shown below. If you try the code yourself you notice the variable is used for every div with a button and text (the whole site). I tried several other …

html onclick not happening when parameter has special characters like $ or [closed]

I have a code in which I have three rows with three parameters $COKE, COKE, COKE. Every row has a sublist which opens when I click the parameters. It works fine when parameter doesnt have any special …

JS will not run past set style.zIndex

I am trying to set up button elements. There are 2 scripts to get each button type and either run a simple collapse menu, or run a complicated collapse where slides 1 div over another after shifting …

How can I delay something in JavaScript [closed]

I wanted to set a delay on this script but I don’t know how it works. So I would like to ask if someone can help me with a Solution for this/ const el = document.getElementById(“search-label”…

How to get certain element (using JavaScript) from HTML with similar classes?

How can I get one certain element from HTML using JavaScript. I have this code.

The idea is make click on tag to display dropdown menu items

I have a bootstrap menu that is working fine, you can see the code below, but I want to display the dropdown submenu when I clicked each item in the menu. For example, if I click on the about us item …

Model Image for gallery function can’t be used on many image

Hello guys so im trying to make model image function for my gallery but I can’t use the function on many image, any suggestion on how fix it ? can I change the var img to collect the element by class …

How to make auto slideshow of Divs stop when target link to one of the slide is clicked

I have a slideshow of divs that automatically cycles through but how do i make it so that when i click on a target link, it leads me there and stops the cycling of the slideshow. Moreover, after a few …

How to add multiple views in html page in javascript?

I have this two html code where index.html is the main view as view 1. But I also want to add the temparature.html as View 2. How can I do it from the index.html page? i have added all the files what …