Add dataTypesContainer to container and update styles
This commit is contained in:
@@ -42,6 +42,7 @@ dataTypesContainer.appendChild(eco2Checkbox.checkbox);
|
||||
dataTypesContainer.appendChild(eco2Checkbox.checkboxLabel);
|
||||
dataTypesContainer.appendChild(tvocCheckbox.checkbox);
|
||||
dataTypesContainer.appendChild(tvocCheckbox.checkboxLabel);
|
||||
container.appendChild(dataTypesContainer);
|
||||
|
||||
const filterButton = document.createElement('button');
|
||||
filterButton.textContent = 'Filter Data';
|
||||
@@ -63,8 +64,6 @@ filterButton.addEventListener('click', () => {
|
||||
console.log(filteredData);
|
||||
});
|
||||
|
||||
container.appendChild(dataTypesContainer);
|
||||
|
||||
const dateFilter = document.createElement('div');
|
||||
dateFilter.setAttribute('class', 'date-filter');
|
||||
|
||||
|
Reference in New Issue
Block a user