Hacker News 2
How do I make an hacker news 2?
Needs to use jquery more efficiently.. What is a hacker news 2? How do you make a hacker news 2? This script and codes were developed by Mei Weng Brough-Smyth on 06 November 2022, Sunday.
Hacker News 2 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Hacker News 2</title> <link rel='stylesheet prefetch' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css'>
<link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="col-sm-12"> <div class="row col-sm-10 col-sm-offset-2"> <h1><a href="https://news.ycombinator.com/"><i class="fa fa-hacker-news"></i></a> Hacker News</h1> </div> <div class="hackerNews"> </div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js'></script>
<script src='http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.3/moment.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Hacker News 2 - Script Codes CSS Codes
.row { padding-top: 10px;
}
.commentText { overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
Hacker News 2 - Script Codes JS Codes
var topStories = [];
$.getJSON('https://hacker-news.firebaseio.com/v0/topstories.json', function(stories) { for (var i = 0; i < 10; i++) { topStories.push(stories[i]); } getStories(topStories);
});
function getStories(stories) { for (var j = 0, x = stories.length; j < x; j++) { var url = 'https://hacker-news.firebaseio.com/v0/item/' + stories[j] + '.json?'; $.getJSON(url, function() { }).done(function (story) { console.log(story); }); }
}
Developer | Mei Weng Brough-Smyth |
Username | melatonind |
Uploaded | November 06, 2022 |
Rating | 3 |
Size | 2,135 Kb |
Views | 12,144 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Junk | 1,439 Kb |
Hacker News | 2,844 Kb |
Twitch Follower | 2,345 Kb |
Word of the Day | 1,635 Kb |
Twitch Follower 2 | 1,830 Kb |
Random Array | 1,551 Kb |
Sieve of Eratosthenes | 2,341 Kb |
Autocomplete | 1,670 Kb |
The Monty Hall Problem | 4,360 Kb |
A Pen by Mei Weng Brough-Smyth | 2,429 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Testimonial Fancy tabs responsive | Amit-webdesigner | 3,056 Kb |
Eunice A | Ejbronze | 2,203 Kb |
Cartoon Bomb | Tcmulder | 4,929 Kb |
Testing Code Pen | Jduprey | 1,468 Kb |
Magnus 3 | ARocketfish | 7,944 Kb |
Tab panels | Accessibility | 0 Kb |
Add This API | ThatGuySam | 2,848 Kb |
Spin | Elalemanyo | 8,262 Kb |
Css or Czz.. | Judag | 4,111 Kb |
Learning canvas drawing | Aurer | 2,204 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!