- Landing + Auth Pages –
index.htmlmirrors the public marketing hero;sites/login.html,sites/registration.html, andsites/registration-password.htmlreplicate the authentication views with matching typography and spacing. - Interactive Validation – Custom scripts add
blurandinputhandlers that toggle.touched,.hidden, and.warningutility classes so errors appear instantly. - Password Coach Marks – The password step highlights requirements (letter, number/special char, minimum length) with live SVG swaps and red state text.
- Progress Indicators – A progress bar plus “Step x of y” copy guide people through the registration funnel.
- Responsive Layouts – Independent stylesheets for landing, login, creation, and shared fonts keep the UI adaptable across viewports without a framework.
- Navigation Helpers – Lightweight helpers route users to the next step or open supporting pages without leaving the experience.
Login Form – Email/username and password inputs.
Registration – Email – Email verification step with validation hints.
Registration – Profile Info – Username, date of birth, and gender selection.
- HTML5 for structure and semantic layout
- CSS3 (Flexbox, custom properties, animations) for styling
- Vanilla JavaScript for form validation, alerts (SweetAlert) , and UI transitions
website-copy-project/
├── index.html
├── sites/
│ ├── login.html
│ ├── registration.html
│ └── registration-password.html
├── styles/
│ ├── createAcc.css
│ ├── fonts.css
│ ├── index.css
│ ├── login.css
│ └── registration.css
├── js/
│ ├── emailValidity.js
│ ├── formCheck.js
│ ├── loginAlert.js
│ ├── nextStep.js
│ ├── openNewPage.js
│ ├── passwordValidity.js
│ ├── registrationAlert.js
│ ├── togglePassword.js
│ └── usernameValidity.js
└── assets/
├── landing.png
├── login.png
├── registration.png
├── registration-other.png
└── registration-password.png
- Clone the repository
git clone https://github.com/majtobijakodric/website-copy-project.git cd website-copy-project - Launch a static server (pick one):
- VS Code Live Server extension
- Python:
python -m http.server 5173 - Node:
npx serve . - Or open
index.htmldirectly in a browser (best results with a server to preserve relative links)
- Explore the flow:
index.html→ CTA buttonssites/login.html→ email/password validation + password togglesites/registration.html→ email/username stagesites/registration-password.html→ password coach marks → profile details → confirmation step
- Login credentials are hardcoded inside
js/loginAlert.jsso the prototype can demo the alerts without a backend. - The first working pair is username:
majwith password:123; the same arrays also acceptmaj@gmail.comas the matching email entry.
Maj Tobija Kodrič
MIT License. See LICENSE for details.