ext.split(" ")[0];
            document.getElementById("a-fname").value = ddText.split(" ")[1];
            authorFormDiv.style.display = "flex";
            //btnUpdate.style.display = "inline-block";


            let randomCountry = countries[Math.floor(Math.random() * countries.length)];
            let randomState = states[Math.floor(Math.random() * states.length)];
            let randomCity = cities[Math.floor(Math.random() * cities.length)];
            
            // Generate random state and the 