Wikipedia Viewer

Developer
Size
2,320 Kb
Views
32,384

How do I make an wikipedia viewer?

What is a wikipedia viewer? How do you make a wikipedia viewer? This script and codes were developed by Beau Carnes on 13 September 2022, Tuesday.

Wikipedia Viewer Previews

Wikipedia Viewer - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Wikipedia Viewer</title> <link href='https://fonts.googleapis.com/css?family=Didact+Gothic&effect=3d' rel='stylesheet' type='text/css'> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="row text-center"> <h1 class="font-effect-3d"> Wikipedia Search</h1> <input id="search" type="text" size="30" /> </div> <div class="row text-center"><button class="button btn" onclick="location.href='https://en.wikipedia.org/wiki/Special:Random';">Random!</button></div> <div class="row text-center"> <div class="panel-group"> <div id="results"></div> </div> </div>
</div> <script src='https://code.jquery.com/jquery-2.2.4.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Wikipedia Viewer - Script Codes CSS Codes

body { background-image: url('http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/dark_embroidery.png')
}
h1 { font-family: 'Didact Gothic', sans-serif; padding-bottom: 20px;
}
button { margin: 10px;
}
.container { margin-top: 20px; border-radius: 25px; -moz-border-radius: 25px; -webkit-border-radius: 25px; border: 3px solid #dff1db; padding: 40px; background: grey;
}

Wikipedia Viewer - Script Codes JS Codes

 $("#search").keyup(function(e) { var q = $("#search").val(); $.getJSON("http://en.wikipedia.org/w/api.php?callback=?", { srsearch: q, action: "query", list: "search", format: "json" }, function(data) { $("#results").empty(); $("#results").append("Results for <b>" + q + "</b>"); $.each(data.query.search, function(i, item) { $("#results").append("<div class=\"panel panel-success\"> <div class=\"panel-heading\"> <a href='http://en.wikipedia.org/wiki/" + encodeURIComponent(item.title) + "'>" + item.title + "</a> </div><div class=\"panel-body\">" + item.snippet + "</div></div>"); }); }); });
Wikipedia Viewer - Script Codes
Wikipedia Viewer - Script Codes
Home Page Home
Developer Beau Carnes
Username beaucarnes
Uploaded September 13, 2022
Rating 3
Size 2,320 Kb
Views 32,384
Do you need developer help for Wikipedia Viewer?

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!

Beau Carnes (beaucarnes) Script Codes
Name
Internet Dungeon Game
Recipe Box
Binary Search Tree
AJAX
String Methods
Hash Table
Stacks
Promises
This
Camper Leaderboard
Create amazing video scripts with AI!

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!