JSFiddle - React, Tailwind, and code Playground

by nicomiceli

HTML

<div class="span12">
                                <div class="post-date">
                                    August 30, 2013                                </div>
                                <div class="post-title">
                                    <h2><a href="http://www.yourhealthcaresimplified.org/news/medicare-to-seniors-the-healthcare-marketplace-does-not-affect-you/">Medicare to Seniors: “The Healthcare Marketplace Does Not Affect You.”</a></h2>
                                </div>
                                <div class="post-content excerpt">
                                    <p>The Affordable Care Act is driving sweeping changes in the health care marketplace, from the requirement that everyone carry health insurance beginning Jan. 1, 2014, to the Oct. 1 launch of the Health Insurance Marketplace. Many people are confused by the changes, unsure of their obligations under health care reform—and seniors are no exception. In ...</p>
                                </div>
                                <div class="post-content full" style="display:none;">
                                    <p>The Affordable Care Act is driving sweeping changes in the health care marketplace, from the requirement that everyone carry health insurance beginning Jan. 1, 2014, to the Oct. 1 launch of the Health Insurance Marketplace.</p>
<p>Many people are confused by the changes, unsure of their obligations under health care reform—and <a href="http://www.yourhealthcaresimplified.org/senior-citizens/">seniors</a> are no exception. In fact, although Medicare benefits are not affected by the Oct. 1 launch of the Marketplace, the federal government is ramping up communications efforts to remind seniors that their coverage will not change.</p>
<p>In an <a href="http://www.usatoday.com/story/money/business/2013/08/24/medicare-health-insurance-marketplace/2692977/"...

JavaScript

$(.social img).click(function(){
    var socialNet = $(this).attr("src")
    var postTitle = $(this).closet("h2")
    alert($(this).closest("h2"));
});