Wikipedia api youtube tutorial revisted
How do I make an wikipedia api youtube tutorial revisted?
What is a wikipedia api youtube tutorial revisted? How do you make a wikipedia api youtube tutorial revisted? This script and codes were developed by Jason Chan on 13 September 2022, Tuesday.
Wikipedia api youtube tutorial revisted - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>wikipedia api youtube tutorial revisted</title> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>
</head>
<body> <div class="container"> <h1>wikipedia search</h1> <input id="searchTerm" name="search" placeholder="Search..."/> <button id="search">Submit</button> <div id="output"></div>
</div> <script src='https://code.jquery.com/jquery-2.2.4.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Wikipedia api youtube tutorial revisted - Script Codes JS Codes
"use strict";
$("#searchTerm").keypress(function (e) { if (e.keyCode === 13) { var searchTerm = $("#searchTerm").val(); var url = "https://en.wikipedia.org/w/api.php?action=opensearch&search=" + searchTerm + "&format=json&callback=?"; $.ajax({ url: url, type: "GET", async: false, dataType: "json", success: function success(data, status, jqXHR) { console.log(data); for (var i = 0; i < data[1].length; i++) { $("#output").prepend("<div><div class='well'><a href=" + data[3][i] + "><h2>" + data[1][i] + "</h2>" + "<p>" + data[2][i] + "</p></a></div></div>"); } } }); }
});
$("#search").on("click", function () { var searchTerm = $("#searchTerm").val(); var url = "https://en.wikipedia.org/w/api.php?action=opensearch&search=" + searchTerm + "&format=json&callback=?"; $.ajax({ url: url, type: "GET", async: false, dataType: "json", success: function success(data, status, jqXHR) { // console.log(data); for (var i = 0; i < data[1].length; i++) { $("#output").prepend("<div><div class='well'><a href=" + data[3][i] + "><h2>" + data[1][i] + "</h2>" + "<p>" + data[2][i] + "</p></a></div></div>"); } } });
});
Developer | Jason Chan |
Username | jasonchan |
Uploaded | September 13, 2022 |
Rating | 3 |
Size | 2,439 Kb |
Views | 30,360 |
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 |
CSS and HTML Loader progress bar | 2,021 Kb |
BootStrap 4 Template | 4,822 Kb |
Pong Clone | 2,838 Kb |
Spotify search api | 2,644 Kb |
Zurb joyride example | 1,832 Kb |
Fetch Example | 2,013 Kb |
Kitchen Timer | 3,199 Kb |
Step Bar | 2,023 Kb |
Tic tac toe | 2,580 Kb |
Stop Watch Timer | 2,866 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 |
Virtual vinyl | Davidpanik | 3,474 Kb |
The Fantastic Mr Fox | MalZiiirA | 10,435 Kb |
Navier Stoke Fluid Simulation | Esimov | 8,584 Kb |
CSS-Flexbox-Demo | Sstiglets | 1,709 Kb |
Click handler test | Snapson | 2,329 Kb |
Working around OS X Dynamic Scrollbars | Jrjenk | 2,279 Kb |
Very Simple Slider | Doodlemarks | 2,682 Kb |
Kut D3 | Jellevrswk | 3,687 Kb |
Pricing Table | Semenchenko | 6,784 Kb |
Count up | Alanshortis | 2,391 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!