PracticeQuote

Developer
Size
2,606 Kb
Views
10,120

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 Previews

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); } });
};
PracticeQuote - Script Codes
PracticeQuote - Script Codes
Home Page Home
Developer Daniel
Username twdaniel
Uploaded October 23, 2022
Rating 3
Size 2,606 Kb
Views 10,120
Do you need developer help for PracticeQuote?

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!

Daniel (twdaniel) Script Codes
Name
A Pen by daniel
A wiki viewer
ShowTLW
Tribute
RandomQuoteMachine
Portfolio
Test getlocation
Create amazing blog posts 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!