Kakhai1/Kakhai1.github.io
Risk Profile Questionnaire Web Application
This is a web-based risk profile questionnaire application that allows users to assess their risk tolerance and receive a risk profile based on their responses. Users can answer a series of questions, and the application calculates a total score and assigns a risk profile accordingly.
Features
- Interactive questionnaire with fade-in/fade-out animations between questions.
- Option for users to mark their email and phone number as "Not Available" if they prefer not to provide this information.
- Input validation for email format and phone number length.
- Calculation of a total score based on user responses.
- Assignment of a risk profile based on the total score.
- Option to print the questionnaire and results.
- Scroll-to-top and scroll-to-bottom buttons for user convenience.
Getting Started
These instructions will help you set up and run the risk profile questionnaire application locally.
Prerequisites
- Web browser (e.g., Google Chrome, Mozilla Firefox, Opera)
Installation
-
Clone the repository to your local machine using the following command:
git clone https://github.com/yourusername/risk-profile-questionnaire.git
-
Naviage to the project directory:
cd risk-profile-questionnaire -
Open the 'index.html' file
Usage
Fill out the questionnaire by selecting radio button options for each question.
Optionally, mark the "Not Available" checkboxes for email and phone number if you prefer not to provide this information.
Click the "Submit" button to calculate your risk profile based on your responses.
View your total risk assessment score and assigned risk profile.
Optionally, click the "Print" button to print the questionnaire and results.
Customization
You can customize the questions and risk profiles in the JavaScript code by modifying the relevant sections. Additionally, you can adjust the styling by editing the CSS files (index.css) to match your website's design.