Skip to content

Creating health bar that increases in value based on users level

Hello I am trying to create a healthbar that scales in max value based on the users level. But I am kinda stuck with it because everytime the healthbar ends up in not having the right length based on the users level and it’s health. The system works like this: the user starts at level 1 with a health va…

How can I change data-id value in Class with a script?

I need to set random data-id with two value A y B. I need a script that can do this Answer For archiving this think you have to do three steps. First: Collect all values you need into an array. Second: Generating a random integer number. Based on Generate random number between two numbers in JavaScript The pa…

Using dropdown filter to dynamic update Highchart

currently I was trying to add a dropdown filter button on my chart to let users select a specific values from a data attribute and filter the related data shown on the chart. I populated my data’s attribute to the select unit, and I was trying to update the chart with parse the data from the selective v…