- HTML: For creating the structure of the webpage.
- CSS: For styling the webpage and creating responsive layouts.
- JavaScript: For adding interactivity to the webpage, such as displaying user details and project details.
- Local Storage: For storing and retrieving user data in the browser.
- Node.js: For setting up a local server to host the webpage.
- index.html: Contains the structure of the home page, including navigation, user details, and project details sections.
- homeScript.js: Contains the JavaScript code to handle user interactions, display user and project details, and manage local storage.
- server.js: Contains the Node.js server setup to host the webpage locally.
-
Clone the Repository:
- Clone the repository from GitHub to your local machine.
-
Install Node.js:
- Make sure Node.js is installed on your machine. You can download it from nodejs.org.
-
Open the Project Directory:
- Navigate to the directory where the project is located.
-
Install Dependencies:
- Run
npm install
to install any dependencies required for the project.
- Run
-
Start the Server:
- Run
node server.js
to start the Node.js server.
- Run
-
Open the Project in a Browser:
- Navigate to
http://localhost:6345/home.html
in your web browser to view and interact with the home page.
- Navigate to
- User Login: Displays a personalized welcome message based on user data stored in local storage.
- Employee Details: Shows detailed information about the logged-in employee.
- Project Details: Displays project information when the 'Projects' button is clicked.
-
Start the Server:
- Run
node server.js
in your terminal to start the Node.js server.
- Run
-
Open the Webpage:
- Open
http://localhost:6345/home.html
in your preferred web browser.
- Open
-
Interact with the Webpage:
- Use the navigation menu to view employee and project details.
- Click the 'Logout' button to clear user data from local storage and return to the login page.