Currently, I am in the process of developing an application using meteor and within one of the templates, I have the following code snippet.
<h3>
<b>
<a class="viewed" href="/jobdetails/{{_id}}">{{title}}</a>
</b>
<span class="job-type part-time">Part Time</span>
</h3>
<div id="eyeIcon">
<span class="glyphicon glyphicon-eye-open" style="color:green"></span>
</div>
I am aiming to show the glyphicon eye icon when a user clicks on the href tag and then store this information into a collection. As I am relatively unfamiliar with meteor, I am seeking guidance on how to achieve this functionality using Meteor. Any assistance on the steps to accomplish this would be greatly appreciated. Thank you in advance!