Ramco Ramco

Ramco Ramco

  • 443
  • 3.4k
  • 527k

What should be the Html Code

Jul 4 2024 5:27 AM

Hi

  I have below data . What should be the HTMl code. It should be dynamic. I only want to display name,email. Sometimes it can be name,gender,email. I have Dynamic table Component.

{
    no: 1,
    name: 'John Doe',
    gender: 'male',
    email: '[email protected]',
    address: '729 S. Paris Hill St',
    mobile: 1234567890,
    salary: 120000,
  },
  {
    no: 2,
    name: 'Sarah Smith',
    gender: 'female',
    email: '[email protected]',
    address: '9003 Lake Street Hinesville',
    mobile: 1234567890,
    salary: 170000,
  },
  {
    no: 3,
    name: 'Airi Satou',
    gender: 'male',
    email: '[email protected]',
    address: '848 Old Durham Street Piedmont',
    mobile: 1234567890,
    salary: 150000,
  },
  {
    no: 4,
    name: 'Angelica Ramos',
    gender: 'male',
    email: '[email protected]',
    address: '8008 Anderson Drive Titusville',
    mobile: 1234567890,
    salary: 190000,
  },
  {
    no: 5,
    name: 'Ashton Cox',
    gender: 'female',
    email: '[email protected]',
    address: '620 East Ave. Dundalk',
    mobile: 1234567890,
    salary: 140000,
  },
  {
    no: 6,
    name: 'Cara Stevens',
    gender: 'male',
    email: '[email protected]',
    address: '9641 Delaware Street Camp Hill',
    mobile: 1234567890,
    salary: 220000,
  },
  {
    no: 7,
    name: 'Jens Brincker',
    gender: 'male',
    email: '[email protected]',
    address: '83 Pennsylvania Road',
    mobile: 1234567890,
    salary: 170000,
  },

Thanks


Answers (3)