I am attempting, with my very limited Javascript knowledge, to write vanilla Javascript to some buttons to achieve the following: a) Click any button, e.g. button1 and its content is displayed b) Click the same button and its content is hidden c) Click a button again (e.g. button1) and then click another butt…
Tag: css
How to customise popup from mapbox
I have angular 8 application and I can show a popup. But I want to style the popup. But how to do that? SO I have this template: and ts: and css: but nothing change. The popup stays white see image. So what I have to change? Thank you So in css: toggle-layer.component.scss I have this: Answer Should work:
How to create a color picker without a canvas? [closed]
I would like to create a custom color picker without a canvas or JavaScript library. I have found a few websites that use a canvas, but is it possible to do it with just a background image? Here is my …
How can i make div content appear with animation when clicking a button that injects HTML?
I am currently learning on my own some CSS & JS and i’m stuck on a part i really want to work on but have trouble finding the right answers online as there seem to be a tons of methods yet i couldn’t make any of them work. Here is a snippet of what i have in mind : The
How I can show the correct and incorrect answer at the moment of selection and the number of correct answers a person selected in my mcq website?
I got the code for my MCQ website. But when the user selects an option, I want to shows the correct and incorrect answer at the moment of selection (That is when the user selects the correct option, then the option will be highlighted. but when the user selects an incorrect option, I want to show that it is i…
Create Chamomile in HTML CSS JAVASCRIPT
i want to create Chamomile flower, i have flower paper like this 1. 2 and what to create something like 3 can anyone help me ? i created this code but it’s lookalike like 4 How to create this or anyone has example something like that ?I want to do a divination on chamomile, have horoscope website that&#…
issue with line through animation
I want to create a simple line through animation and so far I’m here: As you see everything works fine except two things: Now we can see the line at first then it hides and starts the animation, I want to see only the animated line. I want to initiate the animation using javascript… but with this …
Ball bounces along a parabolic trajectory
The question was initiated by a topic In that question, the bounces were vertical This question concerns bounces with different amounts of offset in height and length But it is difficult to realize the unevenness of movement and speed. How to implement realistic parabolic ball movement? Any idea and solution …
Flip Card HTML: Wont flip or stay flip when I click
I’m making flip card game, but the photo won’t stay opened when I click on it. I’ve listed down what needs to be done in the JS, but can’t seem to wrap my head around how I can implement them to my HTML file. The photos are supposed to appear randomly (like typical flipcard games), but…
How to move the image to bottom?
how do I make so that my image is on the bottom on any screen size and I also want my to be under the feet of the human so that you must scroll down to see the now it is like this and I want it to be like this on all sreen size heights my code to the