Skip to content

XLogin is a simple React-based login interface. It includes fields for Username and Password and displays messages based on the validity of the entered credentials.

Notifications You must be signed in to change notification settings

dhamodharanECE/Build-the-XLogin-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

🧑‍💻 XLogin - Simple React Login Form

📌 Overview

XLogin is a simple React-based login interface.

It includes fields for Username and Password and displays messages based on the validity of the entered credentials.

🎯 Features

Uses form, label, input, and button elements as per best practices.

Ensures both fields are mandatory before submission.

Displays:

✅ "Welcome, user!" if the username is user and password is password.

❌ "Invalid username or password" for all other inputs.

Clean and responsive UI built with CSS.

⚙️ Installation and Setup

Clone the repository:

git clone  https://github.com/dhamodharanECE/Build-the-XLogin-Implementation.git

cd xlogin

Install dependencies:

npm install

Run the app:

npm start

View in browser:

Open

http://localhost:3000

🧾 Usage Instructions

Enter Username as user.

Enter Password as password.

Click Submit.

✅ You’ll see “Welcome, user!”

Enter any other combination.

❌ You’ll see “Invalid username or password”

🧩 Technologies Used

React.js – Frontend library

HTML5 – Semantic markup

CSS3 – Styling and layout

📷 Application Preview

Login Page:

image

Check the Crediential:

image
Initial Render:
Form with Username and Password fields.

Valid Login:
Displays “Welcome, user!”

Invalid Login:
Displays “Invalid username or password”.

👨‍💻 Author

Dhamodharan S

Full Stack Web Developer Intern

📧 Email:

Development Link:

https://github.com/dhamodharanECE/Build-the-XLogin-Implementation.git

About

XLogin is a simple React-based login interface. It includes fields for Username and Password and displays messages based on the validity of the entered credentials.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published