JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<style>
p {
background: #dad;
font-weight: bold;
font-size: 16px;
}
.hidden {
display: none;
}
</style>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
</head>
<body>
<button>
click one one news entry to show hide second < p >-aragraph
</button>
<div class="news_entry">
<p>
blablabla
<a href="#">do you want to know more?</a>
</p>
<p class="hidden">
this is stuff you might want to know.
</p>
</div>
<div class="news_entry">
<p>
blablabla
<a href="#">do you want to know more?</a>
</p>
<p class="hidden">
this is stuff you might want to know.
</p>
</div>
<script>
$(".news_entry").click(function() {
var secondParagraph = $(this).children().eq(1);
$(secondParagraph).toggle("slow");
});
</script>
</body>
</html>