(async () => {
  const about = await fetch(
    "https://www.beoliver.com/about.json"
  ).then((res) => res.json());
  const vowels = ["a","e","i","o","u"]
  const aOrAn = (word) =>
    `${vowels.includes(word[0]) ? "an" : "a"} ${word}`

  const employment = about.employment[0]
  const role = aOrAn(employment.role)
  const considers_self = aOrAn(about.considers_self)

  console.log(`
    Hello 👋. My name is ${about.fullname}.
    I am ${considers_self}
    living in ${about.location.current}.
    I currently work at ${employment.company}
    as ${role}.`
  )})();