├── ogimage.png
├── Screenshot.JPG
├── asset
├── bear.gif
├── bg.webp
├── lagu.mp3
├── uwu.gif
├── script.js
└── style.css
├── favicon
├── favicon.ico
├── favicon-16x16.png
├── favicon-32x32.png
├── mstile-150x150.png
├── apple-touch-icon.png
├── android-chrome-192x192.png
├── android-chrome-512x512.png
├── apple-touch-icon-57x57.png
├── apple-touch-icon-60x60.png
├── apple-touch-icon-72x72.png
├── apple-touch-icon-76x76.png
├── apple-touch-icon-114x114.png
├── apple-touch-icon-120x120.png
├── apple-touch-icon-144x144.png
├── apple-touch-icon-152x152.png
├── apple-touch-icon-180x180.png
├── browserconfig.xml
├── site.webmanifest
└── safari-pinned-tab.svg
├── LICENSE
├── README.md
└── index.html
/ogimage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/ogimage.png
--------------------------------------------------------------------------------
/Screenshot.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/Screenshot.JPG
--------------------------------------------------------------------------------
/asset/bear.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/asset/bear.gif
--------------------------------------------------------------------------------
/asset/bg.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/asset/bg.webp
--------------------------------------------------------------------------------
/asset/lagu.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/asset/lagu.mp3
--------------------------------------------------------------------------------
/asset/uwu.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/asset/uwu.gif
--------------------------------------------------------------------------------
/favicon/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/favicon.ico
--------------------------------------------------------------------------------
/favicon/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/favicon-16x16.png
--------------------------------------------------------------------------------
/favicon/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/favicon-32x32.png
--------------------------------------------------------------------------------
/favicon/mstile-150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/mstile-150x150.png
--------------------------------------------------------------------------------
/favicon/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/apple-touch-icon.png
--------------------------------------------------------------------------------
/favicon/android-chrome-192x192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/android-chrome-192x192.png
--------------------------------------------------------------------------------
/favicon/android-chrome-512x512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/android-chrome-512x512.png
--------------------------------------------------------------------------------
/favicon/apple-touch-icon-57x57.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/apple-touch-icon-57x57.png
--------------------------------------------------------------------------------
/favicon/apple-touch-icon-60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/apple-touch-icon-60x60.png
--------------------------------------------------------------------------------
/favicon/apple-touch-icon-72x72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/apple-touch-icon-72x72.png
--------------------------------------------------------------------------------
/favicon/apple-touch-icon-76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/apple-touch-icon-76x76.png
--------------------------------------------------------------------------------
/favicon/apple-touch-icon-114x114.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/apple-touch-icon-114x114.png
--------------------------------------------------------------------------------
/favicon/apple-touch-icon-120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/apple-touch-icon-120x120.png
--------------------------------------------------------------------------------
/favicon/apple-touch-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/apple-touch-icon-144x144.png
--------------------------------------------------------------------------------
/favicon/apple-touch-icon-152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/apple-touch-icon-152x152.png
--------------------------------------------------------------------------------
/favicon/apple-touch-icon-180x180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafarifki/ValentineDayScript/HEAD/favicon/apple-touch-icon-180x180.png
--------------------------------------------------------------------------------
/favicon/browserconfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | #da532c
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/favicon/site.webmanifest:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Valentine Day Script",
3 | "short_name": "Valentine Day Script",
4 | "icons": [
5 | {
6 | "src": "/android-chrome-192x192.png",
7 | "sizes": "192x192",
8 | "type": "image/png"
9 | },
10 | {
11 | "src": "/android-chrome-512x512.png",
12 | "sizes": "512x512",
13 | "type": "image/png"
14 | }
15 | ],
16 | "theme_color": "#ffffff",
17 | "background_color": "#ffffff",
18 | "display": "standalone"
19 | }
20 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 wafarifki
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/asset/script.js:
--------------------------------------------------------------------------------
1 | $('.tombol').click(function() {
2 | // animate content
3 | $('.halaman').addClass('animate_content');
4 | $('.dalemnya_halaman').fadeOut(100).delay(2800).fadeIn();
5 |
6 | setTimeout(function() {
7 | $('.halaman').removeClass('animate_content');
8 | }, 3200);
9 |
10 | //remove fadeIn class after 1500ms
11 | setTimeout(function() {
12 | $('.halaman').removeClass('fadeIn');
13 | }, 1100);
14 | });
15 |
16 |
17 | $('.tombol2').click(function() {
18 | // animate content
19 | $('.halaman').addClass('animate_content');
20 | $('.dalemnya_halaman').fadeOut(100).delay(2800).fadeIn();
21 |
22 | setTimeout(function() {
23 | $('.halaman').removeClass('animate_content');
24 | }, 3200);
25 |
26 | //remove fadeIn class after 1500ms
27 | setTimeout(function() {
28 | $('.halaman').removeClass('fadeIn');
29 | }, 1100);
30 |
31 | });
32 |
33 |
34 | $('.kehome').click(function() {
35 | setTimeout(function() {
36 | $('.home').addClass('fadeIn');
37 | }, 1100);
38 |
39 | PuterLagu();
40 | });
41 |
42 |
43 | $('.kehalaman2').click(function() {
44 | setTimeout(function() {
45 | $('.halaman2').addClass('fadeIn');
46 | }, 1100);
47 |
48 | // Delay 4 detik sebelum memulai fungsi JalaninTeks()
49 | setTimeout(JalaninTeks, 4000);
50 | PuterLagu();
51 | });
52 |
53 | var i = 0;
54 | var txt = "Ribuan malam ku termenung sendiri, Menunggu seseorang untuk memelukku, Lewati ratusan mimpi tersimpan dalam sanubari, Sendiri di tengah kegelapan yang semu. Terimakasih engkau telah hadir untukku,\nmenemani kesepianku dan telah menjadi penerang dalam gelapku, I Love You";
55 | var speed = 200;
56 |
57 | function JalaninTeks() {
58 | if (i < txt.length) {
59 | document.getElementById("tekss").innerHTML += txt.charAt(i);
60 | i++;
61 | setTimeout(JalaninTeks, speed);
62 | }
63 | };
64 |
65 |
66 | function PuterLagu() {
67 | var lagu = document.getElementById("lagu");
68 | return lagu.paused ? lagu.play() : lagu.pause();
69 | };
70 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ValentineDayScript
2 | I have created a Simple Valentine's Day HTML Script, free and used for learning.
3 |
4 | # Demo Site
5 | https://wafarifki.github.io/ValentineDayScript/
6 |
7 | # ScreenShoot
8 |
9 |
10 | # Configuration
11 |
12 | 1. **Fork this Repository**: Visit the GitHub repository you want to fork, then click on the "Fork" button in the top-right corner. This will create a copy of the repository in your own GitHub account.
13 |
14 | 2. **Edit index.php**: After forking the repository, navigate to the `index.php` file in your forked repository. Locate line 49, which contains `Hai Caren`, and make your desired changes.
15 |
16 | 3. **Commit Changes**: After editing the file, scroll down to the bottom of the page, where you'll see a section titled "Commit changes". Enter a summary of the changes you made in the "Summary" field, then click on the "Commit changes" button.
17 |
18 | 4. **Publish on GitHub Pages**: Once you've committed your changes, you can enable GitHub Pages to publish your site. To do this, go to the "Settings" tab of your repository. Scroll down to the "GitHub Pages" section, then select the branch you want to use (typically `main` or `master`) from the dropdown menu. After selecting the branch, click on the "Save" button.
19 |
20 | 5. **Access Your Site**: After enabling GitHub Pages, you'll see a URL where your site is published. It will be in the format `https://.github.io/`. You can share this URL with others to view your site.
21 |
22 |
23 | # Let's connect with me!
24 |