JSFiddle - React, Tailwind, and code Playground

HTML

<div>
    <!-- not sure if this works in Chrome -->
    <a href="http://www.bbc.co.uk">BBC</a>
    <a href="http://www.wikipedia.org">WikiPedia</a>
</div>

CSS

a {
    display: none;   
}

JavaScript

$(document).ready(function() {
    $('a:visited').each(function() {
        $('div').append("<p>I know you've visited "+$(this).html()+"</p>");
    }); 
});