{"id":26395405,"url":"https://github.com/scottkellum/kagi-fe-demo-project","last_synced_at":"2026-01-03T16:47:34.379Z","repository":{"id":281784185,"uuid":"944703301","full_name":"scottkellum/Kagi-FE-Demo-Project","owner":"scottkellum","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-11T05:16:56.000Z","size":1151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T06:23:35.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scottkellum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-03-07T20:20:25.000Z","updated_at":"2025-03-11T05:16:59.000Z","dependencies_parsed_at":"2025-03-11T06:34:32.170Z","dependency_job_id":null,"html_url":"https://github.com/scottkellum/Kagi-FE-Demo-Project","commit_stats":null,"previous_names":["scottkellum/kagi-fe-demo-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottkellum%2FKagi-FE-Demo-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottkellum%2FKagi-FE-Demo-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottkellum%2FKagi-FE-Demo-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottkellum%2FKagi-FE-Demo-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottkellum","download_url":"https://codeload.github.com/scottkellum/Kagi-FE-Demo-Project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022721,"owners_count":20385134,"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":[],"created_at":"2025-03-17T11:17:53.393Z","updated_at":"2026-01-03T16:47:34.334Z","avatar_url":"https://github.com/scottkellum.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kagi FE Demo Project\n\nWelcome to your Kagi demo project!\n\nA few guidelines:\n\n- The tasks can be solved in a variety of ways, do it in a way that will show off your skills as a developer.\n- Deliverable is a Github repo. A direct link to try the solution is desirable.\n- Deadline for submission is two weeks or sooner\n\nThank you for participating. Good luck and have fun!\n\n## Task 1 - HTML Recipes\n\n![Recipe Widget](./lib/image.png)\n\n- [x] Make a recipe widget as shown in the image.\n- [x] Clicking Show more' should expand the content of the widget.\n- [x] The text should change to 'Show less.\n- [x] Clicking Show Less should collapse the content.\n- [x] 'Show more' should only be visible if Ingredients exceed 10.\n- [x] There is no need to add, edit, or delete Ingredients for this widget, the idea is to make\n- [x] Show more/Show less' functionality WITHOUT javascript.\n- [x] Make 2 examples, one with checkboxes like shown in the image. Another with just a text, for the second example, there should be 15 lines (or more) of text, 10 lines of text should be visible when collapsed and when expanded another 5 should show up.\n- [x] No JavaScript at all for this one.\n\n## Task 2 - JavaScript optimization\n\nYou are at the court for a traffic ticket and there are 4 other people with you. You are told that everyone’s hearing is in alphabetical order and it takes 30 minutes for each hearing. All of the judges are free now and can see one person at a time. How long will it take for your hearing to end?\n\nYour inputs are:\n\n`string` - your name\n`int` - number of judges\n`string` - names of four other people separated by space\n\nExample:\n```js\ncourt(“Jules\", 3, \"Adam Betty Frank Mike”)\n60\n```\n\n```js\ncourt(“Zane\", 1, \"Mark Hank Ana Vivian\")\n150\n```\n\nWrite the fastest JavaScript routine (include a simple benchmark) that you possibly can. Submit when you can not get it any faster and explain your optimization journey.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottkellum%2Fkagi-fe-demo-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottkellum%2Fkagi-fe-demo-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottkellum%2Fkagi-fe-demo-project/lists"}