dimanche 11 juin 2017

html checkbox list that shows and hides links when filtered

I am trying to create a checkbox list where when i click the checkbox below my list of options i would like a link to show underneath that the user can click. If the user unchecked the box the link disappears: so far i have: but nothing happens when i click the check boxes

 <!DOCTYPE html>
 <html>
 <div class ="container">
 <head></head>
 <body>
 <input id="grp1" type="checkbox" value="group_1" 
 onclick="http://ift.tt/2rfUdg7
 doberman"/>  <label for="grp1"> group 1 </label>   <div><input id="grp2" 
 type="checkbox" value="group_2" onclick="http://ift.tt/2s0oYmx
 shows/cats-101/videos/ragdoll"/> <label for="alcoholA"> group_2</label>
 </div>
 </body>
 </html>




Aucun commentaire:

Enregistrer un commentaire