{"id":25075049,"url":"https://github.com/dentednerd/fm-article-preview","last_synced_at":"2026-02-08T09:07:01.151Z","repository":{"id":95786659,"uuid":"354335197","full_name":"dentednerd/fm-article-preview","owner":"dentednerd","description":"A solution to the Article preview component challenge on Frontend Mentor.","archived":false,"fork":false,"pushed_at":"2021-04-03T16:55:37.000Z","size":930,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-07T19:00:04.818Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"SCSS","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/dentednerd.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":"2021-04-03T16:06:15.000Z","updated_at":"2021-04-03T16:55:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f539cec7-cea0-4636-bd61-f0abc058da46","html_url":"https://github.com/dentednerd/fm-article-preview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dentednerd/fm-article-preview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dentednerd%2Ffm-article-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dentednerd%2Ffm-article-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dentednerd%2Ffm-article-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dentednerd%2Ffm-article-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dentednerd","download_url":"https://codeload.github.com/dentednerd/fm-article-preview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dentednerd%2Ffm-article-preview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29225769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T06:05:31.539Z","status":"ssl_error","status_checked_at":"2026-02-08T05:58:33.853Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-02-07T00:29:52.003Z","updated_at":"2026-02-08T09:07:01.117Z","avatar_url":"https://github.com/dentednerd.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Article preview component solution\n\nThis is a solution to the [Article preview component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/article-preview-component-dYBN_pYFT). Frontend Mentor challenges help you improve your coding skills by building realistic projects.\n\n## Table of contents\n\n- [Overview](#overview)\n  - [The challenge](#the-challenge)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n  - [Continued development](#continued-development)\n  - [Useful resources](#useful-resources)\n- [Author](#author)\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n- View the optimal layout for the component depending on their device's screen size\n- See the social media share links when they click the share icon\n\n### Screenshot\n\n![](./screenshot.png)\n\n### Links\n\n- Solution URL: [https://www.frontendmentor.io/solutions/article-preview-solution-using-sass-UjokfRb8i](https://www.frontendmentor.io/solutions/article-preview-solution-using-sass-UjokfRb8i)\n- Live Site URL: [https://dentednerd.github.io/fm-article-preview/](https://dentednerd.github.io/fm-article-preview/)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- Sass\n- CSS custom properties\n- Flexbox\n- CSS Grid\n\n### What I learned\n\nI'm not convinced that the 13px font size specified in the style guide is correct. I settled on 13.25px in the end.\n\nI used a lot of hardcoded measurements for widths, which I'm not proud of.\n\nAnimating the state change in the footer was the biggest challenge. The Javascript was pretty straightforward:\n\n```js\nfunction onClick() {\n  var thisItem = document.getElementById('footer');\n  thisItem.classList.toggle(\"active\");\n};\n```\n\nPositioning the hovering share section on desktop was tricky. Again, I had to hardcode a px measurement, which makes me feel all kinds of icky.\n\n### Continued development\n\nIt's not fully responsive; I hardcoded two widths for the card. Animating the share section into view would be nice.\n\n### Useful resources\n\n- [Bubbler – CSS Speech Bubble Generator](https://www.ilikepixels.co.uk/bubbler/) - This helped me get the ::after element on the hovering share section correct.\n\n## Author\n\n- Website - [Joey Imlay](https://joeyimlay.dev)\n- Frontend Mentor - [@dentednerd](https://www.frontendmentor.io/profile/dentednerd)\n- Twitter - [@dentednerd](https://www.twitter.com/dentednerd)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentednerd%2Ffm-article-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdentednerd%2Ffm-article-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentednerd%2Ffm-article-preview/lists"}