PracticeQuote
How do I make an practicequote?
What is a practicequote? How do you make a practicequote? This script and codes were developed by Daniel on 23 October 2022, Sunday.
PracticeQuote - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>practiceQuote</title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <link href="https://fonts.googleapis.com/css?family=Indie+Flower|Josefin+Sans|Permanent+Marker|Poiret+One|Ubuntu" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<div class="container"> <div class="row"> <div class="col-md-12"> <blockquote class="block"> <h1 class="text-center">[practice]random quote</h1> <p class="quote" id="qText">click button below <footer id="qAuthor" class="pull-right">xxxxx</footer> </p> </blockquote> <div class="col-md-12 text-center"> <button id="getQuote" class="btn btn-default"><i class="fa fa-quote-left"></i>Quote Gen.</button> <button id="tweet" class="btn btn-default"><i class="fa fa-twitter"></i> Tweet Quote</button> </div> <div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 text-center"> <p class="credit-text"><i class="fa fa-copyright"></i>2016 xxxxxxxxxxxxxxxxxxxx.</p> </div> </div> </div> </div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
PracticeQuote - Script Codes CSS Codes
body { background-color: gray; font-size: 75%;
}
.container { background-color: white; border: 3px ridge; border-radius: 15px; min-width: 50%; margin: 15em auto; padding: 1em;
}
.quote: before { font-size: 2.5rem; magin-right: .1em;
}
PracticeQuote - Script Codes JS Codes
$(document).ready(function() { $("#getQuote").click(function() { getQuote(); }); });
var getQuote = function() { $.ajax({url:"https://crossorigin.me/https://api.forismatic.com/api/1.0/?method=getQuote&key=457653&format=jsonp&lang=en&jsonp=?", dataType : "jsonp", success : function(val) { $("#qText").html(val.quoteText); if(val.quoteAuthor !== "") { $("#qAuthor").html(val.quoteAuthor) } else { $("#qAuthor").html("unknown") } var tweet = $("#tweet"); tweet.prop("disabled", false); tweet.unbind(); $("#tweet").click(function() { window.open("https://twitter.com/intent/tweet?text=" + encodeURIComponent(val.quoteText + "..." +val.quoteAuthor)); }); }, error : function() { $("#qText").html("there is quote text content delivery error"); $("#qAuthor").html("might be a person"); $("#tweet").prop("disabled", true); } });
};
Developer | Daniel |
Username | twdaniel |
Uploaded | October 23, 2022 |
Rating | 3 |
Size | 2,606 Kb |
Views | 10,120 |
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 |
A Pen by daniel | 2,678 Kb |
A wiki viewer | 2,637 Kb |
ShowTLW | 3,314 Kb |
Tribute | 2,052 Kb |
RandomQuoteMachine | 2,508 Kb |
Portfolio | 3,399 Kb |
Test getlocation | 1,758 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 |
Sass Radar | Jlong | 6,887 Kb |
Toolbar | Onsen | 5,414 Kb |
Search field | Jamesbarnett | 2,100 Kb |
BlueBox Fork | Huskynation | 12,675 Kb |
JS Beispiel getElementsByClassName 3 | HSZG-Frontend-Kurs | 1,988 Kb |
Spinners using Font Icons | Keyamoon | 3,007 Kb |
Blog Concept 2 | JGallardo | 2,994 Kb |
Learning canvas drawing | Aurer | 2,204 Kb |
Pure CSS Animated Photo Stack | Depthdev | 2,486 Kb |
A Pen by Rob Levin | Roblevin | 2,787 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!