{"id":2139,"date":"2026-01-20T17:23:06","date_gmt":"2026-01-20T22:23:06","guid":{"rendered":"https:\/\/turningpointmiami.com\/?page_id=2139"},"modified":"2026-04-22T10:20:57","modified_gmt":"2026-04-22T14:20:57","slug":"spiritual-gift-quiz","status":"publish","type":"page","link":"https:\/\/turningpointmiami.com\/en\/spiritual-gift-quiz\/","title":{"rendered":"Spiritual Gift Quiz"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2139\" class=\"elementor elementor-2139\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-190cbe9 e-flex e-con-boxed e-con e-parent\" data-id=\"190cbe9\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bab7a33 elementor-widget elementor-widget-shortcode\" data-id=\"bab7a33\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <div class=\"spiritual-gift-quiz-container\" style=\"max-width: 800px; margin: 0 auto; padding: 20px;\">\r\n        <div id=\"user-info\" class=\"quiz-section\">\r\n            <h2 style=\"color: #2c3e50; margin-bottom: 20px;\">Spiritual Gifts Assessment<\/h2>\r\n            <div style=\"background: #f8f9fa; padding: 25px; border-radius: 8px; margin-bottom: 30px;\">\r\n                <h3 style=\"color: #2c3e50; margin-bottom: 20px;\">Your Information<\/h3>\r\n                <p style=\"margin-bottom: 20px; color: #6c757d;\">Please provide your information below. Your results will be emailed to you upon completion.<\/p>\r\n                <form id=\"user-info-form\">\r\n                    <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px;\">\r\n                        <div>\r\n                            <label for=\"firstName\" style=\"display: block; margin-bottom: 8px; font-weight: 600; color: #2c3e50;\">First Name *<\/label>\r\n                            <input type=\"text\" id=\"firstName\" name=\"firstName\" required \r\n                                style=\"width: 100%; padding: 12px; border: 2px solid #e9ecef; border-radius: 5px; font-size: 16px; box-sizing: border-box;\">\r\n                        <\/div>\r\n                        <div>\r\n                            <label for=\"lastName\" style=\"display: block; margin-bottom: 8px; font-weight: 600; color: #2c3e50;\">Last Name *<\/label>\r\n                            <input type=\"text\" id=\"lastName\" name=\"lastName\" required \r\n                                style=\"width: 100%; padding: 12px; border: 2px solid #e9ecef; border-radius: 5px; font-size: 16px; box-sizing: border-box;\">\r\n                        <\/div>\r\n                    <\/div>\r\n                    <div style=\"margin-bottom: 25px;\">\r\n                        <label for=\"email\" style=\"display: block; margin-bottom: 8px; font-weight: 600; color: #2c3e50;\">Email Address *<\/label>\r\n                        <input type=\"email\" id=\"email\" name=\"email\" required \r\n                            style=\"width: 100%; padding: 12px; border: 2px solid #e9ecef; border-radius: 5px; font-size: 16px; box-sizing: border-box;\">\r\n                    <\/div>\r\n                    <button type=\"button\" onclick=\"submitUserInfo()\" style=\"background: #3498db; color: white; padding: 15px 30px; border: none; border-radius: 5px; font-size: 18px; cursor: pointer; width: 100%;\">\r\n                        Continue to Assessment\r\n                    <\/button>\r\n                <\/form>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <div id=\"quiz-intro\" class=\"quiz-section\" style=\"display: none;\">\r\n            <h2 style=\"color: #2c3e50; margin-bottom: 20px;\">Discover Your Spiritual Gifts<\/h2>\r\n            <p style=\"font-size: 16px; line-height: 1.6; margin-bottom: 15px;\">\r\n                This is the official LifeWay Spiritual Gifts Assessment. God has gifted you with an expression of His Holy Spirit \r\n                to support His vision and mission of the church. This assessment will help you identify your spiritual gifts based \r\n                on the biblical gifts outlined in Romans 12:6-8, 1 Corinthians 12:8-10, 28-30, Ephesians 4:11, and 1 Peter 4:9-11.\r\n            <\/p>\r\n            <p style=\"font-size: 16px; line-height: 1.6; margin-bottom: 20px;\">\r\n                <strong>This is not a test<\/strong>, so there are no wrong answers. Answer honestly based on how you naturally respond. \r\n                Your immediate response is usually best. Rate each of the 80 statements using the scale below:\r\n            <\/p>\r\n            <div style=\"background: #f8f9fa; padding: 15px; border-radius: 5px; margin-bottom: 20px;\">\r\n                <p style=\"margin: 5px 0; font-size: 14px;\"><strong>5<\/strong> \u2013 Highly characteristic of me\/definitely true for me<\/p>\r\n                <p style=\"margin: 5px 0; font-size: 14px;\"><strong>4<\/strong> \u2013 Most of the time this would describe me\/be true for me<\/p>\r\n                <p style=\"margin: 5px 0; font-size: 14px;\"><strong>3<\/strong> \u2013 Frequently characteristic of me\/true for me \u2013 about 50% of the time<\/p>\r\n                <p style=\"margin: 5px 0; font-size: 14px;\"><strong>2<\/strong> \u2013 Occasionally characteristic of me\/true for me \u2013 about 25% of the time<\/p>\r\n                <p style=\"margin: 5px 0; font-size: 14px;\"><strong>1<\/strong> \u2013 Not at all characteristic of me\/definitely untrue for me<\/p>\r\n            <\/div>\r\n            <button onclick=\"startQuiz()\" style=\"background: #3498db; color: white; padding: 15px 30px; border: none; border-radius: 5px; font-size: 18px; cursor: pointer;\">\r\n                Start Assessment\r\n            <\/button>\r\n        <\/div>\r\n\r\n        <div id=\"quiz-questions\" class=\"quiz-section\" style=\"display: none;\">\r\n            <div id=\"progress-bar\" style=\"width: 100%; background: #ecf0f1; height: 10px; border-radius: 5px; margin-bottom: 30px; overflow: hidden;\">\r\n                <div id=\"progress-fill\" style=\"width: 0%; height: 100%; background: #3498db; transition: width 0.3s;\"><\/div>\r\n            <\/div>\r\n            \r\n            <div id=\"question-container\"><\/div>\r\n            \r\n            <div style=\"display: flex; justify-content: space-between; margin-top: 30px;\">\r\n                <button id=\"prev-btn\" onclick=\"prevQuestion()\" style=\"background: #95a5a6; color: white; padding: 12px 25px; border: none; border-radius: 5px; cursor: pointer; display: none;\">\r\n                    Previous Page\r\n                <\/button>\r\n                <button id=\"next-btn\" onclick=\"nextQuestion()\" style=\"background: #3498db; color: white; padding: 12px 25px; border: none; border-radius: 5px; cursor: pointer; margin-left: auto;\">\r\n                    Next Page\r\n                <\/button>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <div id=\"quiz-results\" class=\"quiz-section\" style=\"display: none;\">\r\n            <h2 style=\"color: #2c3e50; margin-bottom: 20px;\">Your Spiritual Gifts<\/h2>\r\n            <div id=\"results-content\"><\/div>\r\n            <button onclick=\"restartQuiz()\" style=\"background: #3498db; color: white; padding: 12px 25px; border: none; border-radius: 5px; cursor: pointer; margin-top: 30px;\">\r\n                Take Quiz Again\r\n            <\/button>\r\n        <\/div>\r\n\r\n        <div style=\"margin-top: 40px; padding-top: 20px; border-top: 2px solid #e0e0e0; text-align: center;\">\r\n            <p style=\"margin: 5px 0; font-size: 13px; color: #666666; line-height: 1.6;\">\r\n                <strong>Spiritual Gifts Assessment<\/strong><br>\r\n                \u00a9 LifeWay Christian Resources. Used with permission.<br>\r\n                Adapted from <em>Jesus on Leadership: Developing Servant Leaders<\/em> by Gene Wilkes\r\n            <\/p>\r\n        <\/div>\r\n    <\/div>\r\n\r\n    <script>\r\n    const quizData = {\r\n        questions: [\r\n            \/\/ Question 1-5\r\n            { text: \"I have the ability to organize ideas, resources, time, and people effectively.\", gift: \"Administration\" },\r\n            { text: \"I am willing to study and prepare for the task of teaching.\", gift: \"Teaching\" },\r\n            { text: \"I am able to relate the truths of God to specific situations.\", gift: \"Wisdom\" },\r\n            { text: \"I have a God-given ability to help others grow in their faith.\", gift: \"Shepherding\" },\r\n            { text: \"I possess a special ability to communicate the truth of salvation.\", gift: \"Evangelism\" },\r\n            \r\n            \/\/ Question 6-10\r\n            { text: \"I have the ability to make critical decisions when necessary.\", gift: \"Leadership\" },\r\n            { text: \"I am sensitive to the hurts of people.\", gift: \"Mercy\" },\r\n            { text: \"I experience joy in meeting needs through sharing possessions.\", gift: \"Giving\" },\r\n            { text: \"I enjoy studying.\", gift: \"Knowledge\" },\r\n            { text: \"I have delivered God's message of warning and judgment.\", gift: \"Prophecy\" },\r\n            \r\n            \/\/ Question 11-15\r\n            { text: \"I am able to sense the true motivation of persons and movements.\", gift: \"Discernment\" },\r\n            { text: \"I have a special ability to trust God in difficult situations.\", gift: \"Faith\" },\r\n            { text: \"I have a strong desire to contribute to the establishment of new churches.\", gift: \"Apostleship\" },\r\n            { text: \"I take action to meet physical and practical needs rather than merely talking about or planning how to help.\", gift: \"Service\/Helps\" },\r\n            { text: \"I enjoy entertaining guests in my home.\", gift: \"Hospitality\" },\r\n            \r\n            \/\/ Question 16-20\r\n            { text: \"I can adapt my guidance to fit the maturity of those working with me.\", gift: \"Leadership\" },\r\n            { text: \"I can delegate and assign meaningful work.\", gift: \"Administration\" },\r\n            { text: \"I have an ability and desire to teach.\", gift: \"Teaching\" },\r\n            { text: \"I am usually able to analyze a situation correctly.\", gift: \"Wisdom\" },\r\n            { text: \"I have a natural tendency to encourage others.\", gift: \"Exhortation\" },\r\n            \r\n            \/\/ Question 21-25\r\n            { text: \"I am willing to take the initiative in helping other Christians grow in their faith.\", gift: \"Shepherding\" },\r\n            { text: \"I have an acute awareness of other people's emotions, such as loneliness, pain, fear, and anger.\", gift: \"Mercy\" },\r\n            { text: \"I am a cheerful giver.\", gift: \"Giving\" },\r\n            { text: \"I spend time digging into facts.\", gift: \"Knowledge\" },\r\n            { text: \"I feel that I have a message from God to deliver to others.\", gift: \"Prophecy\" },\r\n            \r\n            \/\/ Question 26-30\r\n            { text: \"I can recognize when a person is genuine\/honest.\", gift: \"Discernment\" },\r\n            { text: \"I am a person of vision (a clear mental portrait of a preferable future given by God). I am able to communicate vision in such a way that others commit to making the vision a reality.\", gift: \"Leadership\" },\r\n            { text: \"I am willing to yield to God's will rather than question and waver.\", gift: \"Faith\" },\r\n            { text: \"I would like to be more active in getting the gospel to people in other countries.\", gift: \"Apostleship\" },\r\n            { text: \"It makes me happy to do things for people in need.\", gift: \"Service\/Helps\" },\r\n            \r\n            \/\/ Question 31-35\r\n            { text: \"I am successful in getting a group to do its work joyfully.\", gift: \"Administration\" },\r\n            { text: \"I am able to make strangers feel at ease.\", gift: \"Hospitality\" },\r\n            { text: \"I have the ability to teach to a variety of different learning styles.\", gift: \"Teaching\" },\r\n            { text: \"I can identify those who need encouragement.\", gift: \"Exhortation\" },\r\n            { text: \"I have trained Christians to be more obedient disciples of Christ.\", gift: \"Shepherding\" },\r\n            \r\n            \/\/ Question 36-40\r\n            { text: \"I am willing to do whatever it takes to see others come to Christ.\", gift: \"Evangelism\" },\r\n            { text: \"I am drawn to people who are hurting.\", gift: \"Mercy\" },\r\n            { text: \"I am a generous giver.\", gift: \"Giving\" },\r\n            { text: \"I am able to discover new truths in Scripture.\", gift: \"Knowledge\" },\r\n            { text: \"I have spiritual insights from Scripture concerning issues and people that compel me to speak out.\", gift: \"Prophecy\" },\r\n            \r\n            \/\/ Question 41-45\r\n            { text: \"I can sense when a person is acting in accordance with God's will.\", gift: \"Discernment\" },\r\n            { text: \"I can trust in God even when things look dark.\", gift: \"Faith\" },\r\n            { text: \"I can determine where God wants a group to go and help it get there.\", gift: \"Leadership\" },\r\n            { text: \"I have a strong desire to take the gospel to places where it has never been heard.\", gift: \"Apostleship\" },\r\n            { text: \"I enjoy reaching out to new people in my church and community.\", gift: \"Hospitality\" },\r\n            \r\n            \/\/ Question 46-50\r\n            { text: \"I am sensitive to the needs of people.\", gift: \"Service\/Helps\" },\r\n            { text: \"I have been able to make effective and efficient plans for accomplishing the goals of a group.\", gift: \"Administration\" },\r\n            { text: \"I often am consulted when fellow Christians are struggling to make difficult decisions.\", gift: \"Wisdom\" },\r\n            { text: \"I think about how I can comfort and encourage others in my congregation.\", gift: \"Exhortation\" },\r\n            { text: \"I am able to give spiritual direction to others.\", gift: \"Shepherding\" },\r\n            \r\n            \/\/ Question 51-55\r\n            { text: \"I am able to present the gospel to lost persons in such a way that they accept the Lord and His salvation.\", gift: \"Evangelism\" },\r\n            { text: \"I possess an unusual capacity to understand the feelings of those in distress.\", gift: \"Mercy\" },\r\n            { text: \"I have a strong sense of stewardship based on the recognition that God owns all things.\", gift: \"Giving\" },\r\n            { text: \"I have delivered to other persons messages that have come directly from God.\", gift: \"Prophecy\" },\r\n            { text: \"I can sense when a person is acting under God's leadership.\", gift: \"Discernment\" },\r\n            \r\n            \/\/ Question 56-60\r\n            { text: \"I try to be in God's will continually and be available for His use.\", gift: \"Faith\" },\r\n            { text: \"I feel that I should take the gospel to people who have different beliefs from me.\", gift: \"Apostleship\" },\r\n            { text: \"I have an acute awareness of the physical needs of others.\", gift: \"Service\/Helps\" },\r\n            { text: \"I am skilled in setting forth positive and precise steps of action.\", gift: \"Administration\" },\r\n            { text: \"I like to meet visitors at church and make them feel welcome.\", gift: \"Hospitality\" },\r\n            \r\n            \/\/ Question 61-65\r\n            { text: \"I explain Scripture in such a way that others understand it.\", gift: \"Teaching\" },\r\n            { text: \"I can usually see spiritual solutions to problems.\", gift: \"Wisdom\" },\r\n            { text: \"I welcome opportunities to help people who need comfort, consolation, encouragement, and counseling.\", gift: \"Exhortation\" },\r\n            { text: \"I feel at ease in sharing Christ with nonbelievers.\", gift: \"Evangelism\" },\r\n            { text: \"I can influence others to perform to their highest God-given potential.\", gift: \"Leadership\" },\r\n            \r\n            \/\/ Question 66-70\r\n            { text: \"I recognize the signs of stress and distress in others.\", gift: \"Mercy\" },\r\n            { text: \"I desire to give generously and unpretentiously to worthwhile projects and ministries.\", gift: \"Giving\" },\r\n            { text: \"I can organize facts into meaningful relationships.\", gift: \"Knowledge\" },\r\n            { text: \"God gives me messages to deliver to His people.\", gift: \"Prophecy\" },\r\n            { text: \"I am able to sense whether people are being honest when they tell of their religious experiences.\", gift: \"Discernment\" },\r\n            \r\n            \/\/ Question 71-75\r\n            { text: \"I enjoy presenting the gospel to persons of other cultures and backgrounds.\", gift: \"Apostleship\" },\r\n            { text: \"I enjoy doing little things that help people.\", gift: \"Service\/Helps\" },\r\n            { text: \"I can give a clear, uncomplicated presentation of the gospel.\", gift: \"Teaching\" },\r\n            { text: \"I have been able to apply biblical truth to the specific needs of my church.\", gift: \"Wisdom\" },\r\n            { text: \"God has used me to encourage others to live Christlike lives.\", gift: \"Exhortation\" },\r\n            \r\n            \/\/ Question 76-80\r\n            { text: \"I have sensed the need to help other people become more effective in their ministries.\", gift: \"Shepherding\" },\r\n            { text: \"I like to talk about Jesus to those who do not know Him.\", gift: \"Evangelism\" },\r\n            { text: \"I have the ability to make strangers feel comfortable in my home.\", gift: \"Hospitality\" },\r\n            { text: \"I have a wide range of study resources and know how to secure information.\", gift: \"Knowledge\" },\r\n            { text: \"I feel assured that a situation will change for the glory of God even when the situation seems impossible.\", gift: \"Faith\" }\r\n        ],\r\n        \r\n        giftDescriptions: {\r\n            \"Leadership\": \"Leadership aids the body by leading and directing members to accomplish the goals and purposes of the church. Leadership motivates people to work together in unity toward common goals. Consider serving in ministry leadership, vision casting, or team coordination roles.\",\r\n            \r\n            \"Administration\": \"Persons with the gift of administration lead the body by steering others to remain on task. Administration enables the body to organize according to God-given purposes and long-term goals. Consider serving in event planning, project management, or organizational leadership.\",\r\n            \r\n            \"Teaching\": \"Teaching is instructing members in the truths and doctrines of God's Word for the purposes of building up, unifying, and maturing the body. Consider serving in Bible study leadership, Sunday School, discipleship classes, or teaching ministries.\",\r\n            \r\n            \"Knowledge\": \"The gift of knowledge manifests itself in teaching and training in discipleship. It is the God-given ability to learn, know, and explain the precious truths of God's Word. A word of knowledge is a Spirit-revealed truth. Consider serving in teaching, training, or biblical research roles.\",\r\n            \r\n            \"Wisdom\": \"Wisdom is the gift that discerns the work of the Holy Spirit in the body and applies His teachings and actions to the needs of the body. Consider serving in counseling, leadership advisory, mentoring, or decision-making roles.\",\r\n            \r\n            \"Prophecy\": \"The gift of prophecy is proclaiming the Word of God boldly. This builds up the body and leads to conviction of sin. Prophecy manifests itself in preaching and teaching. Consider serving in preaching, teaching, or prophetic ministry roles.\",\r\n            \r\n            \"Discernment\": \"Discernment aids the body by recognizing the true intentions of those within or related to the body. Discernment tests the message and actions of others for the protection and well-being of the body. Consider serving in leadership advisory, prayer ministry, or spiritual oversight.\",\r\n            \r\n            \"Exhortation\": \"Possessors of this gift encourage members to be involved in and enthusiastic about the work of the Lord. Members with this gift are good counselors and motivate others to service. Exhortation exhibits itself in preaching, teaching, and ministry. Consider serving in counseling, small groups, or encouragement ministries.\",\r\n            \r\n            \"Shepherding\": \"The gift of shepherding is manifested in people who look out for the spiritual welfare of others. Although pastors, like shepherds, do care for members of the church, this gift is not limited to a pastor or staff member. Consider serving in small group leadership, mentoring, or pastoral care.\",\r\n            \r\n            \"Faith\": \"Faith trusts God to work beyond the human capabilities of the people. Believers with this gift encourage others to trust in God in the face of apparently insurmountable odds. Consider serving in prayer ministry, vision teams, or faith-building initiatives.\",\r\n            \r\n            \"Evangelism\": \"God gifts his church with evangelists to lead others to Christ effectively and enthusiastically. This gift builds up the body by adding new members to its fellowship. Consider serving in outreach, missions, evangelistic events, or community ministry.\",\r\n            \r\n            \"Apostleship\": \"The church sends apostles from the body to plant churches or be missionaries. Apostles motivate the body to look beyond its walls in order to carry out the Great Commission. Consider serving in church planting, missions, or cross-cultural ministry.\",\r\n            \r\n            \"Service\/Helps\": \"Those with the gift of service\/helps recognize practical needs in the body and joyfully give assistance to meeting those needs. Christians with this gift do not mind working behind the scenes. Consider serving in facilities, hospitality, setup\/teardown, or any hands-on ministry.\",\r\n            \r\n            \"Mercy\": \"Cheerful acts of compassion characterize those with the gift of mercy. Persons with this gift aid the body by empathizing with hurting members. They keep the body healthy and unified by keeping others aware of the needs within the church. Consider serving in care ministries, hospital visitation, or compassion outreach.\",\r\n            \r\n            \"Giving\": \"Members with the gift of giving give freely and joyfully to the work and mission of the body. Cheerfulness and liberality are characteristics of individuals with this gift. Consider supporting missions, ministry funding, benevolence, or capital campaigns.\",\r\n            \r\n            \"Hospitality\": \"Those with this gift make visitors, guests, and strangers feel at ease. They often use their home to entertain guests. Persons with this gift integrate new members into the body. Consider serving in guest services, home groups, visitor ministry, or welcoming teams.\"\r\n        }\r\n    };\r\n\r\n    let currentQuestion = 0;\r\n    let answers = {};\r\n    let userInfo = {};\r\n\r\n    function submitUserInfo() {\r\n        const firstName = document.getElementById('firstName').value.trim();\r\n        const lastName = document.getElementById('lastName').value.trim();\r\n        const email = document.getElementById('email').value.trim();\r\n        \r\n        if (!firstName || !lastName || !email) {\r\n            alert('Please fill in all required fields.');\r\n            return;\r\n        }\r\n        \r\n        const emailPattern = \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/;\r\n        if (!emailPattern.test(email)) {\r\n            alert('Please enter a valid email address.');\r\n            return;\r\n        }\r\n        \r\n        userInfo = {\r\n            firstName: firstName,\r\n            lastName: lastName,\r\n            email: email\r\n        };\r\n        \r\n        document.getElementById('user-info').style.display = 'none';\r\n        document.getElementById('quiz-intro').style.display = 'block';\r\n    }\r\n\r\n    function startQuiz() {\r\n        document.getElementById('quiz-intro').style.display = 'none';\r\n        document.getElementById('quiz-questions').style.display = 'block';\r\n        showQuestion();\r\n    }\r\n\r\n    function showQuestion() {\r\n        const questionsPerPage = 20;\r\n        const startIdx = currentQuestion;\r\n        const endIdx = Math.min(startIdx + questionsPerPage, quizData.questions.length);\r\n        const container = document.getElementById('question-container');\r\n        \r\n        const currentPage = Math.floor(currentQuestion \/ questionsPerPage) + 1;\r\n        const totalPages = Math.ceil(quizData.questions.length \/ questionsPerPage);\r\n        \r\n        let html = `<div style=\"margin-bottom: 25px; padding: 15px; background: #e8f4f8; border-radius: 5px;\">\r\n            <p style=\"margin: 0; font-size: 16px; font-weight: bold; color: #2c3e50;\">Page ${currentPage} of ${totalPages}<\/p>\r\n            <p style=\"margin: 5px 0 0 0; font-size: 14px; color: #7f8c8d;\">Questions ${startIdx + 1} - ${endIdx}<\/p>\r\n        <\/div>`;\r\n        \r\n        for (let i = startIdx; i < endIdx; i++) {\r\n            const question = quizData.questions[i];\r\n            const savedAnswer = answers[i] || 0;\r\n            \r\n            html += `\r\n                <div style=\"margin-bottom: 30px; padding-bottom: 25px; ${i < endIdx - 1 ? 'border-bottom: 1px solid #e0e0e0;' : ''}\">\r\n                    <p style=\"font-size: 14px; color: #1a1a1a; margin-bottom: 8px; font-weight: 600;\">\r\n                        ${i + 1}. \r\n                    <\/p>\r\n                    <h3 style=\"font-size: 17px; color: #1a1a1a; margin-bottom: 18px; line-height: 1.5; font-weight: 500;\">\r\n                        ${question.text}\r\n                    <\/h3>\r\n                    <div style=\"display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;\">\r\n                        <span style=\"font-size: 12px; color: #333333; min-width: 90px; max-width: 120px; line-height: 1.2; font-weight: 500;\">Not at all<\/span>\r\n                        <div style=\"display: flex; gap: 12px; flex: 1; justify-content: center;\">\r\n                            ${[1, 2, 3, 4, 5].map(value => `\r\n                                <label style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px;\">\r\n                                    <input type=\"radio\" name=\"answer_${i}\" value=\"${value}\" \r\n                                        ${savedAnswer === value ? 'checked' : ''}\r\n                                        onchange=\"saveAnswer(${i}, ${value})\"\r\n                                        style=\"cursor: pointer; width: 18px; height: 18px;\">\r\n                                    <span style=\"font-size: 14px; color: #1a1a1a; font-weight: 600;\">${value}<\/span>\r\n                                <\/label>\r\n                            `).join('')}\r\n                        <\/div>\r\n                        <span style=\"font-size: 12px; color: #333333; min-width: 90px; max-width: 120px; text-align: right; line-height: 1.2; font-weight: 500;\">Highly<\/span>\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n        }\r\n        \r\n        container.innerHTML = html;\r\n        updateProgress();\r\n        updateButtons();\r\n    }\r\n\r\n    function saveAnswer(questionIndex, value) {\r\n        answers[questionIndex] = value;\r\n    }\r\n\r\n    function nextQuestion() {\r\n        const questionsPerPage = 20;\r\n        const startIdx = currentQuestion;\r\n        const endIdx = Math.min(startIdx + questionsPerPage, quizData.questions.length);\r\n        \r\n        \/\/ Check if all questions on current page are answered\r\n        for (let i = startIdx; i < endIdx; i++) {\r\n            if (answers[i] === undefined) {\r\n                alert('Please answer all questions on this page before continuing.');\r\n                return;\r\n            }\r\n        }\r\n        \r\n        if (currentQuestion + questionsPerPage < quizData.questions.length) {\r\n            currentQuestion += questionsPerPage;\r\n            showQuestion();\r\n            window.scrollTo({ top: 0, behavior: 'smooth' });\r\n        } else {\r\n            showResults();\r\n        }\r\n    }\r\n\r\n    function prevQuestion() {\r\n        const questionsPerPage = 20;\r\n        if (currentQuestion >= questionsPerPage) {\r\n            currentQuestion -= questionsPerPage;\r\n            showQuestion();\r\n            window.scrollTo({ top: 0, behavior: 'smooth' });\r\n        }\r\n    }\r\n\r\n    function updateProgress() {\r\n        const questionsPerPage = 20;\r\n        const endIdx = Math.min(currentQuestion + questionsPerPage, quizData.questions.length);\r\n        const progress = (endIdx \/ quizData.questions.length) * 100;\r\n        document.getElementById('progress-fill').style.width = progress + '%';\r\n    }\r\n\r\n    function updateButtons() {\r\n        const questionsPerPage = 20;\r\n        const prevBtn = document.getElementById('prev-btn');\r\n        const nextBtn = document.getElementById('next-btn');\r\n        \r\n        prevBtn.style.display = currentQuestion > 0 ? 'block' : 'none';\r\n        \r\n        const isLastPage = currentQuestion + questionsPerPage >= quizData.questions.length;\r\n        nextBtn.textContent = isLastPage ? 'See Results' : 'Next Page';\r\n    }\r\n\r\n    function showResults() {\r\n        \/\/ Calculate scores for each gift (max 25 points per gift: 5 questions x 5 points each)\r\n        const giftScores = {};\r\n        \r\n        quizData.questions.forEach((question, index) => {\r\n            const gift = question.gift;\r\n            const score = answers[index] || 0;\r\n            \r\n            if (!giftScores[gift]) {\r\n                giftScores[gift] = { total: 0, count: 0 };\r\n            }\r\n            \r\n            giftScores[gift].total += score;\r\n            giftScores[gift].count++;\r\n        });\r\n        \r\n        \/\/ Sort by total score (each gift should have exactly 5 questions)\r\n        const giftTotals = Object.keys(giftScores).map(gift => ({\r\n            name: gift,\r\n            total: giftScores[gift].total,\r\n            count: giftScores[gift].count\r\n        })).sort((a, b) => b.total - a.total);\r\n        \r\n        \/\/ Display results\r\n        const resultsContent = document.getElementById('results-content');\r\n        let html = '<div style=\"margin-bottom: 30px;\">';\r\n        html += '<p style=\"font-size: 16px; margin-bottom: 25px;\">Your spiritual gifts profile is shown below. The gifts with the highest scores are the ones you appear to be strongest in. These are the gifts God has given you to serve His church and fulfill His mission.<\/p>';\r\n        \r\n        \/\/ Show ALL gifts with their scores (matching LifeWay format)\r\n        giftTotals.forEach((gift, index) => {\r\n            const maxScore = 25;\r\n            const percentage = (gift.total \/ maxScore) * 100;\r\n            const isTopGift = index < 3;\r\n            \r\n            html += `\r\n                <div style=\"margin-bottom: 20px; padding: ${isTopGift ? '20px' : '15px'}; background: ${isTopGift ? '#e8f4f8' : '#f8f9fa'}; border-radius: 8px; border-left: 4px solid ${isTopGift ? '#3498db' : '#bdc3c7'};\">\r\n                    <div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;\">\r\n                        <h3 style=\"margin: 0; color: #2c3e50; font-size: ${isTopGift ? '18px' : '16px'}; font-weight: ${isTopGift ? 'bold' : 'normal'};\">\r\n                            ${isTopGift ? '\u2b50 ' : ''}${gift.name}\r\n                        <\/h3>\r\n                        <span style=\"font-weight: bold; color: ${isTopGift ? '#3498db' : '#7f8c8d'}; font-size: ${isTopGift ? '18px' : '16px'};\">\r\n                            ${gift.total}\/25\r\n                        <\/span>\r\n                    <\/div>\r\n                    <div style=\"width: 100%; background: #ecf0f1; height: ${isTopGift ? '10px' : '8px'}; border-radius: 4px; margin-bottom: ${isTopGift ? '12px' : '0'}; overflow: hidden;\">\r\n                        <div style=\"width: ${percentage}%; height: 100%; background: ${isTopGift ? '#3498db' : '#95a5a6'};\"><\/div>\r\n                    <\/div>\r\n                    ${isTopGift ? `<p style=\"margin: 0; font-size: 14px; line-height: 1.6; color: #34495e;\">\r\n                        ${quizData.giftDescriptions[gift.name]}\r\n                    <\/p>` : ''}\r\n                <\/div>\r\n            `;\r\n        });\r\n        \r\n        html += '<\/div>';\r\n        html += `\r\n            <div style=\"background: #d4edda; border: 1px solid #28a745; border-radius: 8px; padding: 20px; margin-top: 30px;\">\r\n                <h4 style=\"margin-top: 0; color: #155724;\">Understanding Your Results<\/h4>\r\n                <p style=\"margin-bottom: 10px; color: #155724;\">Your top 3 gifts (marked with \u2b50) are highlighted above with detailed descriptions. These are the primary ways God has equipped you to serve.<\/p>\r\n                <p style=\"margin-bottom: 0; color: #155724;\"><strong>Scores of 20-25:<\/strong> You demonstrate strong giftedness in this area<br>\r\n                <strong>Scores of 15-19:<\/strong> You show moderate giftedness<br>\r\n                <strong>Scores of 10-14:<\/strong> You have some ability in this area<br>\r\n                <strong>Scores below 10:<\/strong> This may not be a primary gift for you<\/p>\r\n            <\/div>\r\n            \r\n            <div style=\"background: #fff3cd; border: 1px solid #ffc107; border-radius: 8px; padding: 20px; margin-top: 20px;\">\r\n                <h4 style=\"margin-top: 0; color: #856404;\">Next Steps<\/h4>\r\n                <p style=\"margin-bottom: 10px; color: #856404;\">After prayer and worship, consider how God wants you to use your spiritual gifts:<\/p>\r\n                <ul style=\"color: #856404; line-height: 1.8; margin-bottom: 15px;\">\r\n                    <li>Pray about how God wants you to use these gifts<\/li>\r\n                    <li>Talk to a ministry leader about serving opportunities that align with your gifts<\/li>\r\n                    <li>Look for ways to develop and use your gifts in ministry<\/li>\r\n                    <li>Consider joining a ministry team that matches your top gifts<\/li>\r\n                    <li>Ask God to help you know how He has gifted you for service<\/li>\r\n                <\/ul>\r\n                <p style=\"margin-top: 15px; margin-bottom: 0; font-size: 12px; color: #856404; font-style: italic;\">\r\n                    \u00a9 LifeWay Christian Resources. Spiritual Gifts Assessment adapted with permission.\r\n                <\/p>\r\n            <\/div>\r\n        `;\r\n        \r\n        resultsContent.innerHTML = html;\r\n        \r\n        document.getElementById('quiz-questions').style.display = 'none';\r\n        document.getElementById('quiz-results').style.display = 'block';\r\n        \r\n        \/\/ Send results via email\r\n        sendResultsByEmail(giftTotals);\r\n    }\r\n\r\n    function sendResultsByEmail(giftTotals) {\r\n        \/\/ Check if AJAX variables are available\r\n        if (typeof spiritual_gifts_ajax === 'undefined') {\r\n            console.error('AJAX variables not loaded. Email functionality disabled.');\r\n            return;\r\n        }\r\n        \r\n        console.log('Sending email with data:', {\r\n            userInfo: userInfo,\r\n            results: giftTotals\r\n        });\r\n        \r\n        const emailData = new FormData();\r\n        emailData.append('action', 'send_spiritual_gifts_results');\r\n        emailData.append('nonce', spiritual_gifts_ajax.nonce);\r\n        emailData.append('userInfo', JSON.stringify(userInfo));\r\n        emailData.append('results', JSON.stringify(giftTotals));\r\n        emailData.append('adminEmails', JSON.stringify(['jon@turningpointmiami.com', 'noel@turningpointmiami.com']));\r\n        \r\n        fetch(spiritual_gifts_ajax.ajax_url, {\r\n            method: 'POST',\r\n            body: emailData\r\n        })\r\n        .then(response => {\r\n            console.log('Email response status:', response.status);\r\n            return response.json();\r\n        })\r\n        .then(data => {\r\n            console.log('Email response:', data);\r\n            if (data.success) {\r\n                console.log('\u2705 Results emailed successfully');\r\n                \/\/ Optionally show success message to user\r\n                showEmailStatus('Your results have been sent to your email address.', 'success');\r\n            } else {\r\n                console.error('\u274c Email sending failed:', data.data);\r\n                showEmailStatus('There was an issue sending your results. Please contact support.', 'error');\r\n            }\r\n        })\r\n        .catch(error => {\r\n            console.error('\u274c Error sending email:', error);\r\n            showEmailStatus('There was a technical issue. Please try again later.', 'error');\r\n        });\r\n    }\r\n    \r\n    function showEmailStatus(message, type) {\r\n        const statusDiv = document.createElement('div');\r\n        statusDiv.style.cssText = `\r\n            position: fixed;\r\n            top: 20px;\r\n            right: 20px;\r\n            padding: 15px 20px;\r\n            border-radius: 5px;\r\n            color: white;\r\n            font-weight: bold;\r\n            z-index: 10000;\r\n            background: ${type === 'success' ? '#28a745' : '#dc3545'};\r\n        `;\r\n        statusDiv.textContent = message;\r\n        document.body.appendChild(statusDiv);\r\n        \r\n        setTimeout(() => {\r\n            document.body.removeChild(statusDiv);\r\n        }, 5000);\r\n    }\r\n\r\n    function restartQuiz() {\r\n        currentQuestion = 0;\r\n        answers = {};\r\n        userInfo = {};\r\n        document.getElementById('quiz-results').style.display = 'none';\r\n        document.getElementById('user-info').style.display = 'block';\r\n    }\r\n    <\/script>\r\n\r\n    <style>\r\n    .spiritual-gift-quiz-container button:hover {\r\n        opacity: 0.9;\r\n        transform: translateY(-1px);\r\n        transition: all 0.2s;\r\n    }\r\n    \r\n    .spiritual-gift-quiz-container input[type=\"radio\"]:checked {\r\n        accent-color: #3498db;\r\n    }\r\n    \r\n    @media (max-width: 768px) {\r\n        .spiritual-gift-quiz-container {\r\n            padding: 15px;\r\n        }\r\n        \r\n        .spiritual-gift-quiz-container h2 {\r\n            font-size: 24px;\r\n        }\r\n        \r\n        .spiritual-gift-quiz-container h3 {\r\n            font-size: 18px;\r\n        }\r\n        \r\n        #user-info-form div[style*=\"grid-template-columns\"] {\r\n            grid-template-columns: 1fr !important;\r\n        }\r\n    }\r\n    <\/style>\r\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-845923e elementor-widget elementor-widget-shortcode\" data-id=\"845923e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <div id=\"bible-tooltip-app\" data-language=\"en\" data-auto-detect=\"true\">\r\n        <!-- Bible tooltips are initialized by JavaScript -->\r\n    <\/div>\r\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2139","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/turningpointmiami.com\/en\/wp-json\/wp\/v2\/pages\/2139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/turningpointmiami.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/turningpointmiami.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/turningpointmiami.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/turningpointmiami.com\/en\/wp-json\/wp\/v2\/comments?post=2139"}],"version-history":[{"count":10,"href":"https:\/\/turningpointmiami.com\/en\/wp-json\/wp\/v2\/pages\/2139\/revisions"}],"predecessor-version":[{"id":2156,"href":"https:\/\/turningpointmiami.com\/en\/wp-json\/wp\/v2\/pages\/2139\/revisions\/2156"}],"wp:attachment":[{"href":"https:\/\/turningpointmiami.com\/en\/wp-json\/wp\/v2\/media?parent=2139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}