File size: 4,333 Bytes
f7b3a0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Cabin:wght@600&display=swap" rel="stylesheet">
    <title >Practice API</title>
    <style>

        body {

            font-family: 'Cabin', sans-serif;

            margin: 0;

            padding: 0;

            background: rgb(191,197,209);

            background: linear-gradient(90deg, rgba(191,197,209,1) 11%, rgba(76,209,238,1) 36%, rgba(29,95,248,1) 75%);

            color: #2c3e50;

        }

        header {

            text-align: center;

            padding: 10px;

            background: rgb(191,197,209);

            background: linear-gradient(90deg, rgba(191,197,209,1) 11%, rgba(76,209,238,1) 36%, rgba(29,95,248,1) 75%);

            color: #fff;

            border-bottom-left-radius: 20px;

            border-bottom-right-radius: 10px;

        }

        section {

            max-width: 800px;

            margin: 20px auto;

            padding: 20px;

            background-color: #fff;

            border: 1px solid #bdc3c7;

            border-radius: 10px;

        }

        title {

            color: white;

            font-size: xx-large;

        }

        h1 {

            color: #1807aa;

            font-family: 'Cabin', sans-serif;

            font-size: 2em; /* Increased font size */

        }

        h2 {

            color: black;

        }

        h3 {

            color: white;

            font-size: 68px;

            padding: auto;

            font-weight: bolder;

            font-family: 'Cabin', sans-serif;

        }

        #navigateButton {

            display: inline-block;

            padding: 10px 20px;

            margin-top: 10px;

            background-color: black;

            color: #fff;

            text-decoration: none;

            border-radius: 5px;

            transition: background-color 0.3s;

        }

        #navigateButton:hover {

            background-color: #2980b9;

            color:white;

        }

        footer {

            text-align: center;

            padding: 10px;

            background: rgb(191,197,209);

            background: linear-gradient(90deg, rgba(191,197,209,1) 11%, rgba(76,209,238,1) 36%, rgba(29,95,248,1) 75%);

            color: #fff;

            border-top-left-radius: 10px;

            border-top-right-radius: 10px;

        }

        /* Added the following CSS rule to make content bold */

        section p {

            font-weight: bold;

            font-family: 'Rubik', sans-serif;

        }

    </style>
</head>
<body>
    <header>
        <h3>Practice API</h3>
        <h3 style="font-size: medium;">A fun practice API for untangl</h3>
    </header>

    <section>
        <h2>About</h2>
        <p>
            <strong>Contains some simple functions!</strong> 
        </p>
    </section>

    <section>
        <h2>Documentation</h2>
        <p>
            <strong>To look at the Docs page click the button below
        </p>
        <p>
            <a id="navigateButton">API Documentation</a>
            <script>

                document.getElementById('navigateButton').addEventListener('click', function() {

                    // Get the current URL

                    var currentUrl = window.location.href;

        

                    // Append "/docs" to the current URL

                    var newUrl = currentUrl + 'docs';

        

                    // Navigate to the new URL

                    window.location.href = newUrl;

                });

            </script>
        </p>
    </section>
    <section> 
        <h2> Crediting and usage</h2>
        <p>
            <strong> If you wish to use this in your own projects and credit me then feel free to link my  <a href="https://github.com/Sankie005">Github</a> or <a href="https://linkedin.com/in/sankritya-rai-002a40261/">Linkedin</a> in your website footer
        </p>

    </section>

    <footer>
        <p>&copy; 2024 Sankie005 on github</p>
    </footer>
</body>
</html>