This JavaScript script is designed to create a personality test based on the Myers-Briggs Type Indicator (MBTI). The MBTI is a psychological tool that categorizes individuals into one of sixteen personality types based on four dimensions (Extraversion/Introversion, Sensing/Intuition, Thinking/Feeling, Judging/Perceiving).
-
User Login: The script initiates with a user login interface where users are prompted to enter their name and age.
-
Personality Test: The main functionality of the script involves a series of questions for each of the four MBTI dimensions. Users choose between two options for each question, accumulating scores based on their selections.
-
Result Analysis: After completing the test, the script calculates the scores for each dimension and determines the user's MBTI personality type.
-
Result Display: The final result, along with additional information about the personality type, is displayed to the user. This includes a general description, detailed information, and suitable professions.
-
History Tracking: The script keeps track of the user's test history, storing the results for future reference.
- Clone the repository.
- Open the HTML file in a web browser.
- Enter your name and age to start the test.
- Answer the series of questions to determine your MBTI personality type.
- View the detailed analysis and recommended professions based on your personality type.
- The script utilizes basic HTML, CSS, and JavaScript.
This script is for educational and entertainment purposes. The MBTI is a psychological tool, but its accuracy and scientific validity may vary.
Feel free to explore, contribute, and use the script to gain insights into your personality!
Note: Screenshots are provided for visual reference.