Assignment 2 - HTML CSS JS MERN
Assignment 2 - HTML CSS JS MERN
Instructions:
➢ This assignment is an individual submission.
➢ Total Marks of 100 Marks with duration of 3 weeks.
➢ All script submissions should be submitted via moodle
➢ Inputs/output should fit the criteria mentioned in the respective question.
➢ All other conditions are open to your interpretations.
➢ Evaluation will be conducted based on a fixed grading rubric (syntax, logic,
input and output) and the marks are divided as per prescribed weightage in
respective questions.
➢ For queries, reach out to TAs via Moodle
Submission Criteria:
➢ Please create one ZIP file as <rollnumber>_A2.ZIP
➢ Include all the files of the respective questions in their respective directories.
Follow the directory structure given below.
➢ Each question will have three folders (html,css,js).Required files should be in
these folders only (For e.g. html file in html folder , css in css one )
➢ For Example:
2022201079_A1.zip
|_____2022201079_A2_Q1
|_____html,css,js folder
|_____2022201079_A2_Q2
|_____html,css,js folder
|_____2022201079_A1_Q3
|_____html,css,js folder
|_____README.md
Question 1: (30 Marks)
Redesign the page (Link :https://sites.google.com/site/charusharmacseiith/)
This question is open to your interpretation and Designing ideas.
Important points to Remember:
1. Refer the content from the link, Keep the information as it is
2. All links should be intact
(Note : allowed tech stack is HTML,CSS, Javascript,bootstrap,react.)
Login Page:
It shows email and password inputs, which is connected to MongoDB where
each email ID should be unique. ( Remember that there are 2 types of users: one is
normal user and other is admin)
Register Page:Login Page:
It shows email and password inputs, which is connected to MongoDB where
each email ID should be unique. ( Remember that there are 2 types of users: one is
normal user and other is admin)
It will take Name,Role(User/Admin), Email, and Password from the user to
register. (Note: Check for the email if it already exists in the DB) (Reference: Similar
to Login page above)
Chat Area:
The following things you need to implement in this area:
1. You must save the history of the chat.
2. Logout option
3. Clear conversation (erase all history)
4. All question in Drop Down menu for user to ask (fetched from DB)
5. When a user clicks on any question the answer for that respective question
should come on the screen.
6. History Button which will show previously asked questions. ( Either in new
page or as popup window)
Admin Page:
This page is only for admins. Admins can add new questions to the
database or can change any question or its answer.
Note:
1. You can use Bootstrap for designing purposes
2. Passwords should not exist in plaintext in the database.
3. Without login, no page accessible, redirection to login page required.
4. Above screenshots are just an example. You are free to design according to
you.