Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<html>
    <head>
        <style>
            body{
                background-color: #272822;
                color:#8f908a;
                font-size:2em;
                font-family: georgia;
            }
            .target {
                border:2px solid white;
            }
        </style>
    </head>
    <body>
        
        <div class="target">
            content1
        </div>
        <div class="target">
            content2
        </div>
        <script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
        <script>
            $('.target').before('<div>before</div>');
            $('.target').after('<div>after</div>');
            $('.target').prepend('<div>prepend</div>');
            $('.target').append('<div>append</div>');
        </script>
    </body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
egoingpro
0viewers