hello @everybody
i've been reading tips, tutorials, follow-alongs and i saw that many of pro affiliates tell that for quality (sweeps, dating) it is better to send older traffic to best offer
so in questionnaire landing page user select his age - younger than 26 ; older than 26
the rule should be: if user select the box 'older than 26', on offer click redirect to the best offer ; else redirect to the 2nd best offer
all questionnaires i've seen are made in javascript so i was looking for solution in javascript, but i didn't find the anwer on how to
after that i've found this post and it looks like it can be done with php
right now i'm confused, programming is not my strenght but i would like to know how to do it
is it possible with javascript, or php is a must?
i'm looking for hint, advice on where should i put the focus, as time is limited and programming knowledge is not
...or a ready to use solution, whatever works best for you
please help
I'm pretty sure this can be done with javascript too... but in such cases it's always the best and fastest to simply hire a coder and get it done quickly.
Let me tag @jeremie here, he's really good with this tech things 
BTW: many LPs that have these age selectors in place do not really use them, so whatever the user clicks they get still redirected to the same offer. In such case, it's more about the psychology... you're making the users believe they are getting access to something thats "age" restricted... many of them will actually "lie" and click the wrong age option.
But yes, the right way to utilize such LP is to use the data and segment the users based on their responses.
thanks for response
@jeremie i added the LP in 1st post it is a LP from anstrex depository
i think it is one of the pages that @matuloo mentioned -
<div id="q4" class="toggleDiv" style="display: none;" align="left">
<div id="top" align="center">Question <span class="circle2">1</span> <span class="circle2">2</span> <span
class="circle2">3</span> <span class="circle1">4</span></div>
<div id="box"> <span class="styleq2">Are you at least 24 years old? The women have requested that we not let
those younger than 24 contact them because of past rude behavior by younger men.</span></div>
<div align="center">
<pre><a class="show_hide btnyes" href="#" rel="#q5">YES</a></pre>
<pre><a class="show_hide btnno" href="#" rel="#q5">NO</a></pre>
</div>
</div>
<div align="center">
<pre><a class="btnyes" href="https://www.anstrex.com/?utm_campaign=referral&utm_sourc=lpgallery" target="_blank" rel="#q5">Continue »</a></pre>
</div>
Define the main offer in the link, using HTML.
Then, you can use this code to replace by another link when someone is younger than 24
<script>
document.querySelector('#q4 .btnno').addEventListener('click', () => {
document.querySelector('#q9 .btnyes').href = '/click2' })
</script>
JEREMIE! You're da man... I knew you would be able to help 
yeaaah! jeremie is da man
got it working thanks a lot 