{"id":24443558,"url":"https://github.com/virag-ky/front-end-cheats","last_synced_at":"2026-04-09T11:05:36.875Z","repository":{"id":270894906,"uuid":"911700715","full_name":"virag-ky/front-end-cheats","owner":"virag-ky","description":"A collection of front-end cheat sheets for web developers.","archived":false,"fork":false,"pushed_at":"2025-03-29T17:33:57.000Z","size":403,"stargazers_count":10,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-19T05:17:59.985Z","etag":null,"topics":["cheatsheets","css","frontend","git","html","javascript","react","side-project"],"latest_commit_sha":null,"homepage":"https://frontendcheats.com/","language":"JavaScript","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/virag-ky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"virag-ky"}},"created_at":"2025-01-03T16:31:39.000Z","updated_at":"2025-04-04T11:36:15.000Z","dependencies_parsed_at":"2025-06-20T09:39:12.967Z","dependency_job_id":null,"html_url":"https://github.com/virag-ky/front-end-cheats","commit_stats":null,"previous_names":["virag-ky/front-end-cheats"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/virag-ky/front-end-cheats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virag-ky%2Ffront-end-cheats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virag-ky%2Ffront-end-cheats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virag-ky%2Ffront-end-cheats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virag-ky%2Ffront-end-cheats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virag-ky","download_url":"https://codeload.github.com/virag-ky/front-end-cheats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virag-ky%2Ffront-end-cheats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260920714,"owners_count":23083044,"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":["cheatsheets","css","frontend","git","html","javascript","react","side-project"],"created_at":"2025-01-20T22:16:41.587Z","updated_at":"2026-04-09T11:05:36.856Z","avatar_url":"https://github.com/virag-ky.png","language":"JavaScript","funding_links":["https://github.com/sponsors/virag-ky"],"categories":[],"sub_categories":[],"readme":"# FrontEndCheats\n\nA collection of front-end cheat sheets for web developers.\n\nThe current topics are available: HTML, CSS, JavaScript, React, and Git.\n\nLive link: https://frontendcheats.netlify.app/\n\n\u003cimg width=\"2025\" alt=\"Screenshot 2025-01-21 at 12 48 46\" src=\"https://github.com/user-attachments/assets/e5cd2b21-3e47-4835-ab8f-f5827ac73d0a\" /\u003e\n\n## 🛠 Built with:\n\n- React\n\n  - [React icons](https://react-icons.github.io/react-icons/)\n  - [html-react-parser](https://www.npmjs.com/package/html-react-parser)\n  - [react-code-blocks](https://www.npmjs.com/package/react-code-blocks)\n\n- CSS\n\n## 🤝 Contributions:\n\nAnyone can contribute to this project by adding new cheat sheets.\n\nYou will need basic skills in Git and the command line (e.g. directory navigation, creating new files/folders/directories, etc...).\n\n### Steps:\n\n1. Fork this repository\n2. Clone the forked repository\n\n```\ngit clone https://github.com/your-username/your-repo-name.git\n```\n\n3. Change directory to the newly cloned repo\n\n```\ncd your-repo-name\n```\n\n5. Add the original repository as an upstream remote so you can fetch updates\n\n```\ngit remote add upstream https://github.com/original-owner/original-repo-name.git\n```\n\n5. Create a new branch / Always work in a new branch for contributions\n\n```\ngit checkout -b feature-branch-name\n```\n\n6. Install the dependencies\n\n```\nnpm install\n```\n\n7. Run the project\n\n```\nnpm run dev\n```\n\n8. Make your changes\n   - go to the src/data folder and select the file where you want to add cheat sheets (in the html-data.jsx you add HTML cheat sheets and so on)\n   - go to the end of the file you picked and add a new object in the array\n   - I suggest you have a look at the previous objects and how they are structured\n   - add the key-value pairs: title, text, language, keypoints, id\n   - the **id** should be the next number (check the last object id in the array)\n   - give a title (string) for your cheat sheet, the words should be capitalized (e.g. List Elements)\n   - add the language (string), check the previous objects and what language value they have (\"html\", \"css\", \"javascript\", \"bash\")\n   - add the text (template literal - with backticks), and check the previous objects to get the idea (if your code contains backticks or $ signs then you need to escape them with \\, for example: \\`, \\$, otherwise you will get an error)\n   - add the key points of your code (template literal - with backticks), the keypoints should be list elements in HTML, if there's a nested list add the className attribute with the value: \"secondary-list\", see the example below\n   ```\n   \u003cli\u003e\n   \u003cstrong\u003eMethods:\u003c/strong\u003e\n    \u003cul className=\"secondary-list\"\u003e\n      \u003cli\u003eRegular methods operate on instance properties.\u003c/li\u003e\n      \u003cli\u003e\u003ccode\u003estatic\u003c/code\u003e methods belong to the class, not instances.\u003c/li\u003e\n    \u003c/ul\u003e\n   \u003c/li\u003e\n   ```\n   - make sure you have no errors and the cheat sheet appears correctly in the browser\n9. Stage your changes\n\n```\ngit add .\n```\n\n10. Commit your changes / Add a descriptive commit message (e.g \"Add HTML list elements cheat sheet\")\n\n```\ngit commit -m \"message\"\n```\n\n11. Push your branch to your forked repository\n\n```\ngit push origin feature-branch-name\n```\n\n12. Create a pull request\n    - go to your fork on GitHub\n    - click on \"New pull request\"\n    - choose your branch as the compare branch\n    - fill out the pull request form with a clear title and description of your changes\n    - submit the pull request\n13. Review and Iterate\n    - respond to any feedback or review comments on your pull request\n    - if changes are needed, make them in your local branch, commit, and push again\n14. Wait for merging\n    - once your pull request is accepted, it will be merged into the main project\n\n\u003e Keep your branch updated if needed:\n\n- fetch the latest changes from the upstream repo\n\n```\ngit fetch upstream\n```\n\n- merge these changes into your branch\n\n```\ngit merge upstream/main  # or upstream/master, depending on the main branch name\n```\n\n## ❗ Issues:\n\nFor any issues, please create a new issue, I will try to address it as soon as possible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirag-ky%2Ffront-end-cheats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirag-ky%2Ffront-end-cheats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirag-ky%2Ffront-end-cheats/lists"}