Skip to content

Instantly share code, notes, and snippets.

@waldothedeveloper
Created May 18, 2018 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waldothedeveloper/2275f8d32e507d519a571b532e8d6650 to your computer and use it in GitHub Desktop.
Save waldothedeveloper/2275f8d32e507d519a571b532e8d6650 to your computer and use it in GitHub Desktop.
The HTML file for this challenge
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
crossorigin="anonymous">
<title>Random Quotes App</title>
<style>
body {
background-color: #333 !important;
}
</style>
</head>
<body>
<div class="container mt-5">
<div class="row">
<div class="card mt-5 mx-auto" style="width: 32rem; height: 23rem;">
<div class="card-header justify-content-between" style="display: flex;">
<small class="text-left">Random Quotes</small>
<i id="tweet-icon" class="text-right fab fa-twitter fa-lg"></i>
</div>
<div class="card-body">
<blockquote class="blockquote mb-0">
<p id="quote" style="height: 8rem;">
<i class="fas fa-quote-left"></i> Never apologize for showing feelings. When you do so, you apologize for the truth.
<i class="fas fa-quote-right"></i>
</p>
<footer id="quote-author" class="blockquote-footer mt-3">
Benjamin Disraeli
</footer>
<div class="row"></div>
<a id="quote-button" href="#" class="mt-3 mb-3 btn btn-dark">Next</a>
<div class="card-footer bg-transparent border-dark">
<small>Thanks to
<a href="http://forismatic.com/en/">forismatic.com</a> for their awesome quotes API
</small>
</div>
</blockquote>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<!-- Local javascript -->
<script src="app.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment