Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>title</title>
- <link rel="stylesheet" href="style.css">
- <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> -->
- <script src="jquery-1.7.1.js"></script>
- <style>
- </style>
- </head>
- <body>
- <div class="container">
- <dl>
- <dt>What is going today</dt>
- <dd>Its going fine</dd>
- <dt>What is going today</dt>
- <dd>Its going fine</dd>
- <dt>What is going today</dt>
- <dd>Its going fine</dd>
- <dt>What is going today</dt>
- <dd>Its going fine</dd>
- <dt>What is going today</dt>
- <dd>Its going fine</dd>
- </dl>
- </div>
- <script>
- (function(){
- $('dd').filter(':nth-child(n+4)').hide();
- })()
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement