{"id":2717,"date":"2024-01-17T13:13:28","date_gmt":"2024-01-17T13:13:28","guid":{"rendered":"https:\/\/talents2germany.de\/ag\/?page_id=2717"},"modified":"2025-05-08T21:17:01","modified_gmt":"2025-05-08T20:17:01","slug":"candidate-assessment","status":"publish","type":"page","link":"https:\/\/talents2germany.de\/ag\/en\/candidate-assessment\/","title":{"rendered":"Candidate assesement-video landing page"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2717\" class=\"elementor elementor-2717\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a4746c1 e-con-full e-flex e-con e-parent\" data-id=\"a4746c1\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;,&quot;background_background&quot;:&quot;classic&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t<div class=\"elementor-element elementor-element-00a008c elementor-widget elementor-widget-heading\" data-id=\"00a008c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.18.0 - 08-12-2023 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h2 class=\"elementor-heading-title elementor-size-default\">Tech Triumph: Talents2Germany<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-63b6b98 elementor-widget elementor-widget-image\" data-id=\"63b6b98\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.18.0 - 08-12-2023 *\/\n.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=\".svg\"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}<\/style>\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"137\" src=\"https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Team-1-1024x137.png\" class=\"attachment-large size-large wp-image-15901\" alt=\"\" srcset=\"https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Team-1-1024x137.png 1024w, https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Team-1-300x40.png 300w, https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Team-1-768x103.png 768w, https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Team-1-1536x206.png 1536w, https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Team-1.png 1804w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c2f5034 elementor-widget elementor-widget-text-editor\" data-id=\"c2f5034\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.18.0 - 08-12-2023 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<h5 style=\"text-align: center;\"><span style=\"color: #ffffff;\">Elevate your career in Germany!<\/span><\/h5>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-957fda6 e-flex e-con-boxed e-con e-parent\" data-id=\"957fda6\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;content_width&quot;:&quot;boxed&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-bfb5469 e-con-full e-flex e-con e-child\" data-id=\"bfb5469\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8a0c234 elementor-widget elementor-widget-video\" data-id=\"8a0c234\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/youtu.be\\\/nKKA8GdErxA&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.18.0 - 08-12-2023 *\/\n.elementor-widget-video .elementor-widget-container{overflow:hidden;transform:translateZ(0)}.elementor-widget-video .elementor-wrapper{aspect-ratio:var(--video-aspect-ratio)}.elementor-widget-video .elementor-wrapper iframe,.elementor-widget-video .elementor-wrapper video{height:100%;width:100%;display:flex;border:none;background-color:#000}@supports not (aspect-ratio:1\/1){.elementor-widget-video .elementor-wrapper{position:relative;overflow:hidden;height:0;padding-bottom:calc(100% \/ var(--video-aspect-ratio))}.elementor-widget-video .elementor-wrapper iframe,.elementor-widget-video .elementor-wrapper video{position:absolute;top:0;right:0;bottom:0;left:0}}.elementor-widget-video .elementor-open-inline .elementor-custom-embed-image-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:50%}.elementor-widget-video .elementor-custom-embed-image-overlay{cursor:pointer;text-align:center}.elementor-widget-video .elementor-custom-embed-image-overlay:hover .elementor-custom-embed-play i{opacity:1}.elementor-widget-video .elementor-custom-embed-image-overlay img{display:block;width:100%;aspect-ratio:var(--video-aspect-ratio);-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center}@supports not (aspect-ratio:1\/1){.elementor-widget-video .elementor-custom-embed-image-overlay{position:relative;overflow:hidden;height:0;padding-bottom:calc(100% \/ var(--video-aspect-ratio))}.elementor-widget-video .elementor-custom-embed-image-overlay img{position:absolute;top:0;right:0;bottom:0;left:0}}.elementor-widget-video .e-hosted-video .elementor-video{-o-object-fit:cover;object-fit:cover}.e-con-inner>.elementor-widget-video,.e-con>.elementor-widget-video{width:var(--container-widget-width);--flex-grow:var(--container-widget-flex-grow)}<\/style>\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-59a52cd e-con-full e-flex e-con e-child\" data-id=\"59a52cd\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-dc282c1 elementor-widget elementor-widget-heading\" data-id=\"dc282c1\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Get a job in Germany Successfully<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-55b293a elementor-widget elementor-widget-text-editor\" data-id=\"55b293a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>What visa types are available? What are the chances for software engineers in Germany? How does my competition look like? How can I get ahead of my competition? What support can I receive? This any many more are touched upon in this video.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-af03c9f e-flex e-con-boxed e-con e-parent\" data-id=\"af03c9f\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;content_width&quot;:&quot;boxed&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-0660895 e-con-full e-flex e-con e-child\" data-id=\"0660895\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0553675 elementor-widget elementor-widget-heading\" data-id=\"0553675\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Story of Mahbod<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-57a8e8a elementor-widget elementor-widget-text-editor\" data-id=\"57a8e8a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Meet Mahbod in our inspiring video journey! 300 applications and only 1 interview before we were able to help him. Witness how Mahbod not only secures a job but also fulfills his dream of migrating from Iran to Germany. It\u2019s a testament to the impactful opportunities we can create for professionals like Mahbod in the pursuit of a successful career growth and a new beginning. Maybe your story will show here next?<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-87b0e9a e-con-full e-flex e-con e-child\" data-id=\"87b0e9a\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1201378 elementor-widget elementor-widget-video\" data-id=\"1201378\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/youtu.be\\\/eOMvEpgtF5k&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b7dd7f4 e-flex e-con-boxed e-con e-parent\" data-id=\"b7dd7f4\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;boxed&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-924c9a4 elementor-widget elementor-widget-spacer\" data-id=\"924c9a4\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.18.0 - 08-12-2023 *\/\n.elementor-column .elementor-spacer-inner{height:var(--spacer-size)}.e-con{--container-widget-width:100%}.e-con-inner>.elementor-widget-spacer,.e-con>.elementor-widget-spacer{width:var(--container-widget-width,var(--spacer-size));--align-self:var(--container-widget-align-self,initial);--flex-shrink:0}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container,.e-con>.elementor-widget-spacer>.elementor-widget-container{height:100%;width:100%}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer,.e-con>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer{height:100%}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner,.e-con>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner{height:var(--container-widget-height,var(--spacer-size))}.e-con-inner>.elementor-widget-spacer.elementor-widget-empty,.e-con>.elementor-widget-spacer.elementor-widget-empty{position:relative;min-height:22px;min-width:22px}.e-con-inner>.elementor-widget-spacer.elementor-widget-empty .elementor-widget-empty-icon,.e-con>.elementor-widget-spacer.elementor-widget-empty .elementor-widget-empty-icon{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;padding:0;width:22px;height:22px}<\/style>\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-9e688cc e-con-full e-flex e-con e-parent\" data-id=\"9e688cc\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e983903 elementor-widget elementor-widget-image\" data-id=\"e983903\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1181\" height=\"118\" src=\"https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Quiz-BG-1.jpg\" class=\"attachment-full size-full wp-image-15907\" alt=\"\" srcset=\"https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Quiz-BG-1.jpg 1181w, https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Quiz-BG-1-300x30.jpg 300w, https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Quiz-BG-1-1024x102.jpg 1024w, https:\/\/talents2germany.de\/ag\/wp-content\/uploads\/sites\/2\/2025\/05\/Quiz-BG-1-768x77.jpg 768w\" sizes=\"(max-width: 1181px) 100vw, 1181px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cf75577 elementor-widget__width-inherit elementor-widget elementor-widget-text-editor\" data-id=\"cf75577\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><span style=\"background-color: #ffffff;\"><span style=\"letter-spacing: -0.1px; word-spacing: 6px; -webkit-text-stroke-color: #000000; white-space-collapse: preserve;\"><strong>Make sure, you have watched the videos before you attempt the quiz.<\/strong> You can take the quiz only 2 times. This will give us higher level of confidence that you are a strong performer. The quality filtering is what German employers need from us.<\/span><br \/><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0262084 elementor-widget__width-inherit elementor-widget elementor-widget-html\" data-id=\"0262084\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Candidate's Assesment<\/title>\n    <style>\n        body {\n            font-family: Arial, sans-serif;\n            background-color: #f2f2f2;\n        }\n        .quiz-container {\n            background-color: #fff;\n            max-width: 600px;\n            margin: 0 auto;\n            padding: 20px;\n            border-radius: 10px;\n            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);\n        }\n        h1 {\n            text-align: center;\n        }\n        .question {\n            margin-bottom: 5px;\n           \n        }\n        input[type=checkbox]:checked + label:before {\n            background-color: #1362A1 !important;\n            color: #ffffff !important;\n          }\n          input[type='checkbox']:checked + label:after {\n            background-color: #1362A1 !important;\n            color: #ffffff !important;\n        }\n        .submit_button {\n            color: #f2f2f2;\n            font-size: 15px;\n            padding: 16px 50px;\n            background-image: linear-gradient(to right, #C41f69 , #404040);\n            border-radius: 50px;\n            font-weight: 700;\n            letter-spacing: 0.02em;\n            line-height: 1;\n            margin-bottom: 0;\n            text-align: center;\n            text-transform: uppercase;\n            touch-action: manipulation;\n            transition: all 0.3s ease 0s;\n            vertical-align: middle;\n            white-space: nowrap;\n            border: 0;\n            position: relative;\n            z-index: 1;\n        }\n        .sub_button {\n            color: #f2f2f2;\n            font-size: 15px;\n            padding: 10px 20px;\n            background-image: linear-gradient(to right, #C41f69 , #404040);\n            border-radius: 10px;\n            font-weight: 700;\n            letter-spacing: 0.02em;\n            line-height: 1;\n            margin-bottom: 0;\n            text-align: center;\n            text-transform: uppercase;\n            touch-action: manipulation;\n            transition: all 0.3s ease 0s;\n            vertical-align: middle;\n            white-space: nowrap;\n            border: 0;\n            position: relative;\n            z-index: 1;\n        }\n        .form-input {\n            display: flex;\n            align-items: center;\n            margin-bottom: 10px; \/* Add some margin to separate the fields *\/\n        }\n\n       .form-input label {\n              flex: 0; \/* Allow the label to grow and take available space *\/\n              margin-right: 10px; \/* Add some spacing between label and input *\/\n       }\n\n       .form-input input {\n              flex: 3; \/* Allow the input to grow and take available space *\/\n      }\n       \n        .bold-label {\n             font-weight: bold;\n       }\n\n        label {\n            color:#1362A1;\n            display: block; \/* Ensures each radio button is on a new line *\/\n               \/* Adjust the margin as needed to create space between options *\/\n}\n    <\/style>\n    <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@4.0.0\/dist\/css\/bootstrap.min.css\" integrity=\"sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW\/dAiS6JXm\" crossorigin=\"anonymous\">\n    <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/3.3.1\/jquery.min.js\"><\/script>\n    <script>\n        jQuery(document).ready(function(){\n            $(\"#dispQuiz\").hide();\n            $(\"#passQuiz\").hide();\n           \n            $(\"#btn1\").click(function (e) {\n                e.preventDefault();\n                $(\"#dispReady\").hide();\n                $(\"#dispQuiz\").show();\n                $(\"#passQuiz\").hide();\n            });\n            $(\"#btn2\").click(function (e) {\n                e.preventDefault();\n                $(\"#dispReady\").show();\n                $(\"#dispQuiz\").hide();\n                $(\"#passQuiz\").hide();\n                alert(\"Please watch the video again\");\n            });\n            const resultContainer = document.getElementById('result');\n            const messageElement = document.getElementById('message');\n            const scoreElement = document.getElementById('score');\n            const maxAttempts = 2;\n            let attempts = 0;\n            $(\"#submit\").click( function (event)\n            {\n                event.preventDefault(); \/\/ Prevent the form from submitting\n                const validRegex = \/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$\/;\n                const email = document.getElementById('emailAddress');\n                const name = document.getElementById('name'); \/\/ Add this line to capture the name\n                if (email.value.match(validRegex))\n                {\n                    if (checkEmpty())\n                    {\n                        let getAttempts = sessionStorage.getItem(\"Attempts\");\n                        let getEmail = sessionStorage.getItem(\"Email\");\n                        if ((email.value == getEmail) && (parseInt(getAttempts) >= maxAttempts)) {\n                            alert('You have exceeded the maximum allowed attempts.');\n                            email.value = '';\n                            return;\n                        }\n                        const q1 = ['B'];\n                        const q2 = ['B'];\n                        const q3 = ['D'];\n                        const q4 = ['A', 'C', 'D'];\n                        const q5 = ['A'];\n                        const q6 = ['B', 'C'];\n                        const q7 = ['A', 'B'];\n                        const q8 = ['B'];\n                        const q9 = ['B'];\n                        const q10 = ['A'];\n                        const q1Value = getSelectedValue('q1[]');\n                        const q2Value = getSelectedValue('q2[]');\n                        const q3Value = getSelectedValue('q3[]');\n                        const q4Value = getSelectedValue('q4[]');\n                        const q5Value = getSelectedValue('q5[]');\n                        const q6Value = getSelectedValue('q6[]');\n                        const q7Value = getSelectedValue('q7[]');\n                        const q8Value = getSelectedValue('q8[]');\n                        const q9Value = getSelectedValue('q9[]');\n                    \n                        \/\/ Check answers and calculate the score for each question\n                        const scoreQ1 = equalsCheck(q1Value,q1) ? 1 : 0;\n                        const scoreQ2 = equalsCheck(q2Value,q2) ? 1 : 0;\n                        const scoreQ3 = equalsCheck(q3Value,q3) ? 1 : 0;\n                        const q4CorrectCount = q4Value.filter(answer => q4.includes(answer)).length;\n                        const scoreQ4 = q4CorrectCount > 0 ? 0.3 * q4CorrectCount : 0;\n                        const scoreQ5 = equalsCheck(q5Value,q5) ? 1 : 0;\n                        const q6CorrectCount = q6Value.filter(answer => q6.includes(answer)).length;\n                        const scoreQ6 = q6CorrectCount > 0 ? 0.5 * q6CorrectCount : 0;\n                        \/\/const scoreQ6 = equalsCheck(q6Value,q6) ? 1 : 0;\n                        const q7CorrectCount = q7Value.filter(answer => q7.includes(answer)).length;\n                        const scoreQ7 = q7CorrectCount > 0 ? 0.5 * q7CorrectCount : 0;\n                        const scoreQ8 = equalsCheck(q8Value,q8) ? 1 : 0;\n                        const scoreQ9 = equalsCheck(q9Value,q9) ? 1 : 0;\n                        \n                        \/\/ Calculate the total score\n                        const totalScore = scoreQ1 + scoreQ2 + scoreQ3 + scoreQ4 + scoreQ5 + scoreQ6 + scoreQ7 + scoreQ8 + scoreQ9;\n                        \/\/ Calculate the percentage\n                        const percentage = (totalScore \/ 9) * 100;\n                        \/\/send the score to the google sheet\n                        \/\/ Display the result\n                        const grade = percentage.toFixed(0);\n                        attempts++;\n                        sessionStorage.setItem(\"Email\", email.value);\n                        \/\/get the email address entered compared to the one stored in the session\n                        sessionStorage.setItem(\"Attempts\", attempts++);\n                        sendResult(name.value,email.value,totalScore,percentage);\n                        if(parseInt(grade) >= 75)\n                        {\n                            $(\"#dispReady\").hide();\n                            $(\"#dispQuiz\").hide();\n                            $(\"#passQuiz\").show();\n   \n                        }\n                        else\n                        {\n                            messageElement.textContent = `You ${percentage >= 75 ? 'passed' : 'failed'} the quiz!`;\n                            scoreElement.textContent = `Score: ${totalScore} \/ 9 (${percentage.toFixed(0)}%)`;\n                            resultContainer.style.display = 'block';\n                            \/\/ Disable form after submission\n                            \/\/ Disable the form after submission\n                            document.querySelectorAll('#quiz-form input, #quiz-form textarea, #quiz-form select').forEach((element) =>\n                            {\n                                element.disabled = true;\n                            });\n                        }\n                    }\n                    else\n                    {\n                        alert('Please answer all the required questions before submitting.');\n                    }\n                }\n                else\n                 {\n                    alert('Please enter a valid email address');\n                    email.value = '';\n                }\n               \n            });\n        });\n    <\/script>\n<\/head>\n<body>\n    <div class=\"quiz-container\">\n        <form id=\"quiz-form\">\n            \n                <div class=\"question\">\n                    <label class=\"bold-label\" for=\"q1\">1. What is your main motivation for Migrating to Germany?<\/label>\n                    <div>\n                        <input type=\"checkbox\" name=\"q1[]\" value=\"A\" required> I don't have any particular motivation for Germany. A job anywhere is good enough as long as they pay me well.<br>\n                        <input type=\"checkbox\" name=\"q1[]\" value=\"B\" required> Personal growth in a technically challenging environment, better support, and a future for my family.\n                    <\/div>\n                <\/div>\n                <div class=\"question\">\n                    <label class=\"bold-label\" for=\"q2\">2. What is the responsibility of the candidate in our program?<\/label>\n                    <div>\n                        <input type=\"checkbox\" name=\"q2[]\" value=\"A\" required> None, it is okay to just look around and get an idea of opportunities coming my way.<br>\n                        <input type=\"checkbox\" name=\"q2[]\" value=\"B\" required> Always be prepared, on time, and make the best professional impression.\n                    <\/div>\n                <\/div>\n                <div class=\"question\">\n                    <label class=\"bold-label\" for=\"q3\">3. Which of the support is not included?\n                    <\/label>\n                    <div>\n                        <input type=\"checkbox\" name=\"q3[]\" value=\"A\" required>  Support with Visa.<br>\n                        <input type=\"checkbox\" name=\"q3[]\" value=\"B\" required>  Relocation upon arrival.<br>\n                        <input type=\"checkbox\" name=\"q3[]\" value=\"C\" required>  Connecting with employers.<br>\n                        <input type=\"checkbox\" name=\"q3[]\" value=\"D\" required>  Get job upfront then start learning.<br>\n                        <input type=\"checkbox\" name=\"q3[]\" value=\"E\" required>  German language learning.\n                    <\/div>\n                <\/div>\n                <div class=\"question\">\n                    <label class=\"bold-label\" for=\"q4\">4. Why do most non-EU applicants fail in their job applications in Germany? Choose multiple answers, which are CORRECT:<\/label>\n                    <div>\n                        <input type=\"checkbox\" name=\"q4[]\" value=\"A\" required> The moment a job offer is received, it is too late.<br>\n                        <input type=\"checkbox\" name=\"q4[]\" value=\"B\" required> They do not fail in getting a job in Germany; they succeed the same way Germans do.<br>\n                        <input type=\"checkbox\" name=\"q4[]\" value=\"C\" required> Not understanding that they can earn a premium compared to Germans, which requires premium ethics, mindset, and behavior.<br>\n                        <input type=\"checkbox\" name=\"q4[]\" value=\"D\" required> There is extremely high competition from many countries for a few English-speaking jobs.<br>\n\n                    <\/div>\n                <\/div>\n                <div class=\"question\">\n                    <label class=\"bold-label\" for=\"q5\">5. What is the motivation of German employers?<\/label>\n                    <div>\n                        <input type=\"checkbox\" name=\"q5[]\" value=\"A\" required> They need strong people.<br>\n                        <input type=\"checkbox\" name=\"q5[]\" value=\"B\" required> They want to save costs.\n                    <\/div>\n                <\/div>\n                <div class=\"question\">\n                    <label class=\"bold-label\" for=\"q6\">6. In what ways does Talents2Germany help Non-EU candidates? Choose multiple answers, which are CORRECT<\/label>\n                    <div>\n                            <input type=\"checkbox\" name=\"q6[]\" value=\"A\" required> None. Talents2Germany provides support only to EU job seekers to successfully obtain a job in Germany.<br>\n                            <input type=\"checkbox\" name=\"q6[]\" value=\"B\" required> Talents2Germany connects you with potential employers in Germany.<br>\n                            <input type=\"checkbox\" name=\"q6[]\" value=\"C\" required> Talents2Germany helps adjust your CV and presentation to the level German employers appreciate, and provides guidance through German language training, visa, and relocation upon arrival.\n                    <\/div>\n                <\/div>\n                <div class=\"question\">\n                    <label class=\"bold-label\" for=\"q7\">7. What are the difficulties faced by German employers when hiring non-EU candidates? Choose multiple answers, which are CORRECT<\/label>\n                    <div>\n                        <input type=\"checkbox\" name=\"q7[]\" value=\"A\" required> Additional overhead costs such as relocation, visa, cultural integration, and additional training.<br>\n                        <input type=\"checkbox\" name=\"q7[]\" value=\"B\" required> Additional risk, such as the candidate not being able to make it on time for the first workday.<br>\n                        <input type=\"checkbox\" name=\"q7[]\" value=\"C\" required> There is no difficulty in hiring non-EU candidates; they are saving costs on cheap labor from other countries.<br>\n                    <\/div>\n                <\/div>\n                <div class=\"question\">\n                            <label class=\"bold-label\" for=\"q8\">8. Learning the German language is crucial for employment in Germany. Despite this, what percentage of job opportunities are available for English speakers in Germany?<\/label>\n                            <div>\n                                <input type=\"checkbox\" name=\"q8[]\" value=\"A\" required> 15%<br>\n                                <input type=\"checkbox\" name=\"q8[]\" value=\"B\" required> 5%<br>\n                                <input type=\"checkbox\" name=\"q8[]\" value=\"C\" required> Equal to the number of job opportunities for German speakers.<br>\n                            <\/div>\n                <\/div>\n                <div class=\"question\">\n                                <label class=\"bold-label\" for=\"q9\">9. How do you think you will get a job in Germany?<\/label>\n                                <div>\n                                    <input type=\"checkbox\" name=\"q9[]\" value=\"A\" required> I don't have to worry about anything. Talents2Germany will do everything for me.<br>\n                                    <input type=\"checkbox\" name=\"q9[]\" value=\"B\" required> Talents2Germany will assist me in connecting with employers and I will need to showcase my skills and pass the technical assessments to secure the job.<br>\n                                    <input type=\"checkbox\" name=\"q9[]\" value=\"C\" required> By possessing strong technical skills, even without knowing the German language.\n                                <\/div>\n                <\/div> \n                \n                <div class=\"question\" style=\"padding-top:10px;\">\n                    <div class=\"form-group\">\n                        <div class=\"form-input\">\n                            <label for=\"name\">Name:<\/label>\n                            <input type=\"text\" class=\"form-control\" id=\"name\"  placeholder=\"Enter Your Name\" required>                                    \n                        <\/div>\n                        <div class=\"form-input\">\n                            <label for=\"emailAddress\">Email:<\/label>\n                            <input type=\"email\" class=\"form-control\" id=\"emailAddress\"  placeholder=\"Enter Your Email Address\" required>                                    \n                        <\/div>\n                    <\/div>\n                <\/div>\n                <p> Please ensure you have watched the videos. You have max 2 attempts before being blocked. Future employers will equally expect understanding without multiple rounds of re-iteration. GOOD LUCK!<\/p>\n                           \n                <div id=\"result\" style=\"display: none;\">\n                                <p id=\"message\"><\/p>\n                                <p id=\"score\"><\/p>\n                <\/div>\n                <div style=\"text-align:center;\">\n                    <button class=\"submit_button\" type=\"button\" id=\"submit\">Submit<\/button>\n                <\/div>\n            <\/div>\n                        <div id=\"passQuiz\">\n                            <iframe class=\"clickup-embed clickup-dynamic-height\" src=\"https:\/\/forms.clickup.com\/2448029\/f\/2apmx-11944\/FND0LIW2D6UHV7PFZE\" onwheel=\"\" width=\"100%\" height=\"100%\" style=\"background: transparent; border: 1px solid #ccc;\"><\/iframe><script async src=\"https:\/\/app-cdn.clickup.com\/assets\/js\/forms-embed\/v1.js\"><\/script>\n                        <\/div>\n                           \n        <\/form>\n    <\/div>\n\n    <script>\n        function checkEmpty() {\n            const q1Value = getSelectedValue('q1[]');\n            const q2Value = getSelectedValue('q2[]');\n            const q3Value = getSelectedValue('q3[]');\n            const q4Value = getSelectedValue('q4[]');\n            const q5Value = getSelectedValue('q5[]');\n            const q6Value = getSelectedValue('q6[]');\n            const q7Value = getSelectedValue('q7[]');\n            const q8Value = getSelectedValue('q8[]');\n            const q9Value = getSelectedValue('q9[]');\n            if((q1Value.length !== 0) && (q2Value.length !== 0) && (q3Value.length !== 0) && (q4Value.length !== 0) && (q5Value.length !== 0) && (q6Value.length !==0) && (q7Value.length !==0) && (q8Value.length !==0) && (q9Value.length !== 0))\n            {\n                return true;\n            }\n            else\n            {\n                return false;\n            }\n        }\n        function getSelectedValue(questionName) {\n            let arr = [];\n            const options = document.getElementsByName(questionName);\n            for (let i = 0; i < options.length; i++) {\n                if (options[i].checked) {\n                    arr.push(options[i].value);\n                }\n            }\n            return arr;\n        }\n        const equalsCheck = (a, b) => {\n            \/\/ If they point to the same instance of the array\n            if (a === b)\n                return true;\n       \n            \/\/ If they point to the same instance of date\n            if (a instanceof Date && b instanceof Date)\n                return a.getTime() === b.getTime();\n       \n            \/\/ If both of them are not null and their type is not an object\n            if (!a || !b || (typeof a !== 'object' && typeof b !== 'object'))\n                return a === b;\n           \n            \/\/ This means the elements are objects\n            \/\/ If they are not the same type of objects\n            if (a.prototype !== b.prototype)\n                return false;\n       \n            \/\/ Check if both of the objects have the same number of keys\n            const keys = Object.keys(a);\n            if (keys.length !== Object.keys(b).length)\n                return false;\n       \n            \/\/ Check recursively for every key in both\n            return keys.every(k => equalsCheck(a[k], b[k]));\n        };\n        function currentDate()\n        {\n            \/\/ Date object\n            const date = new Date();\n            let currentDay= String(date.getDate()).padStart(2, '0');\n            let currentMonth = String(date.getMonth()+1).padStart(2,\"0\");\n            let currentYear = date.getFullYear();\n            \/\/ we will display the date as DD-MM-YYYY\n            let currentDate = `${currentDay}-${currentMonth}-${currentYear}`;\n            return currentDate;\n        }\n        async function sendResult(name,email,score,percentage) {\n            const scriptUrl = 'https:\/\/script.google.com\/macros\/s\/AKfycby5bmzK5VJLwohj09mk8Wg-fi5T5DSU--DvZG7ys7_dp_C8CBPKHWV4wEKt7GqVyheZig\/exec';\n            const newEmail = email;\n            const newScore = score;\n            const newPercentage = percentage;\n            const newDate = currentDate();\n            const URL = \"C:https:\/\/talents2germany.de\/candidate-assessment\/ \";\n            const formData = new FormData();\n            formData.append('name', name); \/\/ Append the name to the form data\n            formData.append('email', newEmail);\n            formData.append('score', newScore);\n            formData.append('percentage', newPercentage.toFixed(0));\n            formData.append('date', newDate);\n            formData.append('URL', URL);\n            var headers = {}\n            try {\n                const res = await fetch(\n                    scriptUrl,\n                  {\n                    method: \"POST\",\n                    crossorigin: true,    \n                    mode: \"cors\",\n                    headers: headers,\n                    body: formData,\n                  },\n                );\n                const resData = await res.json();\n                console.log(resData);\n              } catch (err) {\n                console.log(err.message);\n              }\n        }\n       \n    <\/script>\n<\/body>\n<\/html>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-f3eb387 e-flex e-con-boxed e-con e-child\" data-id=\"f3eb387\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;boxed&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Tech Triumph: Talents2Germany Elevate your career in Germany! https:\/\/youtu.be\/nKKA8GdErxA How to Get a job in Germany Successfully What visa types are available? What are the chances for software engineers in Germany? How does my competition look like? How can I get ahead of my competition? What support can I receive? This any many more are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"blocksy_meta":[],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/talents2germany.de\/ag\/wp-json\/wp\/v2\/pages\/2717"}],"collection":[{"href":"https:\/\/talents2germany.de\/ag\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/talents2germany.de\/ag\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/talents2germany.de\/ag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/talents2germany.de\/ag\/wp-json\/wp\/v2\/comments?post=2717"}],"version-history":[{"count":3,"href":"https:\/\/talents2germany.de\/ag\/wp-json\/wp\/v2\/pages\/2717\/revisions"}],"predecessor-version":[{"id":15910,"href":"https:\/\/talents2germany.de\/ag\/wp-json\/wp\/v2\/pages\/2717\/revisions\/15910"}],"wp:attachment":[{"href":"https:\/\/talents2germany.de\/ag\/wp-json\/wp\/v2\/media?parent=2717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}