{"id":31134292,"url":"https://github.com/haquanq-frontendmentor/advice-generator-app","last_synced_at":"2026-05-09T09:03:34.087Z","repository":{"id":243166886,"uuid":"811660030","full_name":"haquanq-frontendmentor/advice-generator-app","owner":"haquanq-frontendmentor","description":"Solution for frontendmentor.io challenge: advice-generator-app","archived":false,"fork":false,"pushed_at":"2025-09-16T10:30:12.000Z","size":394,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-16T12:44:26.874Z","etag":null,"topics":["adviceslip-api","bem-css","frontendmentor","html","postcss","typescript","vite"],"latest_commit_sha":null,"homepage":"https://haquanq-frontendmentor.github.io/advice-generator-app/","language":"CSS","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/haquanq-frontendmentor.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,"zenodo":null}},"created_at":"2024-06-07T03:37:00.000Z","updated_at":"2025-09-16T10:31:57.000Z","dependencies_parsed_at":"2024-06-07T04:48:10.918Z","dependency_job_id":"248d341e-1e5d-4d2e-b47a-7d2b97638375","html_url":"https://github.com/haquanq-frontendmentor/advice-generator-app","commit_stats":null,"previous_names":["haquanq/fm-advice-generator-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/haquanq-frontendmentor/advice-generator-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fadvice-generator-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fadvice-generator-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fadvice-generator-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fadvice-generator-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haquanq-frontendmentor","download_url":"https://codeload.github.com/haquanq-frontendmentor/advice-generator-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fadvice-generator-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275725345,"owners_count":25516699,"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-09-18T02:00:09.552Z","response_time":77,"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":["adviceslip-api","bem-css","frontendmentor","html","postcss","typescript","vite"],"created_at":"2025-09-18T06:51:30.818Z","updated_at":"2026-05-02T17:33:56.599Z","avatar_url":"https://github.com/haquanq-frontendmentor.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Frontend Mentor - Advice Generator App Solution\n\nThis is a solution to the [Advice generator app challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/advice-generator-app-QdUG-13db). Frontend Mentor challenges help you improve your coding skills by building realistic projects.\n\n\u003cp\u003e\n  \u003ca href=\"https://www.frontendmentor.io/solutions/pixel-perfect-with-html-and-css-and-js-C6mwsHVxtX\"\u003e\n    \u003cimg\n      alt=\"Solution post\"\n      src=\"https://img.shields.io/badge/Frontendmentor-blue?label=Solution%20on\"\n    /\u003e\u003c/a\u003e\n  \u003ca href=\"https://haquanq-frontendmentor.github.io/advice-generator-app/\"\u003e\n    \u003cimg\n      alt=\"Live demo\"\n      src=\"https://img.shields.io/badge/Demo-teal?label=Live\"\n    /\u003e\u003c/a\u003e\n  \u003ca href=\"./LICENSE\"\n    \u003e\u003cimg\n      allt=\"MIT License\"\n      src=\"https://img.shields.io/badge/MIT-blue?label=license\"\n  /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n![](./docs/preview.jpg)\n\n## Table of Contents\n\n- [Project Overview](#sunrise-project-overview)\n- [Tech Stack and Approach](#stars-tech-stack-and-approach)\n- [Local Development](#leaves-local-development)\n- [Deployment](#maple_leaf-deployment)\n\n## :sunrise: Project Overview\n\n### Challenge Requirements\n\n- View the optimal layout for the app depending on their device's screen size\n- See hover states for all interactive elements on the page\n- Generate a new piece of advice by clicking the dice icon\n\n### Status\n\nFeatures\n\n- [x] Get random piece of advice\n\nAccessibility\n\n- [x] Responsive accross different screen sizes\n- [x] Interactive elements have clear focus indicator\n\n## :stars: Tech Stack and Approach\n\n### Built With\n\n- **HTML5** – Semantic structure\n- **CSS Grid \u0026 Flexbox** – Layout\n- **PostCSS** – Nested rules, custom media queries, future CSS features, minification\n- **Stylelint** – CSS linting, code style consistency\n- **TypeScript** - Interactivity and application logic\n- **Vite** - Fast development server, production build and easy configuration\n\n### Approach\n\n- Mobile-first workflow for better performance on smaller devices\n- Accessibility guided by [ARIA Authoring Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg/)\n\n## :leaves: Local Development\n\n### Prerequisites\n\nInstall the following:\n\n- Git (latest version)\n- Node.js (latest version)\n\n### Setup\n\n```\ngit clone https://github.com/haquanq-frontendmentor/advice-generator-app.git\ncd advice-generator-app\npnpm install\n```\n\n### Start Development Server\n\n```\npnpm dev\n```\n\n## :maple_leaf: Deployment\n\nDeployed to Github Pages via Github Action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaquanq-frontendmentor%2Fadvice-generator-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaquanq-frontendmentor%2Fadvice-generator-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaquanq-frontendmentor%2Fadvice-generator-app/lists"}