Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This is the HTML file for my Wikipedia Viewer from FreeCodeCamp
<!doctype html>
<html lang="en">
<!-- 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="" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"
<title>The Official Shortcutpedia!</title>
body {
background: #076585;
/* fallback for old browsers */
background: -webkit-linear-gradient(to right, #fff, #076585);
/* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #fff, #076585);
/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
color: #f3f3f3;
<div class="container mt-5">
<div class="row">
<div class="jumbotron text-center mt-5 mx-auto" style=" background-color: transparent">
<div class="container">
<h1 class="display-4">Shortcutpedia</h1>
<p class="lead">Search Wikipedia articles...faster than ever.</p>
<div class="input-group mb-3">
<input id="search" type="text" class="form-control" aria-label="Default" placeholder="Search & press Enter" aria-describedby="inputGroup-sizing-default">
<a id="random" class="mt-3 btn btn-info" href="#" role="button"> Click for a random article</a>
<div class="container mt-2">
<div class="row">
<div id="results" class="list-group mx-auto">
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
<script src="" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
<script src="" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T"
<!-- Optional JavaScript -->
<script src="wiki.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment