-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTest_library.php
46 lines (31 loc) · 1.23 KB
/
Test_library.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
use FunnyQuoteLib\FunnyQuoteLibrary;
require_once 'src/FunnyQuoteLibrary.php';
$quoteLibrary = new FunnyQuoteLibrary();
$quote = $quoteLibrary->getRandomQuote();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm" crossorigin="anonymous"></script>
<title>Funny Quotes</title>
</head>
<body class="container">
<h1>Funny Quotes library</h1>
<div id="Description">
<h2>Why Choose This Library for Your Project</h2>
<p></p>
</div>
<div id="howToUse">
<h2>Getting Started with <b>FunnyQuoteLib</b>: A Step-by-Step Guide</h2>
<p></p>
</div>
<div id="Example">
<h2>Example of Displayed Content</h2>
<p><?php echo "Quote of the day: " . $quote; ?></p>
</div>
</body>
</html>