What if you add a class to the thumbnail’s <a>
tag (that initiates the modal) which has the Freelance value as true.
Use JavaScript to check if an <a>
tag with your class is clicked, if so, add another class to the modal which you can then reference to show the hidden <h3>
.