Skip to content

Instantly share code, notes, and snippets.

<div ng-repeat="post in posts | orderBy:'-age'">
<h2>{{ post.title }}</h2>
<h4>
<span class="glyphicon glyphicon-plus-sign" ng-click="upVote(post)"></span> Upvotes: {{ post.upvotes }}
</h4>
<a href="#/suggestion/{{$index}}">Comments</a>
<p>{{ post.comments }}</p>
</div>
<h1 class="page-title"><em>{{post.title}}</em></h1>
<hr>
<div class="comment" ng-repeat="comment in post.comments | orderBy:'-upvotes'">
<span class="glyphicon glyphicon-plus-sign"
ng-click="upVote(comment)"></span>
{{comment.upvotes}}
<span class="comment-body">
{{comment.body}}
</span>
</div>
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="https://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css">
<link href='https://fonts.googleapis.com/css?family=Arvo:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="header">
<html>
<head>
<meta charset="UTF-8">
<title>aboutme.html</title>
<link href="css/stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<p align="center" id="title">Jamal J. Wilson</p>
<nav id="nav">
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://s3.amazonaws.com/codecademy-content/projects/bootstrap.min.css">
<link href='http://fonts.googleapis.com/css?family=Merriweather' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="header">
<div class="container">
app.controller('MainController', ['$scope', function($scope) {
// places.success(function(data) {
// $scope.geodata = data;
// $scope.mapMarkers = geodataToMarkers($scope.geodata);
// });
$scope.mapCenter = {
lat: 40.741934,
lng: -74.004897,
zoom: 17
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="https://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css">
<link href='https://fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="header">
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="https://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css">
<link href='https://fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="header">
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="https://s3.amazonaws.com/codecademy-content/projects/bootstrap.min.css">
<link href='https://fonts.googleapis.com/css?family=Arvo:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
var userChoice = prompt("Do you choose rock, paper or scissors?");
var computerChoice = Math.random();
if (computerChoice < 0.34) {
computerChoice = "rock";
} else if(computerChoice <= 0.67) {
computerChoice = "paper";
} else {
computerChoice = "scissors";