{"id":26487776,"url":"https://github.com/dedo-dev/blog-preview-card","last_synced_at":"2025-03-20T06:53:08.114Z","repository":{"id":245771078,"uuid":"819181340","full_name":"dedo-dev/blog-preview-card","owner":"dedo-dev","description":"Second challenge on Frontend Mentor Learning Path","archived":false,"fork":false,"pushed_at":"2024-07-14T18:10:44.000Z","size":316,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-15T02:36:25.910Z","etag":null,"topics":["css-flexbox","css3","custom-properties","html5","logical-properties"],"latest_commit_sha":null,"homepage":"https://dz-blog-preview-card.vercel.app/","language":"CSS","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/dedo-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-06-24T02:01:06.000Z","updated_at":"2024-07-14T18:10:47.000Z","dependencies_parsed_at":"2024-06-27T05:37:50.118Z","dependency_job_id":null,"html_url":"https://github.com/dedo-dev/blog-preview-card","commit_stats":null,"previous_names":["dedo-dev/blog-preview-card"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedo-dev%2Fblog-preview-card","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedo-dev%2Fblog-preview-card/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedo-dev%2Fblog-preview-card/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedo-dev%2Fblog-preview-card/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dedo-dev","download_url":"https://codeload.github.com/dedo-dev/blog-preview-card/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566921,"owners_count":20473451,"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":["css-flexbox","css3","custom-properties","html5","logical-properties"],"created_at":"2025-03-20T06:53:07.646Z","updated_at":"2025-03-20T06:53:08.104Z","avatar_url":"https://github.com/dedo-dev.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Blog preview card solution\n\nThis is a solution to the [Blog preview card challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/blog-preview-card-ckPaj01IcS). 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- See hover and focus states for all interactive elements on the page\n\n### Screenshot\n\n![](./assets/images/blog-preview-card.png)\n\n### Links\n\n- Solution URL: (https://www.frontendmentor.io/solutions/blog-card-using-flexbox-logical-properties-and-fluid-typography-C3XGfD0rwK)\n- Live Site URL: [https://dz-blog-preview-card.vercel.app/]\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- Mobile-first workflow\n- BEM\n- Logical Properties\n- Custom Properties\n- Variable Fonts\n\n### What I learned\nIn this Challenge I learn how to work with **Variable Fonts**, I make a muscle memory with **Semantic HTML** to build a card, with **Logical Properties** and **Custom Properties**.\n\n```html\n  \u003carticle class=\"card\"\u003e\n    \u003cimg\n      height=\"200\"\n      class=\"card__img\"\n      src=\"/assets/images/illustration-article.svg\"\n      alt=\"Colorfull code elements illustration\"\n    \u003e\n    \u003cdiv class=\"card__content\"\u003e\n      \u003cspan class=\"tag\"\u003eLearning\u003c/span\u003e\n      \u003ctime class=\"publishdate\" datetime=\"2024-06-03\" title=\"Published Dec 21, 2023\"\u003e\n        Published 21 Dec 2023\n      \u003c/time\u003e\n      \u003ch1\u003e\u003ca href=\"#\" class=\"title\"\u003eHTML \u0026 CSS foundations\u003c/a\u003e\u003c/h1\u003e\n      \u003cp class=\"description\"\u003e\n        These languages are the backbone of every website, defining structure, content, and presentation.\n      \u003c/p\u003e\n    \u003c/div\u003e\n    \u003cdiv class=\"author-info\"\u003e\n      \u003cimg width=\"32\" height=\"32\" src=\"/assets/images/image-avatar.webp\" alt=\"Author of the article\"\u003e\n      \u003ch2\u003eGreg Hooper\u003c/h2\u003e\n    \u003c/div\u003e\n  \u003c/article\u003e\n```\n```css\n@font-face {\n    font-family: 'Figtree';\n    font-weight: 500 800;\n    font-style: normal;\n    src: url(./assets/fonts/Figtree-VariableFont_wght.woff2) format('woff2');\n}\n```\n\n### Continued development\n\nIn the future I would like to continue to put in practice my HTML, CSS and JavaScript knowledge.\n\n### Useful resources\n\n- [Convert Variable Fonts](https://https://everythingfonts.com/ttf-to-woff2) - Usefull tool to convert Variable Fonts to woff2 format\n- [Getting started with Variable  Fonts](https://www.youtube.com/watch?v=0fVymQ7SZw0) - A good video by Kevin Powell on how to getting started with Variable  Fonts\n- [Using web fonts](https://fonts.google.com/knowledge/using_type/using_web_fonts) - An article to understand how to work with Variable Fonts by Google\n- [How to use fit-content](https://developer.mozilla.org/en-US/docs/Web/CSS/fit-content) - An mdn web docs to use fit-content, I used it to create the tag\n- [How to use box-shadow](https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow) - An mdn web docs to use box-shadow, I used it to create a perfect box-shadow of the card\n\n## Author\n\n- Frontend Mentor - [@dedo-dev](https://www.frontendmentor.io/profile/dedo-dev)\n- Linkedin - [@daniele-zeppieri](https://www.linkedin.com/in/daniele-zeppieri-0b1a36252/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedo-dev%2Fblog-preview-card","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdedo-dev%2Fblog-preview-card","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedo-dev%2Fblog-preview-card/lists"}