Skip to content

Tag: css

how do i implement two onclicks in a button?

so i need a button to change an image then it is clicked but to also change a certain text. to do so I require two onclick functions. how do I do this? this is my code so far. so I can change the images when the buttons are clicked but I cant make the text change as well. Answer

Problems in Making RPS Game Using HTML, CSS, Javascript

I’m making a rock, paper, scissors game, but it seems doesn’t work well. I’ve tried looking for mistakes though I can’t find any. When I click the image, it doesn’t pop out as well as the text/message. The console said: Could you please help me correct them? I really appreciate y…

Filterable gallery using slick.js

I’m trying to create filterable gallery with differents buttons but when I click on them the filter is working but that let empty space in the gallery for the other pictures. I tried to use different script from the forum but that always let empty space. This is an exemple of the HTML : And the JavaScri…

Javascript change webkit style with variables

Summary I’m working on an input[type=range] that essentially looks like Chrome’s default but the thumb is green until clicked. That’s the end goal. Through a couple answers that are now buried deep in my browser history (hence lack of credit to them) I am able to get it MOSTLY working how I …