{"id":18949432,"url":"https://github.com/petekgithub/templates-dom","last_synced_at":"2025-08-10T13:21:54.196Z","repository":{"id":219661450,"uuid":"725465798","full_name":"petekgithub/templates-dom","owner":"petekgithub","description":":smirk_cat: productpage, detailpage, pagination and slider integration with html,css\u0026js.","archived":false,"fork":false,"pushed_at":"2024-03-25T11:41:50.000Z","size":183,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-01T23:16:19.867Z","etag":null,"topics":["dom-manipulation","figmadesign","html-css-javascript","pagination","slider-component"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petekgithub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-30T07:46:06.000Z","updated_at":"2024-03-25T11:42:35.000Z","dependencies_parsed_at":"2024-01-29T02:25:56.072Z","dependency_job_id":"175b5626-a49a-4c68-88d0-fd918810956d","html_url":"https://github.com/petekgithub/templates-dom","commit_stats":null,"previous_names":["petekgithub/templates-dom"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/petekgithub/templates-dom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petekgithub%2Ftemplates-dom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petekgithub%2Ftemplates-dom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petekgithub%2Ftemplates-dom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petekgithub%2Ftemplates-dom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petekgithub","download_url":"https://codeload.github.com/petekgithub/templates-dom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petekgithub%2Ftemplates-dom/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259737375,"owners_count":22903833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dom-manipulation","figmadesign","html-css-javascript","pagination","slider-component"],"created_at":"2024-11-08T13:16:54.591Z","updated_at":"2025-07-06T02:34:41.010Z","avatar_url":"https://github.com/petekgithub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### A few improvements that can be made for better organization, readability, and maintainability.\n\n- **Separate Concerns**: Create functions for different tasks to improve organization.\n- **Use Constants for API URLs**: Store API URLs in constants for easier management.\n- **Error Handling**: Add error handling for fetch requests to provide user feedback.\n- **Template Literals for HTML**: Use template literals for better readability of HTML strings.\n- **Use Event Delegation**: Consider using event delegation for better performance with many elements.\n- **Comments**: Add comments to explain complex logic or the purpose of code sections.\n\n\nHere is the final look, catalog page, and detail page images,\n![catalog](https://github.com/petekgithub/templates-dom/assets/38165351/2da61613-9bee-4d7c-9975-cc2b9924b746)\n![detail](https://github.com/petekgithub/templates-dom/assets/38165351/444ace18-d799-475e-b5f1-59a4dbf2a662)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetekgithub%2Ftemplates-dom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetekgithub%2Ftemplates-dom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetekgithub%2Ftemplates-dom/lists"}