{"id":18840320,"url":"https://github.com/carlosfrontend/dropdownme","last_synced_at":"2026-05-12T07:38:18.609Z","repository":{"id":224787081,"uuid":"764071807","full_name":"carlosfrontend/dropdownme","owner":"carlosfrontend","description":"A lightweight and simple dropdown generator","archived":false,"fork":false,"pushed_at":"2024-02-28T19:03:54.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T09:18:10.445Z","etag":null,"topics":["animated-dropdown","animated-menu","css","dropdown","dropdown-menu","dropdown-menu-generator","dropdownme","html","javascript","npm","simple-dropdown","webpack5"],"latest_commit_sha":null,"homepage":"https://carlosfrontend.github.io/dropdown-menu-odin-project/","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/carlosfrontend.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-27T12:34:40.000Z","updated_at":"2024-10-01T12:39:17.000Z","dependencies_parsed_at":"2024-11-08T02:47:44.743Z","dependency_job_id":"31f6e8c2-b10b-43ad-97b7-52c976fc43cc","html_url":"https://github.com/carlosfrontend/dropdownme","commit_stats":null,"previous_names":["carlosfrontend/dropdownme"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosfrontend%2Fdropdownme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosfrontend%2Fdropdownme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosfrontend%2Fdropdownme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosfrontend%2Fdropdownme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlosfrontend","download_url":"https://codeload.github.com/carlosfrontend/dropdownme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239777237,"owners_count":19695255,"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":["animated-dropdown","animated-menu","css","dropdown","dropdown-menu","dropdown-menu-generator","dropdownme","html","javascript","npm","simple-dropdown","webpack5"],"created_at":"2024-11-08T02:47:13.815Z","updated_at":"2026-01-29T15:30:15.003Z","avatar_url":"https://github.com/carlosfrontend.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @carlosfrontend/dropdownme\n\n## Dynamic User Interface Interactions\n\n### JavaScript Course The Odin Project\n\nThis package was developed as an exercise for [The Odin Project](https://www.theodinproject.com/). It's pretty lightweight and allows you to add as many animated dropdown menus as you need.\n\n### HTML\n\n1. The first thing you need is to copy and paste this codeblock container into your body tags:\n\n   `index.html`\n\n   ```html\n   \u003cbody\u003e\n     \u003cnav id=\"navbar\"\u003e\n       \u003c!-- Dropdonws will goes here  --\u003e\n     \u003c/nav\u003e\n   \u003c/body\u003e\n   ```\n\n2. Each block with the `.parentContainer` class is a dropdown menu. You can add by copying and pasting as many as you need at you navbar container:\n\n   `index.html`\n\n   ```html\n   \u003cnav id=\"navbar\"\u003e\n     \u003c!-- Start of the first dropdown --\u003e\n\n     \u003cdiv class=\"parentContainer\"\u003e\n       \u003cdiv class=\"parentItem\"\u003eHome\u003c/div\u003e\n       \u003cdiv class=\"itemsContainer\"\u003e\n         \u003cdiv class=\"dummy-item\"\u003e\u003c/div\u003e\n         \u003cdiv class=\"item\"\u003eOne\u003c/div\u003e\n         \u003cdiv class=\"item\"\u003eTwo\u003c/div\u003e\n         \u003cdiv class=\"item\"\u003eThree\u003c/div\u003e\n       \u003c/div\u003e\n     \u003c/div\u003e\n\n     \u003c!-- End of the first dropdown --\u003e\n\n     \u003c!-- Start of the second dropdown --\u003e\n\n     \u003cdiv class=\"parentContainer\"\u003e\n       \u003cdiv class=\"parentItem\"\u003eServices\u003c/div\u003e\n       \u003cdiv class=\"itemsContainer\"\u003e\n         \u003cdiv class=\"dummy-item\"\u003e\u003c/div\u003e\n         \u003cdiv class=\"item\"\u003eOne\u003c/div\u003e\n         \u003cdiv class=\"item\"\u003eTwo\u003c/div\u003e\n         \u003cdiv class=\"item\"\u003eThree\u003c/div\u003e\n         \u003cdiv class=\"item\"\u003eFour\u003c/div\u003e\n       \u003c/div\u003e\n     \u003c/div\u003e\n\n     \u003c!-- End of the second dropdown --\u003e\n   \u003c/nav\u003e\n   ```\n\n### Advice\n\n3. The only **requirement** is **not to change the name of the nav id and the name classes**. You can replace the rest of the text with whatever you want. You can even add more tags with the html tag if you need more elements:\n\n   ```html\n   \u003cdiv class=\"item\"\u003eNew Item\u003c/div\u003e\n   ```\n\n### Javascipt\n\n1. Install it as a dependency in your project with this terminal command:\n\n   ```console\n   npm i @carlosfrontend/dropdownme\n   ```\n\n2. Make sure you import it into your project's javascipt file and call the function to animate the dropdown:\n\n   `index.js`\n\n   ```js\n   import dropDownMe from \"@carlosfrontend/dropdownme\";\n   dropDownMe();\n   ```\n\n### Link:\n\n:white_check_mark: [Assigments](https://www.theodinproject.com/lessons/node-path-javascript-dynamic-user-interface-interactions) :blue_book:\n\n:white_check_mark: [Live Preview](https://carlosfrontend.github.io/dropdown-menu-odin-project/) :computer:\n\nFeel free to change the styles as you like.\n\nHappy Coding!! :coffee: :rocket:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosfrontend%2Fdropdownme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlosfrontend%2Fdropdownme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosfrontend%2Fdropdownme/lists"}