+ d="M25,0 L50,25 L25,50 L0,25 Z"
+ fill="none"
+ stroke="white"
+ stroke-width="1"
+ />
+
+
+
+
+
+
+ const greetings = {
+ en: "Hello World",
+ ug: "دۇنيا ، ياخشىمۇسىز",
+ };
+
+ const intros = {
+ en: "My name is Abdulla, of Uyghur ethnicity.",
+ ug: "مېنىڭ ئىسمىم ئابدۇللا ، مەن ئۇيغۇر",
+ };
+
+ let currentLang = "en";
+
+ function toggleLanguage() {
+ currentLang = currentLang === "en" ? "ug" : "en";
+ document.getElementById("greeting").textContent =
+ greetings[currentLang];
+ document.getElementById("intro").textContent = intros[currentLang];
+ }
+
+ // Interactive text effect
+ document.querySelectorAll(".interactive-text").forEach((element) => {
+ element.addEventListener("mouseover", () => {
+ element.style.transform = "scale(1.05)";
+ });
+
+ element.addEventListener("mouseout", () => {
+ element.style.transform = "scale(1)";
+ });
+ });
+
+ // Random pattern animation
+ setInterval(() => {
+ const pattern = document.querySelector("#uyghurPattern");
+ const rotation = Math.random() * 360;
+ pattern.setAttribute("patternTransform", `rotate(${rotation} 25 25)`);
+ }, 5000);
+
+
+