CSS Report
CSS Report
SUBMITTED BY:
A LinkedIn clone website, built using HTML, CSS, and JavaScript, will give practical
experience in web development along with simulating a full-fledged professional
networking platform. This clone is a rudimentary version of LinkedIn, with core
functionalities such as user profiles, connections, job postings, and news feeds. The
reason for doing this project is very much based on the following points:
HTML will be used to give structure to the content of the website and build up a
skeleton or outline for the website.
The aesthetic part of the web page is styled using CSS, which includes making the
website responsive on the devices.
The objective of this project is to create a LinkedIn clone website using HTML, CSS,
and JavaScript. In general, this project tries to reproduce main functionalities of a
professional networking platform. This project aims at enhancing practical web
development skills, where a fully responsive, interactive website is produced.
The aim is to ensure they get a really hands-on feel for building real-world web
applications focused on UI design, UX, and application of front-end technologies.
Resources Required
1. Requirement Analysis
Feature Identification:
Signup Page (for new users to create an account).
Login Page (for existing users to access their profile).
Profile Page (where users can view and update their information, such as name,
job title, experience, and skills).
Wireframe Design:
Created simple wireframes to visualize the layout of each page.
Signup Page: A form for user registration, capturing details like name, email,
password, job title, and profile picture (optional).
Login Page: A form with fields for email and password for user authentication.
Profile Page: Displays user information, such as name, job title, experience, and
skills, with an option to edit these details.
User Flow Design:
The user flow was planned to ensure a smooth transition between the signup,
login, and profile pages.
3. Front-End Development
HTML Structure Development:
Designed various HTML pages for the Signup, Login, and Profile.
Signup Page: Contains contact name, email, password, and job title with "Sign
Up" button.
Login page: It has fields where you put in input names for both the e-mail and
the password and a "Login" button.
Login code:-
function validateForm() {
var username = document.getElementById("username").value;
var password = document.getElementById("password").value;
var errorMessage = document.getElementById("error-message");
if (!usernameRegex.test(username)) {
errorMessage.textContent = "Username must contain only lowercase letters a-z.";
return false;
}
if (!passwordRegex.test(password)) {
errorMessage.textContent = "Password must be at least 8 characters long and
include at least one letter and one number.";
return false;
}
// Enable the login button only if both fields are filled with valid input
if (username && password) {
// Check if the inputs are valid before enabling the button
var usernameRegex = /^[a-z]+$/;
var passwordRegex = /^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/;
Signup Code:-
function validateForm() {
var password = document.getElementById("password").value;
var confirmPassword = document.getElementById("confirmPassword").value;
function checkInput() {
// Get all input fields
var firstName = document.getElementById("firstName").value;
var lastName = document.getElementById("lastName").value;
var email = document.getElementById("email").value;
var password = document.getElementById("password").value;
var confirmPassword = document.getElementById("confirmPassword").value;
var createAccountButton = document.getElementById("createAccountButton");
Developed skills in creating and handling forms for user registration and login,
using proper validation techniques to ensure secure and correct user inputs:
Username validation using regular expressions.
Password validation with simplified rules, ensuring that passwords meet minimum
security requirements (length, letter, number).
Profile Picture Upload: Add the ability for users to upload and update their
profile pictures, which will be stored and displayed on their profile page.
Customizable Profile Fields: Allow users to add or edit additional fields such
as skills, experience, education, and projects to provide a more comprehensive
professional profile.
Database Connection:
Notifications System
Real-time Notifications:
Email Notifications:
Reference Links
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference
https://www.w3schools.com
https://www.javatpoint.com/javascript-form-validation
https://www.tutorialspoint.com/javascript/