{"id":19267366,"url":"https://github.com/luzefiru/odin-sign-up-form","last_synced_at":"2025-08-22T00:41:27.133Z","repository":{"id":65791801,"uuid":"599952093","full_name":"Luzefiru/odin-sign-up-form","owner":"Luzefiru","description":"A Sign-up form that emphasizes frontend design with HTML Forms, Input Validation, and CSS Pseudo Class selectors.","archived":false,"fork":false,"pushed_at":"2023-02-10T12:57:42.000Z","size":11212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T12:12:55.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://luzefiru.github.io/odin-sign-up-form/","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/Luzefiru.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":"2023-02-10T08:44:41.000Z","updated_at":"2023-03-26T04:09:12.000Z","dependencies_parsed_at":"2023-02-21T21:45:07.813Z","dependency_job_id":null,"html_url":"https://github.com/Luzefiru/odin-sign-up-form","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzefiru%2Fodin-sign-up-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzefiru%2Fodin-sign-up-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzefiru%2Fodin-sign-up-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzefiru%2Fodin-sign-up-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luzefiru","download_url":"https://codeload.github.com/Luzefiru/odin-sign-up-form/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371812,"owners_count":19790888,"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":[],"created_at":"2024-11-09T20:11:42.002Z","updated_at":"2025-02-23T19:41:00.743Z","avatar_url":"https://github.com/Luzefiru.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# odin-sign-up-form\nA Sign-up form that emphasizes frontend design with HTML Forms, Input Validation, and CSS Pseudo Class selectors to practice intermediate HTML/CSS.\n\nThis project served as an introductory project to semantically layout \u0026 style HTML `\u003cform\u003e` elements, together with their respective `\u003clabel\u003e` and `\u003cinput\u003e` tags. There are no `action` and `method` attributes because I have yet to learn about linking my frontend to a backend server.\n\nI tried to layout small portions of HTML and styling them with CSS, but that was not as efficient as I thought it would be. I ended up having to do a deep dig in my stylesheet when I forgot to add the `\u003cform\u003e` tag - resulting in a broken layout. Next time, I'll focus on semantic HTML design before proceeding with CSS layout \u0026 styling.\n\nMy favorite code snippet I plan to use again is the `box-shadow` clipping CSS property: `clip-path: inset(-15px 0px -15px 0px); /* clip horizontal box shadow */`, which allows a container to clip any overflows set by the programmer (or pesky unneeded shadows in my case).\n\nThe part that I had the most fun with was designing the password confirm validation using DOM Manipulation. It adds a lot of coupling \u0026 overhead, so I hope I can find a better method to do it.\n\n```JavaScript\n// if the values of the password fields are not the same, set a custom attribute \"isvalid\" to false, and vice-versa\npasswordField.addEventListener('keyup', () =\u003e {\n    if (passwordField.value != passwordConfirmField.value) {\n        passwordField.setAttribute('isvalid', 'false');\n        passwordConfirmField.setAttribute('isvalid', 'false');\n        passwordWarningText.style.display = 'block';\n    }\n    else if (passwordField.value == passwordConfirmField.value) {\n        passwordField.setAttribute('isvalid', 'true');\n        passwordConfirmField.setAttribute('isvalid', 'true');\n        passwordWarningText.style.display = 'none';\n    }\n})\n```\n\nSince we cannot trigger an `\u003cinput\u003e` tag to be invalid using JavaScript directly (like some sort of Boolean Attribute like `required`), I had to make a Custom Attribute called `isvalid` and treated it like a boolean for my CSS Attribute Selectors.\n\n```CSS\ninput[isvalid=\"false\"],\ninput:invalid {\n  outline: hsl(0, 0%, 100%);\n  border: 2px solid #d06969;\n  border-radius: 4px;\n}\n```\n\nI need to improve on:\n- semantic \u0026 accessible HTML tag hierarchy architecture\n- percentage-based values, especially for containers withiin containers\n- pseudoclass CSS selectors without needing to Google for answers\n- mobile-first responsive design (my webpage totally breaks on other resolutions)\n\n# Output\n### [Visit the Website Here](https://luzefiru.github.io/odin-sign-up-form/)\n\u003cimg src=\"./requirements/website-screenshot.png\"\u003e\n\n# Requirements\nThese were the requirements in The Odin Project's [Project: Sign-up Form](https://www.theodinproject.com/lessons/node-path-intermediate-html-and-css-sign-up-form) site to serve as a guide for functionality. Other aesthetic choices and implementations solely depend on the programmer.\n\u003cimg src=\"./requirements/sign-up-form.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzefiru%2Fodin-sign-up-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluzefiru%2Fodin-sign-up-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzefiru%2Fodin-sign-up-form/lists"}