{"id":24785780,"url":"https://github.com/webdevbynight/nft-preview-card-component-main","last_synced_at":"2026-01-06T04:06:45.715Z","repository":{"id":268245432,"uuid":"903665975","full_name":"webdevbynight/nft-preview-card-component-main","owner":"webdevbynight","description":"This repository is an exercise from a Frontend Mentor challenge.","archived":false,"fork":false,"pushed_at":"2024-12-15T13:30:31.000Z","size":221,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T09:13:29.153Z","etag":null,"topics":["exercise","frontendmentor-challenge"],"latest_commit_sha":null,"homepage":"https://webdevbynight.github.io/nft-preview-card-component-main/","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/webdevbynight.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-12-15T08:15:26.000Z","updated_at":"2024-12-15T13:30:35.000Z","dependencies_parsed_at":"2024-12-15T14:30:13.759Z","dependency_job_id":"27ba81d8-9657-4ddd-9e7a-3fffb457685f","html_url":"https://github.com/webdevbynight/nft-preview-card-component-main","commit_stats":null,"previous_names":["webdevbynight/nft-preview-card-component-main"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webdevbynight/nft-preview-card-component-main","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevbynight%2Fnft-preview-card-component-main","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevbynight%2Fnft-preview-card-component-main/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevbynight%2Fnft-preview-card-component-main/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevbynight%2Fnft-preview-card-component-main/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdevbynight","download_url":"https://codeload.github.com/webdevbynight/nft-preview-card-component-main/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevbynight%2Fnft-preview-card-component-main/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28221554,"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":"2026-01-06T02:00:07.049Z","response_time":56,"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":["exercise","frontendmentor-challenge"],"created_at":"2025-01-29T14:31:32.226Z","updated_at":"2026-01-06T04:06:45.690Z","avatar_url":"https://github.com/webdevbynight.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - NFT preview card component solution\n\nThis is a solution to the [NFT preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/nft-preview-card-component-SbdUL_w0U). 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  - [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 depending on their device's screen size\n- See hover states for interactive elements\n\n### Screenshot\n\n![Screenshot of the solution](./screenshot.jpg)\n\n### Links\n\n- Solution URL: [https://github.com/webdevbynight/nft-preview-card-component-main](https://github.com/webdevbynight/nft-preview-card-component-main)\n- Live Site URL: [https://webdevbynight.github.io/nft-preview-card-component-main/](https://webdevbynight.github.io/nft-preview-card-component-main/)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS (via SCSS)\n  - custom properties\n  - logical properties\n  - flexbox\n  - grid\n- Mobile-first workflow\n\n### What I learned\n\nWhen using a variant font and when setting a range of weights for it, if the range is defined below `700`, any element to which the `font-weight: bold` declaration is applied will not be rendered as an element with a 700-weight font, but as one with the maximum weight font defined.\n```css\n@font-face {\n  font-family: MyFont;\n  src: url(\"path/to/MyFont-VariableFont_wght.woff2\") format(woff2) tech(variations);\n  font-weight: 300 600; /* The range of weights is defined bewteen 300 (Light) and 600 (SemiBold) */\n}\nh1, h2, h3, h4, h5, h6 {\n  /*\n  The default style for `hN` elements includes `font-weight: bold`.\n  To apply the SemiBold weight, no need to set `font-weight: 600`,\n  since any default or declared `font-weight: bold` will be rendered as `font-weight: 600`.\n  */\n}\n```\n\n### Useful resources\n\n- [Setting a range for a variable font](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-weight#setting_a_range_for_a_variable_font) - This section from the MDN article dedicated to the `font-weight` property within an `@font-face` @-rule shows an example of how a range of weights affects the font weight rendering when using a font weight value outside of this range.\n\n## Author\n\n- Website - [Victor Brito](https://victor-brito.dev)\n- Frontend Mentor - [@webdevbynight](https://www.frontendmentor.io/profile/webdevbynight)\n- Mastodon - [@webdevbynight](https://mastodon.social/webdevbynight)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevbynight%2Fnft-preview-card-component-main","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevbynight%2Fnft-preview-card-component-main","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevbynight%2Fnft-preview-card-component-main/lists"}