diff --git a/public/index.html b/public/index.html
index 1c56560..2096c86 100644
--- a/public/index.html
+++ b/public/index.html
@@ -161,7 +161,7 @@
Currently working as a frontend developer at the Bank of Montreal in Toronto.
In my spare time I enjoy (re)watching tv shows, listening to music and playing video games.
I guess I code from time to time as well. At the moment i'm into all things AT Protocol.
- Writing code in Typescript, Go and Elixir (still new)
+ Writing code in Typescript, but learning other programming languages
diff --git a/public/index.js b/public/index.js
new file mode 100644
index 0000000..2188abc
--- /dev/null
+++ b/public/index.js
@@ -0,0 +1,15 @@
+const PDS_URL = "https://pds.is.extraordinarily.cool"
+
+document.addEventListener("DOMContentLoaded", async () => {
+ const response = await fetch(`${PDS_URL}/xrpc/com.atproto.repo.listRecords?repo=did:plc:qttsv4e7pu2jl3ilanfgc3zn&collection=fm.teal.alpha.feed.play&limit=1`)
+ if (!response.ok) {
+ console.error(`there was an error fetching the latest play data - ${response.status}`)
+ return;
+ }
+
+ const data = await response.json();
+
+ const play = data.records[0].value
+
+ console.log({play})
+})