{"id":19945534,"url":"https://github.com/odilson-dev/restaurant-page","last_synced_at":"2026-05-13T14:35:37.927Z","repository":{"id":225014377,"uuid":"764185590","full_name":"odilson-dev/restaurant-page","owner":"odilson-dev","description":"This project is part of The Odin Project curriculum, focusing on practicing DOM manipulation by dynamically rendering a restaurant homepage using JavaScript.","archived":false,"fork":false,"pushed_at":"2024-04-28T17:56:40.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T10:50:58.172Z","etag":null,"topics":["bundler","html-css-javascript","webpack"],"latest_commit_sha":null,"homepage":"https://odilson-dev.github.io/restaurant-page/","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/odilson-dev.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":"2024-02-27T16:23:01.000Z","updated_at":"2024-04-28T17:57:03.000Z","dependencies_parsed_at":"2024-02-28T21:47:00.849Z","dependency_job_id":"0238788f-8a5a-4dca-b1c3-72437ab7fdbf","html_url":"https://github.com/odilson-dev/restaurant-page","commit_stats":null,"previous_names":["odilsoncode/restaurant-page","odilson-dev/restaurant-page"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/odilson-dev/restaurant-page","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odilson-dev%2Frestaurant-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odilson-dev%2Frestaurant-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odilson-dev%2Frestaurant-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odilson-dev%2Frestaurant-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odilson-dev","download_url":"https://codeload.github.com/odilson-dev/restaurant-page/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odilson-dev%2Frestaurant-page/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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","status":"online","status_checked_at":"2025-11-25T02:00:05.816Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bundler","html-css-javascript","webpack"],"created_at":"2024-11-13T00:25:54.464Z","updated_at":"2025-11-25T14:02:07.095Z","avatar_url":"https://github.com/odilson-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Restaurant Homepage Project\n\nThis project is part of [The Odin Project](https://www.theodinproject.com/) curriculum, focusing on practicing DOM manipulation by dynamically rendering a restaurant homepage using JavaScript.\n\n## Project Overview\n\nThe goal of this project is to create a restaurant homepage where the entire content is generated dynamically using JavaScript. The project involves setting up a development environment with webpack, organizing the project structure, and implementing tabbed browsing functionality to navigate through different sections of the website.\n\n## Setup\n\n1. Begin by initializing the project with npm:\n\n   ```\n   npm init -y\n   ```\n\n2. Install webpack and webpack-cli as dev dependencies:\n\n   ```\n   npm install webpack webpack-cli --save-dev\n   ```\n\n3. Create `src` and `dist` directories with necessary files:\n\n   - `src/index.js`: Entry point for JavaScript code.\n   - `dist/index.html`: HTML skeleton of the website.\n\n4. Create a `webpack.config.js` file to configure webpack.\n\n5. Set up an HTML skeleton inside `dist/index.html` with a header containing navigation buttons and a content div.\n\n## Usage\n\n1. Run webpack to bundle the JavaScript code:\n\n   ```\n   npx webpack --watch\n   ```\n\n2. Open `dist/index.html` in a browser to view the website.\n\n3. Use the navigation buttons to switch between different tabs: Home, Menu, and Contact.\n\n## Additional Notes\n\n- Styling is separated into a separate CSS file.\n- Each tab (Home, Menu, Contact) is implemented as a separate module.\n- Event listeners are added to the navigation buttons to dynamically load tab content.\n\n## Acknowledgments\n\nThis project is inspired by [The Odin Project](https://www.theodinproject.com/) curriculum.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodilson-dev%2Frestaurant-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodilson-dev%2Frestaurant-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodilson-dev%2Frestaurant-page/lists"}