-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchanges.html
More file actions
executable file
·706 lines (663 loc) · 32.2 KB
/
Copy pathchanges.html
File metadata and controls
executable file
·706 lines (663 loc) · 32.2 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
<!Doctype html>
<html lang="en">
<head>
<!-- Metadata -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Live2D Viewer Changelog">
<meta name="theme-color" content="#0f0f1a">
<!-- Name and favicon for the page -->
<title>Changes.html</title>
<link rel="icon" type="image/svg+xml" href="icon.svg" sizes="any">
</head>
<body>
<!-- Changelog modal content -->
<div id="changelog-modal" class="changelog-modal">
<!-- Close button for the modal -->
<button id="changelog-close-button" class="changelog-close-btn" title="Close Changelog"
aria-label="Close Changelog">
<i class="fas fa-xmark"></i>
</button>
<!-- Scrollable content area for the changelog entries -->
<div class="changelog-body">
<h2>v5.1 — What's New:</h2>
<!-- June 17, 2026 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on June 17, 2026</h3>
<p class="changelog-date">June 17, 2026</p>
<ul>
<li><strong>[bdc299d]</strong><br>
Added a custom rightclick menu that changes depending on the location on the website
<br>
reverted live2dcubismcore.js to an older version as the new one did break some cubism4 models (the fix ain't using a different pixi Live2D-Display version)
</li>
</ul>
</article>
<!-- May 15, 2026 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on May 15, 2026</h3>
<p class="changelog-date">May 15, 2026</p>
<ul>
<li><strong>[f27a2ff]</strong><br>
Fixed Model switching lag on zip imports by capping the name length to 25 characters
<br>
Made the project more modular by using js modules and seperating js into multiple files
<br>
Very few things changed visually, most are codebase related changes
</li>
</ul>
</article>
<!-- February 12, 2026 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on February 12, 2026</h3>
<p class="changelog-date">February 12, 2026</p>
<ul>
<li><strong>[fe54876]</strong><br>
fixed the og image embed by using a direct https url
</li>
</ul>
</article>
<!-- February 7, 2026 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on February 7, 2026</h3>
<p class="changelog-date">February 7, 2026</p>
<ul>
<li><strong>[caca0da]</strong><br>
added smoother local model imports, they still ned to be compressed in a zip format - importlocalzip.js
<br>
Option 1: drag the model containing zip file onto the canvas or
<br>
Option 2: select the "Upload model (.zip)" option in the Models dropdown menu - separated at the bottom
<br>
if you have multiple models and one is locally imported, switching them will have a split second freeze due to the resource decoding
<br>
i may find a fix or different approach for this in the future but for now it is what it is
<br>
updated the README.md screenshots from v4.0 to 5.0 and added the import feture to it as well as some other small changes
<br>
version bump to 5.0
</li>
</ul>
</article>
<!-- February 6, 2026 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on February 6, 2026</h3>
<p class="changelog-date">February 6, 2026</p>
<ul>
<li><strong>[bdb90e9] OBSOLETE!</strong><br>
apparently zooming was broken again - it did work on my local python server - i hope it fixed it this time
<br>
you can now kinda load locally zipped models, zip them if they are not:
<br>
<a href="https://imduck42.github.io/Live2D-Viewer/Archives_INACTIVE/tests/ziptouri.html" target="_blank">https://imduck42.github.io/Live2D-Viewer/Archives_INACTIVE/tests/ziptouri.html</a>
<br>
just follow the instructions on that page on how to get it working
</li>
</ul>
</article>
<!-- December 10, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on December 10, 2025</h3>
<p class="changelog-date">December 10, 2025</p>
<ul>
<li><strong>[bdb90e9]</strong><br>
made the consoleDEbug flag persistent via localStorage
<br>
provide the complete model Object on successful import
<br>
some README.md changes/clarifications
<br>
added an URL embed image for website preview (property="og:image"...)
<br>
when entering a fe directory, scroll all the way up
</li>
</ul>
</article>
<!-- November 17, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on November 17, 2025</h3>
<p class="changelog-date">November 17, 2025</p>
<ul>
<li><strong>[a32d9e2]</strong><br>
changed header name font to 'Audiowide'
<br>
more compact css due to css nesting
<br>
improved javascript code structure
</li>
</ul>
</article>
<!-- November 12, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on November 13, 2025</h3>
<p class="changelog-date">November 13, 2025</p>
<ul>
<li><strong>[932ca6e]</strong><br>
Skipped the last few changes cus litterally nothing did work
<br>
Added dynamic urls inside the file explorer which can be copied and pasted on another device:
<br>
e.g. <a href="https://imduck42.github.io/Live2D-Viewer/?fe=Eikanya/Live2d-model/崩坏学园2/bronya&preview=model.json">https://imduck42.github.io/Live2D-Viewer/?fe=Eikanya/Live2d-model/崩坏学园2/bronya&preview=model.json</a>
<br>
small changes to the index.html file
</li>
</ul>
</article>
<!-- November 12, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on November 12, 2025</h3>
<p class="changelog-date">November 12, 2025</p>
<ul>
<li><strong>[6c93168]</strong><br>
better layout for tablet sized devices
<br>
button animations for sidebar buttons
<br>
smaller margins for all devices for a more compact design
<br>
file caching to not load files on every load and faster previews
<br>
some other small changes
</li>
</ul>
</article>
<!-- November 10, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on November 10, 2025</h3>
<p class="changelog-date">November 10, 2025</p>
<ul>
<li><strong>[1271017]</strong><br>
fixed audio issues and some oactions/audio only playing via buttons or hitareas or even only on taps
<br>
zooming was already fixed in the last commit but thought it wasnt
</li>
<li><strong>[050020f]</strong><br>
zooming is now actually really fixed - I hope
</li>
</ul>
</article>
<!-- November 1, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on November 1, 2025</h3>
<p class="changelog-date">November 1, 2025</p>
<ul>
<li><strong>[a2be463]</strong><br>
fixed file explorer previews not closing
<br>
fixed the file explorer nav links not working
<br>
NOTE: still working on model animation reset + voice currently reset works but voice not:
<br>
-> const mm = selectedModel.internalModel?.motionManager;
<br>
-> mm?.stopAllMotions?.();
<br>
is the issue
<br>
resizing on mobile not fixed yet
<br>
added logging styles to repoexplorer.js
</li>
</ul>
</article>
<!-- October 24, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on October 24, 2025</h3>
<p class="changelog-date">October 24, 2025</p>
<ul>
<li><strong>[558af6c]</strong><br>
Updated fontawesome to 7.0.1
<br>
Updated the README.md
<br>
Fixed the models voice not playing on any motions
<br>
Added a model changer via scrolling on the model file name at the bottom right (click to copy the file name)
<br>
Now sorts expressions, motionsand hitareas alphabetically
<br>
Refactored the JS, HTML and CSS files as well as organizing the extra.js
<br>
Version => 4.7
</li>
<li><strong>[INFO]</strong><br>
Changed some comments in script.js
<br>
Broke the zooming on mobile devices, animation on tapping hit area and its button and the animation not resetting on clicking motion buttons - Working on a Fix
</li>
</ul>
</article>
<!-- July 27, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on July 27, 2025</h3>
<p class="changelog-date">July 27, 2025</p>
<ul>
<li><strong>[33130ab]</strong><br>
added a custom default models dropdown
<br>
added the models file name in the bottom right of the canvas
<br>
updated font awesome to 7.0.0
<br>
added exclusions.js to filter unwanted console messages | In the console use "consoleDebug = true" to unfilter
<br>
changed the mobile view of the model-imports class as well as the feLoadRepoBtn id
<br>
only index the motions if there are multiple same named ones
<br>
added more title="" attributes to index.html for potential custom tooltips
</li>
</ul>
</article>
<!-- July 24, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on July 24, 2025</h3>
<p class="changelog-date">July 24, 2025</p>
<ul>
<li><strong>[9e7d8be]</strong><br>
added README disclaimer
<br>
adjusted screensizes and redundancy cleanup
<br>
minor formatting in js libs
<br>
updated fontawesome to 6.7.2
</li>
</ul>
</article>
<!-- July 13, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on July 13, 2025</h3>
<p class="changelog-date">July 13, 2025</p>
<ul>
<li><strong>[ca88772]</strong><br>
minor changes to the README
<br>
changes to styles.css for a better look on the mobile header, import area
</li>
</ul>
</article>
<!-- July 10, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on July 10, 2025</h3>
<p class="changelog-date">July 10, 2025</p>
<ul>
<li><strong>[31a013a]</strong><br>
added model url importing via ?model={modelURL}
<br>
added a filter for console.warn that excludes annoying audio warnings
<br>
lowered the gap between containers
<br>
updated LICENSE
</li>
</ul>
</article>
<!-- June 29, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on June 29, 2025</h3>
<p class="changelog-date">June 29, 2025</p>
<ul>
<li><strong>[HOTFIX]</strong><br>
at some point i broke the zooming functionality on tablet and phones, now fixed: 4.1 -> 4.5
<br>
<strong>[59949b2]</strong><br>
changed hover opacity of go back button
<br>
now selected motions play immediately after clicking
<br>
changed V2 to V3 in Archives
<br>
now uses JsDelivers @master branch by default
</li>
<li><strong>[b295cbf]</strong><br>
refactored some files and reorganized the file structure
</li>
</ul>
</article>
<!-- June 27, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on June 27, 2025</h3>
<p class="changelog-date">June 27, 2025</p>
<ul>
<li><strong>[4a38c43]</strong><br>
changed the file content preview now to left/right row instead of top/bottom column
<br>
updated model name regex to support model names with a suffix (e.g. model-1.json)
<br>
corrected spelling mistake of DEFAULT_BRANCHE to DEFAULT_BRANCH
<br>
changed footer model controls
</li>
</ul>
</article>
<!-- June 26, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on June 26, 2025</h3>
<p class="changelog-date">June 26, 2025</p>
<ul>
<li><strong>[ecd41e8]</strong><br>
changed the default live2d-model repository to a more up to date one
<a href="https://github.com/Eikanya/Live2d-model" target="_blank">https://github.com/Eikanya/Live2d-model</a>
<br>
added simple credits at the bottom of news modal
<br>
updated pixi js to 6.5.8 and fontawesome to 6.5.2
<br>
changed the file content preview in the file explorer
<br>
now destroy unneeded textures on model removal
<br>
fixed an issue where ID was requested but only id searched | now lower and upercase working
</li>
</ul>
</article>
<!-- May 19, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on May 19, 2025</h3>
<p class="changelog-date">May 19, 2025</p>
<ul>
<li><strong>[0d12618]</strong><br>
seperate the news modal js and css in its own files
<br>
reworked all js and css files
</li>
</ul>
</article>
<!-- May 18, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on May 18, 2025</h3>
<p class="changelog-date">May 18, 2025</p>
<ul>
<li><strong>[e75d203]</strong><br>
better design for the in explorer import button
</li>
<li><strong>[HOTFIX]</strong><br>
fixed jsdelivr and github urls failing in 404
</li>
<li><strong>[1cb81cc] Fck ton of refactoring: 4.0 -> 4.1</strong><br>
refactor: script.js, repoexplorer.js, styles.css, repoexplorer.css
<br>
small modifications: icon.svg, changes.html, ztodo.txt, index.html, extra.js
<br>
added repoexplorer to README.md
</li>
<li><strong>[fc047e8]</strong><br>
new remove model button placement
</li>
<li><strong>[21f7df4]</strong><br>
small design fixes
</li>
</ul>
</article>
<!-- May 17, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Live2D Viewer Version 4.0 Released!</h3>
<p class="changelog-date">May 17, 2025</p>
<p>We are thrilled to announce the launch of <strong>Live2D Viewer version 4.0</strong>!
This major update introduces a new way to discover and load models, alongside internal improvements.</p>
<ul>
<li>
<strong>New Feature: GitHub Repository Explorer!</strong>
<ul>
You can now directly browse GitHub repositories for Live2D models using the new File Explorer.
<br>
Access it via the <strong>folder icon</strong> located to the left of the model URL input field.
<br>
Enter any GitHub repository owner and name to explore its contents. A default repository, rich with numerous Live2D models, is pre-filled for convenience.
<br>
(<em>Please note: While this repository offers a wide selection, compatibility with every model is not guaranteed.</em>)
</ul>
</li>
<li>
<strong>Core Enhancements:</strong>
<ul>
Introduced new core files: <code>js/repoexplorer.js</code> and
<code>css/repoexplorer.css</code> to power the File Explorer functionality.
<br>
Internal file structure has been reorganized for better project management (e.g., some assets moved to an
<code>aaMisc</code> directory).
</ul>
</li>
</ul>
</article>
<!-- May 17, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on May 17, 2025</h3>
<p class="changelog-date">May 17, 2025</p>
<ul>
<li><strong>[5483bde]</strong><br>
small bug fixes
</li>
<li><strong>[15cce98]</strong><br>
fixed an issue where the motion/expression etc sections didnt get cleared on model deletion, small css changes
</li>
<li><strong>[9ac2200]</strong><br>
added more previews in screenshots and added them to the readme
</li>
<li><strong>[4d9bc09]</strong><br>
added new screenshot in README.md and changed hover styles for header buttons
</li>
<li><strong>[37d6258]</strong><br>
version 4 release introducing a gh-repo explorer and minor improvements
</li>
<li><strong>[41118c1]</strong><br>
fixed a issue on mobile where the hit area labels did stack from old models and did not get removed -> Changes in extra.js
<br>
also only make a tap play a motion if its not the selecting tap
<br>
reformated all files, removing whitespaces empty lines etc
</li>
</ul>
</article>
<!-- May 16, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Big Plans for the Website</h3>
<p class="changelog-date">May 16, 2025</p>
<ul>
<li>
<strong>Exciting News: A New Way to Explore Live2D Models is Coming!</strong><br>
<br>
We're working on a fantastic update for you: a built-in File Explorer for our website!
<br>
This new feature will let you navigate through all the files and folders within Live2D model
hosting repositories, just like you would on your own computer.
<br>
We believe this will greatly improve how you find and select your favorite models.
<br>
Here's the really cool part: while you're browsing, if you spot a file that looks like a model's
main configuration (it will usually have "model" in its name and a ".json" extension),
<br>
you can import it directly with a single click, right from the explorer!
</li>
</ul>
</article>
<!-- May 16, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on May 16, 2025</h3>
<p class="changelog-date">May 16, 2025</p>
<ul>
<li><strong>[File Explorer]</strong><br>
added the blog about our upcomming project
</li>
<li><strong>[b296964]</strong><br>
add README.md and LICENSE as well as some screenshots in assets/screenshots
</li>
<li><strong>[4938145]</strong><br>
added changes.html in /assets and a "iframe" by clicking the page title to view them
</li>
<li><strong>[aaecb7d]</strong><br>
add another back up on current standpoint 5.16.25-5:12pm
</li>
<li><strong>[b1f32c9]</strong><br>
fix issues with texture unloading, add selected indicator, version in footer, other small changes
</li>
<li><strong>[3272c3f]</strong><br>
support/manage multiple models on one canvas
</li>
<li><strong>[73acd1d]</strong><br>
removed old css
</li>
<li><strong>[17d293e]</strong><br>
fixed header on mobile
</li>
</ul>
</article>
<!-- May 15, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on May 15, 2025</h3>
<p class="changelog-date">May 15, 2025</p>
<ul>
<li><strong>[061cbfb]</strong><br>
refactor css
</li>
</ul>
</article>
<!-- May 14, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on May 14, 2025</h3>
<p class="changelog-date">May 14, 2025</p>
<ul>
<li><strong>[76b245f]</strong><br>
center model on x after width change
</li>
<li><strong>[8fa58c4]</strong><br>
small css changes
</li>
<li><strong>[f256613]</strong><br>
full name
</li>
<li><strong>[9109762]</strong><br>
update todo
</li>
<li><strong>[bfc297c]</strong><br>
.
</li>
<li><strong>[420c294]</strong><br>
fix estra.js path
</li>
<li><strong>[9160896]</strong><br>
test for mobile
</li>
<li><strong>[c0f5c7e]</strong><br>
.
</li>
<li><strong>[7a592e5]</strong><br>
added design for checkbox
</li>
<li><strong>[18a8adf]</strong><br>
added a site icon meta tags and renamed backups to aabackups so it stays on top
</li>
<li><strong>[5c99ed5]</strong><br>
credits plan in footer
</li>
<li><strong>[cedcd6f]</strong><br>
unmin'ed local files (I don't like the look of them), changed styles of hitareas by modifying the extra.js (prev. extra.min.js) file
</li>
</ul>
</article>
<!-- May 13, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Commits on May 13, 2025</h3>
<p class="changelog-date">May 13, 2025</p>
<ul>
<li><strong>[15ae5ca]</strong><br>
removed file uploads for now, fixed the motions not playing on clicking area hitboxes due to wrong coordinates caused by either moving or resizing
</li>
<li><strong>[2e0f495]</strong><br>
.
</li>
<li><strong>[5b36fe4]</strong><br>
.
</li>
<li><strong>[0e64be3]</strong><br>
.
</li>
</ul>
</article>
<!-- May 12, 2025 -->
<article class="changelog-entry">
<h3 class="changelog-version">Initial Commit</h3>
<p class="changelog-date">May 12, 2025</p>
<ul>
<li><strong>[9564189]</strong><br>
initial commit
</li>
</ul>
</article>
<!-- Credits section at the end of the changelog -->
<article class="changelog-entry">
<h3 class="changelog-version">Thanks to 8con and Osaka for the Help on this project</h3>
<p class="changelog-date">ᕕ( ᐛ )ᕗ</p>
</article>
</div>
</div>
<!-- Standalone page script -->
<script>
document.addEventListener("DOMContentLoaded", () => {
// Check if the page is being viewed directly and not in an iframe
if (window.self === window.top) {
// Hide the changelog modal content
const changelogModal = document.getElementById("changelog-modal");
if (changelogModal) {
changelogModal.style.display = "none";
}
// Set up the main page styling
document.body.style.cssText = `
background-color: #0f0f1a;
color: #b8b8d0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Poppins, sans-serif;
user-select: none;
`;
// Create a container for the main content
const container = document.createElement("div");
container.style.cssText = `
position: relative;
display: inline-block;
`;
// Create and style the title element
const title = document.createElement("div");
title.textContent = "CHANGES.HTML";
title.style.cssText = `
font-size: clamp(2rem, 5vw, 4rem);
font-weight: 600;
opacity: 0.6;
letter-spacing: 0.1em;
padding-bottom: 0.25rem;
`;
// Create and style the link to go back to the main page
const backLink = document.createElement("a");
backLink.href = "../";
backLink.textContent = "GO BACK!";
backLink.style.cssText = `
position: absolute;
font-weight: 600;
opacity: 0.6;
bottom: 0;
right: 0;
font-size: 1rem;
color: #b8b8d0;
text-decoration: none;
transition: opacity 0.25s ease-in-out;
`;
// Add hover effects to the "Go Back" link
backLink.onmouseover = () => {
backLink.style.opacity = "0.75";
};
backLink.onmouseout = () => {
backLink.style.opacity = "0.6";
};
// Add the created elements to the page
container.appendChild(title);
container.appendChild(backLink);
document.body.appendChild(container);
}
});
</script>
</body>
</html>