Skip to content

Tag: html

Using a variable to for loop using django

I’m very new to python and django framework. I’m facing a minor issue of not being able to assign a variable to my for loop. In my html file there are buttons and a list (rendered using a loop). for ex: Buttons Inside script tags i’m updating the variable value as Also i have a loop like fol…

Progress circle bar in React JS

I am creating a progress circle bar to use as a timer along with sliders, where each slide will have its own bar I could achieve it, however I couldn’t synchronize the bars with themselves. This is what is happening: As you see it is not working properly. I need the bar to fill 100% of the circle, then …

Random combination from different sentences

i try to get a random combination of different sentences. So i have five different types of sentences. Each type has between 5-8 example sentences. What i try to achieve ist that i always get one random sentence of each type. I’ve already tried a few things, but i don’t get it really randomly. Wit…

how to put the result of JS/HTML page in table format?

I have created JS/Html page for survey but i want to show the result of survey page in table format after clicking submit button. Right now it is not coming as a table format, the answer is coming section-wise. I want one final answer which come as a table format showing result of individual section and total…

Why doesn’t this code display the button after I hide it?

When I run this JavaScript code, button2 doesn’t get displayed again. I’m not sure why this is happening. I am trying to use this in a game I am creating. I searched this up on Google multiple times and couldn’t find an answer. Answer There is no auto display is CSS. As tarkh mentioned in hi…

How to do JS functions with PHP echo?

I’m trying to create a popout menu for an array of values that are echoed from the database. On the click of the svg, the popout menu that corresponds with the svg in the echo, needs to be shown. Except so far, it only works for the first one that is echoed. How to I fix it so that it