Warning: Uninitialized string offset 0 in /home4/debocasa/fortysite.com/wp-includes/class-wp-date-query.php on line 1

Warning: Uninitialized string offset 0 in /home4/debocasa/fortysite.com/wp-includes/class-wp-date-query.php on line 1

Warning: Uninitialized string offset 0 in /home4/debocasa/fortysite.com/wp-includes/template.php on line 1

Warning: Uninitialized string offset 0 in /home4/debocasa/fortysite.com/wp-includes/template.php on line 1

Warning: Uninitialized string offset 0 in /home4/debocasa/fortysite.com/wp-includes/class-wp-term-query.php on line 1

Warning: Uninitialized string offset 0 in /home4/debocasa/fortysite.com/wp-includes/class-wp-term-query.php on line 1

Warning: Uninitialized string offset 0 in /home4/debocasa/fortysite.com/wp-includes/rest-api/endpoints/class-wp-rest-controller.php on line 1

Warning: Uninitialized string offset 0 in /home4/debocasa/fortysite.com/wp-includes/rest-api/endpoints/class-wp-rest-controller.php on line 1

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ga-google-analytics domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home4/debocasa/fortysite.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the head-footer-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home4/debocasa/fortysite.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the insert-headers-and-footers domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home4/debocasa/fortysite.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpforms-lite domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home4/debocasa/fortysite.com/wp-includes/functions.php on line 6114

