@CarvalhoVincent
Posted
Hi, nice solution ! A simple thing you can do is to check your radio buttons with JS when you click on Select Reward for Bamboo Stand or Black Edition :
<div>
<span><strong>101</strong> left</span>
<button onclick="checkRadio1()">Select Reward</button>
</div>
<div>
<span><strong>64</strong> left</span>
<button onclick="checkRadio2()">Select Reward</button>
</div>
const pledge1= document.getElementById("pledge_1");
const pledge2= document.getElementById("pledge_2");
function checkRadio1() {
modal.style.display = "block";
pledge1.checked = true;
};
function checkRadio2() {
modal.style.display = "block";
pledge2.checked = true;
};
And maybe after you can try to update the progress bar dynamically, or update the total backed, total backers, or stand left numbers. You can check my solution if you want, it's not perfect but it could be a starting point.
Hope it helps !
Marked as helpful
@FaideJaures
Posted
@CarvalhoVincent thank you very much.