Skip to content

Tag: css

Drawing using SVG icon path [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question I am new to SVGs. I wanna make an icon like the below image. How can I achieve this with svg…

Creating an image from an svg is not working

I have been trying to create an image (using the window.Image class) out of an DataURL. This DataURL contains a svg tag and a foreignObject. But it just stays completely empty. I also tried to draw this image on a canvas, but I don’t think that’s the problem since I can’t even get a correctl…

Having a hard time changing background color in Vue js

I’m trying to make the background color of the landing page orange, but the issue is that what I currently have makes all the pages orange. I tried adding scoped to the landing page so it would style only that page, but when I do this, the entire page isn’t orange anymore. The end goal is to only …

I want to fix clicking menu button problems

To hide the menu when I click on windows or scroll, I tried like this. My html is like this. And css is like this. If you try this code, you can find when you click window once, then the button doesn’t work. When I click windows once, dropdown showed when I click the button twice. I want to solve

HTML/Javascript slow/crashing on quiz app

I have a problem with my otherwise fully functioning quiz game. There seems to be crashing/slow loading issues after around 5 or 6 (out of 10) questions. Its very strange because if I answer everything within a second (unrealistic but to error check), there is no problem. But as soon as I take a “normal…

js DOM divs manipulation problems

I am currently learning DOM, and found the following task quite hard to complete in an proper manner. The js code is supposed to: append new divs, as a continuation of the existing ones, remove the existing divs, change colour of one div, switch all div’s text content. My issues: Task 1. works but in a …