Notice: La función _load_textdomain_just_in_time ha sido llamada de forma incorrecta. La carga de la traducción para el dominio astra se activó demasiado pronto. Esto suele ser un indicador de que algún código del plugin o tema se ejecuta demasiado pronto. Las traducciones deberían cargarse en la acción init o más tarde. Por favor, ve depuración en WordPress para más información. (Este mensaje fue añadido en la versión 6.7.0). in /home4/debocasa/fortysite.com/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /home4/debocasa/fortysite.com/wp-includes/class-wp-date-query.php:1) in /home4/debocasa/fortysite.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/debocasa/fortysite.com/wp-includes/class-wp-date-query.php:1) in /home4/debocasa/fortysite.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/debocasa/fortysite.com/wp-includes/class-wp-date-query.php:1) in /home4/debocasa/fortysite.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/debocasa/fortysite.com/wp-includes/class-wp-date-query.php:1) in /home4/debocasa/fortysite.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/debocasa/fortysite.com/wp-includes/class-wp-date-query.php:1) in /home4/debocasa/fortysite.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/debocasa/fortysite.com/wp-includes/class-wp-date-query.php:1) in /home4/debocasa/fortysite.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/debocasa/fortysite.com/wp-includes/class-wp-date-query.php:1) in /home4/debocasa/fortysite.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home4/debocasa/fortysite.com/wp-includes/class-wp-date-query.php:1) in /home4/debocasa/fortysite.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":2898,"date":"2024-08-12T02:54:08","date_gmt":"2024-08-12T02:54:08","guid":{"rendered":"https:\/\/fortysite.com\/?p=2898"},"modified":"2024-08-12T03:03:28","modified_gmt":"2024-08-12T03:03:28","slug":"grammar-test-15","status":"publish","type":"post","link":"https:\/\/fortysite.com\/grammar-test-15\/","title":{"rendered":"Grammar test #15"},"content":{"rendered":"\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\r\n\r\n\r\n \r\n \r\n Test de Gram\u00e1tica en Ingl\u00e9s - Test 15<\/title>\r\n <meta name=\"description\" content=\"Practica modismos, collocations y estructuras avanzadas en ingl\u00e9s con nuestro test interactivo. Dise\u00f1ado para estudiantes de Centroam\u00e9rica que buscan perfeccionar su dominio del ingl\u00e9s.\">\r\n <meta name=\"keywords\" content=\"gram\u00e1tica en ingl\u00e9s, idioms, collocations, phrasal verbs, complex sentences, aprender ingl\u00e9s, Centroam\u00e9rica, test de ingl\u00e9s, ejercicios de ingl\u00e9s\">\r\n <link rel=\"canonical\" href=\"https:\/\/fortysite.com\/grammar-test-15\/\">\r\n <style>\r\n body {\r\n font-family: Arial, sans-serif;\r\n margin: 0;\r\n padding: 0;\r\n background-color: #f4f4f9;\r\n color: #333;\r\n }\r\n\r\n .area-practica {\r\n margin-bottom: 20px;\r\n }\r\n\r\n select, button {\r\n padding: 10px;\r\n font-size: 1em;\r\n margin-top: 10px;\r\n }\r\n\r\n #resultado {\r\n margin-top: 10px;\r\n font-weight: bold;\r\n }\r\n\r\n .ejercicio-item {\r\n margin-bottom: 15px;\r\n }\r\n\r\n .ejercicio-item p {\r\n margin: 0;\r\n }\r\n\r\n .ejercicio-item select {\r\n margin-top: 5px;\r\n }\r\n\r\n .correct {\r\n color: green;\r\n font-weight: bold;\r\n }\r\n\r\n .incorrect {\r\n color: red;\r\n font-weight: bold;\r\n }\r\n\r\n \/* Modal popup styles *\/\r\n #animacion {\r\n display: none; \/* Oculto inicialmente *\/\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: 100vw;\r\n height: 100vh;\r\n background: rgba(0, 0, 0, 0.8); \/* Fondo oscuro con transparencia *\/\r\n z-index: 1000; \/* Asegurar que est\u00e9 por encima de todo *\/\r\n justify-content: center;\r\n align-items: center;\r\n }\r\n\r\n #animacion .content {\r\n background: linear-gradient(45deg, #4CAF50, #81C784, #388E3C);\r\n background-size: 300% 300%;\r\n animation: animacionFondo 2s ease infinite;\r\n padding: 40px;\r\n border-radius: 10px;\r\n text-align: center;\r\n color: #fff;\r\n font-size: 24px;\r\n }\r\n\r\n @keyframes animacionFondo {\r\n 0% { background-position: 0% 50%; }\r\n 50% { background-position: 100% 50%; }\r\n 100% { background-position: 0% 50%; }\r\n }\r\n\r\n \/* Estilos del bot\u00f3n de cerrar el modal *\/\r\n .close-btn {\r\n background-color: #f44336;\r\n border: none;\r\n color: white;\r\n padding: 10px 20px;\r\n text-align: center;\r\n text-decoration: none;\r\n display: inline-block;\r\n font-size: 16px;\r\n margin-top: 20px;\r\n cursor: pointer;\r\n border-radius: 5px;\r\n }\r\n\r\n .close-btn:hover {\r\n background-color: #d32f2f;\r\n }\r\n\r\n \/* Estilos para el resumen de temas *\/\r\n #resumen {\r\n display: none; \/* Oculto inicialmente *\/\r\n margin-top: 20px;\r\n padding: 20px;\r\n background-color: #e0f7fa;\r\n border-radius: 10px;\r\n font-size: 16px;\r\n }\r\n\r\n #resumen h3 {\r\n margin-top: 0;\r\n }\r\n\r\n #resumen p {\r\n margin-bottom: 15px;\r\n }\r\n\r\n <\/style>\r\n<\/head>\r\n<body>\r\n <header>\r\n <h1>Test de Gram\u00e1tica en Ingl\u00e9s - Test 15<\/h1>\r\n <p>Practica modismos, collocations y estructuras avanzadas en ingl\u00e9s. Este test incluye un resumen de los conceptos avanzados para que puedas repasar despu\u00e9s de completarlo.<\/p>\r\n <\/header>\r\n \r\n <main>\r\n <section class=\"historia\">\r\n <h2>Un D\u00eda en la Vida de Julia<\/h2>\r\n <p>Julia es una joven profesional de Costa Rica que trabaja en una multinacional. En su trabajo diario, Julia utiliza una gran cantidad de modismos, collocations y estructuras avanzadas que la ayudan a comunicarse eficazmente en ingl\u00e9s.<\/p>\r\n <\/section>\r\n\r\n <section class=\"area-practica\">\r\n <h2>Completa las Oraciones Basadas en la Historia de Julia<\/h2>\r\n <div id=\"ejercicio\">\r\n <!-- Ejercicios din\u00e1micamente generados aqu\u00ed -->\r\n <\/div>\r\n <button id=\"verificarRespuestas\">Verificar Respuestas<\/button>\r\n <button id=\"intentarDeNuevo\" style=\"display: none;\">Intentar de Nuevo<\/button>\r\n <button id=\"finalizar\">Finalizar<\/button>\r\n <p id=\"resultado\"><\/p>\r\n <\/section>\r\n\r\n <!-- Modal de Animaci\u00f3n -->\r\n <div id=\"animacion\">\r\n <div class=\"content\">\r\n <p>\u00a1Buen trabajo! Has completado el test.<\/p>\r\n <button class=\"close-btn\" onclick=\"mostrarResumen()\">Cerrar<\/button>\r\n <\/div>\r\n <\/div>\r\n\r\n <!-- Resumen de los Temas -->\r\n <div id=\"resumen\">\r\n <h3>Resumen de los Temas Practicados<\/h3>\r\n <p><strong>Idioms:<\/strong> Expresiones que no pueden ser entendidas literalmente. Ejemplos: \"It's raining cats and dogs\" significa que est\u00e1 lloviendo muy fuerte.<\/p>\r\n <p><strong>Collocations:<\/strong> Combinaciones de palabras que suelen ir juntas en ingl\u00e9s. Ejemplos: \"make a decision,\" \"take a break.\"<\/p>\r\n <p><strong>Advanced Phrasal Verbs:<\/strong> Frases compuestas por un verbo y una preposici\u00f3n\/adverbio que pueden tener significados complejos. Ejemplos: \"give in,\" \"bring up.\"<\/p>\r\n <p><strong>Complex Sentence Structures:<\/strong> Oraciones que incluyen estructuras gramaticales avanzadas como condicionales mixtos, cl\u00e1usulas relativas, etc.<\/p>\r\n <\/div>\r\n <\/main>\r\n\r\n <footer>\r\n <p>© 2024 Fortysite. Todos los derechos reservados. Aprende ingl\u00e9s con nuestros ejercicios y recursos educativos.<\/p>\r\n <\/footer>\r\n\r\n <script>\r\n document.addEventListener('DOMContentLoaded', () => {\r\n const ejercicioDiv = document.getElementById('ejercicio');\r\n const verificarBtn = document.getElementById('verificarRespuestas');\r\n const intentarBtn = document.getElementById('intentarDeNuevo');\r\n const finalizarBtn = document.getElementById('finalizar');\r\n const resultadoP = document.getElementById('resultado');\r\n const animacionDiv = document.getElementById('animacion');\r\n const resumenDiv = document.getElementById('resumen');\r\n\r\n const ejercicios = [\r\n \/\/ Idioms\r\n {\r\n frase: \"When Julia heard the news, she was over the ___.\",\r\n opciones: [\"moon\", \"hill\", \"sky\"],\r\n respuesta: \"moon\"\r\n },\r\n {\r\n frase: \"Julia decided to let the cat out of the ___.\",\r\n opciones: [\"bag\", \"hat\", \"box\"],\r\n respuesta: \"bag\"\r\n },\r\n \/\/ Collocations\r\n {\r\n frase: \"Julia needs to ___ a decision quickly.\",\r\n opciones: [\"make\", \"do\", \"take\"],\r\n respuesta: \"make\"\r\n },\r\n {\r\n frase: \"She asked her boss to ___ a break.\",\r\n opciones: [\"take\", \"do\", \"make\"],\r\n respuesta: \"take\"\r\n },\r\n \/\/ Advanced Phrasal Verbs\r\n {\r\n frase: \"Julia was asked to bring ___ the issue in the meeting.\",\r\n opciones: [\"up\", \"on\", \"in\"],\r\n respuesta: \"up\"\r\n },\r\n {\r\n frase: \"After much discussion, Julia decided to give ___.\",\r\n opciones: [\"in\", \"up\", \"out\"],\r\n respuesta: \"in\"\r\n },\r\n \/\/ Complex Sentence Structures\r\n {\r\n frase: \"If Julia ___ the opportunity, she would have traveled abroad.\",\r\n opciones: [\"had taken\", \"took\", \"takes\"],\r\n respuesta: \"had taken\"\r\n },\r\n {\r\n frase: \"The report, ___ was reviewed by the team, was well-received.\",\r\n opciones: [\"which\", \"that\", \"who\"],\r\n respuesta: \"which\"\r\n },\r\n {\r\n frase: \"No sooner ___ the project started than problems began to arise.\",\r\n opciones: [\"had\", \"has\", \"have\"],\r\n respuesta: \"had\"\r\n },\r\n {\r\n frase: \"It was Julia ___ made the final call on the project.\",\r\n opciones: [\"who\", \"which\", \"that\"],\r\n respuesta: \"who\"\r\n }\r\n ];\r\n\r\n function shuffleArray(array) {\r\n for (let i = array.length - 1; i > 0; i--) {\r\n const j = Math.floor(Math.random() * (i + 1));\r\n [array[i], array[j]] = [array[j], array[i]];\r\n }\r\n }\r\n\r\n function cargarEjercicios() {\r\n \/\/ Aleatorizar preguntas\r\n shuffleArray(ejercicios);\r\n\r\n ejercicioDiv.innerHTML = '';\r\n ejercicios.forEach((ejercicio, index) => {\r\n const ejercicioItem = document.createElement('div');\r\n ejercicioItem.classList.add('ejercicio-item');\r\n \r\n const pregunta = document.createElement('p');\r\n pregunta.textContent = `${index + 1}. ${ejercicio.frase}`;\r\n \r\n const select = document.createElement('select');\r\n\r\n \/\/ Aleatorizar opciones\r\n const opcionesAleatorias = [...ejercicio.opciones];\r\n shuffleArray(opcionesAleatorias);\r\n\r\n opcionesAleatorias.forEach(opcion => {\r\n const optionElement = document.createElement('option');\r\n optionElement.value = opcion;\r\n optionElement.textContent = opcion;\r\n select.appendChild(optionElement);\r\n });\r\n\r\n ejercicioItem.appendChild(pregunta);\r\n ejercicioItem.appendChild(select);\r\n ejercicioDiv.appendChild(ejercicioItem);\r\n });\r\n }\r\n\r\n function verificarRespuestas() {\r\n let correctas = 0;\r\n ejercicios.forEach((ejercicio, index) => {\r\n const select = ejercicioDiv.getElementsByTagName('select')[index];\r\n const respuestaSeleccionada = select.value;\r\n const pregunta = ejercicioDiv.getElementsByTagName('p')[index];\r\n \r\n if (respuestaSeleccionada === ejercicio.respuesta) {\r\n correctas++;\r\n pregunta.classList.add('correct');\r\n pregunta.classList.remove('incorrect');\r\n } else {\r\n pregunta.classList.add('incorrect');\r\n pregunta.classList.remove('correct');\r\n }\r\n });\r\n\r\n resultadoP.textContent = `Has respondido correctamente ${correctas} de ${ejercicios.length} preguntas.`;\r\n resultadoP.style.color = correctas === ejercicios.length ? 'green' : 'red';\r\n\r\n \/\/ Mostrar modal de animaci\u00f3n solo si todas las respuestas son correctas\r\n if (correctas === ejercicios.length) {\r\n animacionDiv.style.display = 'flex'; \/\/ Mostrar el modal\r\n }\r\n\r\n \/\/ Mostrar bot\u00f3n \"Intentar de Nuevo\"\r\n intentarBtn.style.display = 'inline-block';\r\n\r\n \/\/ Deshabilitar bot\u00f3n \"Verificar Respuestas\"\r\n verificarBtn.disabled = true;\r\n }\r\n\r\n function mostrarResumen() {\r\n animacionDiv.style.display = 'none';\r\n resumenDiv.style.display = 'block'; \/\/ Mostrar el resumen\r\n }\r\n\r\n function intentarDeNuevo() {\r\n window.location.reload();\r\n }\r\n\r\n verificarBtn.addEventListener('click', verificarRespuestas);\r\n intentarBtn.addEventListener('click', intentarDeNuevo);\r\n finalizarBtn.addEventListener('click', mostrarResumen);\r\n\r\n \/\/ Inicializar los ejercicios\r\n cargarEjercicios();\r\n });\r\n <\/script>\r\n<\/body>\r\n<\/html>\r\n\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\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Test de Gram\u00e1tica en Ingl\u00e9s – Test 15 Test de Gram\u00e1tica en Ingl\u00e9s – Test 15 Practica modismos, collocations y estructuras avanzadas en ingl\u00e9s. Este test incluye un resumen de los conceptos avanzados para que puedas repasar despu\u00e9s de completarlo. Un D\u00eda en la Vida de Julia Julia es una joven profesional de Costa Rica […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[33],"tags":[],"class_list":["post-2898","post","type-post","status-publish","format-standard","hentry","category-ingles-examenes"],"_links":{"self":[{"href":"https:\/\/fortysite.com\/wp-json\/wp\/v2\/posts\/2898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fortysite.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fortysite.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fortysite.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fortysite.com\/wp-json\/wp\/v2\/comments?post=2898"}],"version-history":[{"count":4,"href":"https:\/\/fortysite.com\/wp-json\/wp\/v2\/posts\/2898\/revisions"}],"predecessor-version":[{"id":2902,"href":"https:\/\/fortysite.com\/wp-json\/wp\/v2\/posts\/2898\/revisions\/2902"}],"wp:attachment":[{"href":"https:\/\/fortysite.com\/wp-json\/wp\/v2\/media?parent=2898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fortysite.com\/wp-json\/wp\/v2\/categories?post=2898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fortysite.com\/wp-json\/wp\/v2\/tags?post=2898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}