Skip to content

Instantly share code, notes, and snippets.

@Octagon-simon
Created June 4, 2022 13:07
Show Gist options
  • Select an option

  • Save Octagon-simon/45b2e68b6079c02b2db594cfb27db213 to your computer and use it in GitHub Desktop.

Select an option

Save Octagon-simon/45b2e68b6079c02b2db594cfb27db213 to your computer and use it in GitHub Desktop.
//our table's data
const tableData = {
1 : ["Simon ugorji", "simon@gmail.com", "01234", "Germany"],
2 : ["Tony ugorji", "tony@gmail.com", "013234", "Turkey"],
3 : ["Victor ugorji", "victor@gmail.com", "014234", "Paris"],
4 : ["Felix ugorji", "felix@gmail.com", "011234", "Canada"],
5 : ["Jordan ugorji", "jordan@gmail.com", "016234", "Costa Rica"],
6 : ["Henry ugorji", "henry@gmail.com", "0166234", "Belgium"],
7 : ["Frank Sams", "simon@gmail.com", "01234", "Nigeria"],
8 : ["John Doe", "jonny@gmail.com", "0123466", "Australia"],
9 : ["Peter Lamb", "peter@gmail.com", "0123774", "Algeria"],
10 : ["Rodney Human", "human@gmail.com", "0128934", "Ukraine"]
}
//invoke the function
buildTable();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment