Skip to content

Conversation

@okonoval
Copy link
Collaborator

Hi, homework 15 without task1

{firstName: 'Alex', lastName: 'Len', email: '[email protected]'},
];
let contactsHeader = [ 'Name' , 'Last Name' ,'Email'];
const app = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please create class instead of object

contacts: contacts,
contactsHeader : contactsHeader,
render() {
const table = this.newEl('table');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update solution with innerHTML instead of creating element directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants