Skip to content

Tag: html

Save form values to localStorage

I have been studying JS for a while so at some point a couldn’t complete the assignment that my teacher gave me so its all about to create a input to fill with 3 selectors to change some properties of the text. What I’m trying to do is: whenever the user he closes the page and opens it again &#821…

execution script for several ID – loop?

I’m downloading ID from localStorage.getItem(1,22,3,14….). I want every single ID to be executed in jQuery (if it exists on the website). I can execute the code for one ID, but I don’t know what to do to make each ID after the decimal point executed. I try so but it doesn’t pass. I hav…

Slideshow not coming under the Header

My slideshow is not coming under the header, it is next to the header. I tried flex but the slider just broke. I tried increasing the padding and margin but that did not work too. The Problem HTML CODE HTML Code (Full Code) CSS CODE CSS Code (Code too big) JAVASCRIPT CODE Please Help me fix this bug. Answer Y…

Why is the site navigation collapsing so fast?

When you look at the menu of this website: https://www.eurotuin.be/ And when you try to hover it, it collapses really fast. see the menu here I’ve tried experimenting with the following code, but it doesn’t seem to work: This one has same effect: Answer Two things : How transition would have any e…

How to parse html div text to json

I try to parse data from html to json structure, but I get empty strings. I do it first time. Here example of repeatable div block: But I get this: How I can get json text from classes .itemVuzTitle and .tooltipq to json structure with fields name like title and scores? Please, help with this question. It hel…

Javascript infinite loop in prompt

So i have just made a simple HTML page in which a JS script runs when the page loads. But the problem is that it just goes infinite after asking password. I tried to find some solutions but failed to do the same. Please help. Below is the code. The funny thing is that when i run the same code