Giter Site home page Giter Site logo

shahir-47 / sign-up-form Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 246 KB

This is a simple sign-up form implemented using HTML, CSS, and JavaScript. The form allows users to enter their personal information and create an account. It includes validation for each input field to ensure that the required information is provided correctly.

Home Page: https://shahir-47.github.io/Sign-Up-Form/

CSS 40.51% HTML 28.29% JavaScript 31.20%
css-flexbox css3 html-css-javascript html5 javascript sign-up-form sign-up-page validation validation-checks validation-error validator

sign-up-form's Introduction

Sign Up Form

This is a simple sign-up form implemented using HTML, CSS, and JavaScript. The form allows users to enter their personal information and create an account. It includes validation for each input field to ensure that the required information is provided correctly.

Usage

To use this sign-up form, follow these steps:

  1. Open the Sign-Up-Form in a web browser by clicking here or copy this link: https://shahir-47.github.io/Sign-Up-Form/ and paste it in the address bar of your web browser.

Dependencies

This sign-up form relies on the following files:

  • normalize.css: This CSS file provides a consistent styling across different browsers by normalizing their default styles.
  • style.css: This CSS file contains the custom styles for the sign-up form.
  • icon.png: This image file is used as the favicon for the web page.
  • cover.png: This image file is used as the background image for the form.

Make sure to keep all these files in the same directory as the HTML file for proper functionality.

Validation

The JavaScript code (script.js) is responsible for validating the input fields. It performs the following checks:

  • Each field is required and must be filled in. If any field is left empty, an error message will be displayed.
  • The email field must contain a valid email address. If an invalid email is entered, an error message will be displayed.
  • The phone number field must contain a valid phone number with at least 11 digits. If an invalid phone number is entered, an error message will be displayed.
  • The password field must be at least 8 characters long. If a password shorter than 8 characters is entered, an error message will be displayed.
  • The confirm password field must match the password field. If the passwords do not match, an error message will be displayed.

Styling

The sign-up form is styled using CSS. It includes various CSS classes and styles to create a visually appealing and user-friendly interface. The form layout is responsive and adjusts to different screen sizes.

Please refer to the CSS code in the provided style.css file for a detailed understanding of the styles applied.

Author

This sign-up form was created by Shahir Ahmed in 2023.

For any questions or inquiries, please contact the author at [email protected].

sign-up-form's People

Contributors

shahir-47 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.