Closed Titus-Kiplagat closed 1 year ago
It is recommended to call a pages.displayListPage function inside a DOMContentLoaded event listener to ensure that it executes after the DOM has fully loaded. This enhancement proposal aims to improve the reliability and maintainability of the code.
pages.displayListPage
DOMContentLoaded
Changes recommended is well noted. I will modify the functionality by calling the pages.displayListPage inside the DomContent as suggested.
Thank you 😃.
Issue description;
It is recommended to call a
pages.displayListPage
function inside aDOMContentLoaded
event listener to ensure that it executes after the DOM has fully loaded. This enhancement proposal aims to improve the reliability and maintainability of the code.