Add 3 files
Browse files- README.md +7 -5
- index.html +136 -19
- prompts.txt +0 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: gi9h
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,136 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="pt-BR">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<title>Prova de Língua Portuguesa e Matemática</title>
|
| 6 |
+
<style>
|
| 7 |
+
body { font-family: Arial, sans-serif; margin: 20px; }
|
| 8 |
+
.questao { margin-bottom: 15px; }
|
| 9 |
+
.oculto { display: none; }
|
| 10 |
+
.resultado { margin-top: 20px; font-weight: bold; }
|
| 11 |
+
</style>
|
| 12 |
+
</head>
|
| 13 |
+
<body>
|
| 14 |
+
|
| 15 |
+
<div id="inicio">
|
| 16 |
+
<label>Nome do aluno: <input type="text" id="nomeAluno" /></label>
|
| 17 |
+
<button onclick="iniciarProva()">Começar Prova</button>
|
| 18 |
+
</div>
|
| 19 |
+
|
| 20 |
+
<form id="formulario" class="oculto">
|
| 21 |
+
<h2>Língua Portuguesa - 1º ao 5º ano</h2>
|
| 22 |
+
|
| 23 |
+
<!-- Questões exemplo de Língua Portuguesa -->
|
| 24 |
+
<div class="questao">
|
| 25 |
+
<p>1. Qual é o plural de "flor"?</p>
|
| 26 |
+
<label><input type="radio" name="port1" value="certa" /> Flores</label><br />
|
| 27 |
+
<label><input type="radio" name="port1" value="errada" /> Floras</label><br />
|
| 28 |
+
<label><input type="radio" name="port1" value="nao" /> Não sei</label>
|
| 29 |
+
</div>
|
| 30 |
+
|
| 31 |
+
<div class="questao">
|
| 32 |
+
<p>2. Qual palavra está correta?</p>
|
| 33 |
+
<label><input type="radio" name="port2" value="certa" /> Amigo</label><br />
|
| 34 |
+
<label><input type="radio" name="port2" value="errada" /> Amigao</label><br />
|
| 35 |
+
<label><input type="radio" name="port2" value="nao" /> Não sei</label>
|
| 36 |
+
</div>
|
| 37 |
+
|
| 38 |
+
<div class="questao">
|
| 39 |
+
<p>3. Qual destas é uma frase?</p>
|
| 40 |
+
<label><input type="radio" name="port3" value="certa" /> O gato dorme.</label><br />
|
| 41 |
+
<label><input type="radio" name="port3" value="errada" /> Gato feliz.</label><br />
|
| 42 |
+
<label><input type="radio" name="port3" value="nao" /> Não sei</label>
|
| 43 |
+
</div>
|
| 44 |
+
|
| 45 |
+
<h2>Matemática - 1º ao 5º ano</h2>
|
| 46 |
+
|
| 47 |
+
<!-- Questões exemplo de Matemática -->
|
| 48 |
+
<div class="questao">
|
| 49 |
+
<p>1. Quanto é 2 + 3?</p>
|
| 50 |
+
<label><input type="radio" name="mat1" value="certa" /> 5</label><br />
|
| 51 |
+
<label><input type="radio" name="mat1" value="errada" /> 6</label><br />
|
| 52 |
+
<label><input type="radio" name="mat1" value="nao" /> Não sei</label>
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
<div class="questao">
|
| 56 |
+
<p>2. Quanto é 10 - 4?</p>
|
| 57 |
+
<label><input type="radio" name="mat2" value="certa" /> 6</label><br />
|
| 58 |
+
<label><input type="radio" name="mat2" value="errada" /> 7</label><br />
|
| 59 |
+
<label><input type="radio" name="mat2" value="nao" /> Não sei</label>
|
| 60 |
+
</div>
|
| 61 |
+
|
| 62 |
+
<div class="questao">
|
| 63 |
+
<p>3. Quanto é 3 x 2?</p>
|
| 64 |
+
<label><input type="radio" name="mat3" value="certa" /> 6</label><br />
|
| 65 |
+
<label><input type="radio" name="mat3" value="errada" /> 5</label><br />
|
| 66 |
+
<label><input type="radio" name="mat3" value="nao" /> Não sei</label>
|
| 67 |
+
</div>
|
| 68 |
+
|
| 69 |
+
<button type="button" onclick="corrigir()">Ver Resultado</button>
|
| 70 |
+
</form>
|
| 71 |
+
|
| 72 |
+
<div id="resultado" class="resultado oculto"></div>
|
| 73 |
+
|
| 74 |
+
<script>
|
| 75 |
+
function iniciarProva() {
|
| 76 |
+
const nome = document.getElementById("nomeAluno").value.trim();
|
| 77 |
+
if (!nome) {
|
| 78 |
+
alert("Por favor, digite o nome do aluno.");
|
| 79 |
+
return;
|
| 80 |
+
}
|
| 81 |
+
document.getElementById("inicio").classList.add("oculto");
|
| 82 |
+
document.getElementById("formulario").classList.remove("oculto");
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
function corrigir() {
|
| 86 |
+
// Pegando respostas
|
| 87 |
+
const respostasPort = [
|
| 88 |
+
document.querySelector('input[name="port1"]:checked')?.value,
|
| 89 |
+
document.querySelector('input[name="port2"]:checked')?.value,
|
| 90 |
+
document.querySelector('input[name="port3"]:checked')?.value
|
| 91 |
+
];
|
| 92 |
+
const respostasMat = [
|
| 93 |
+
document.querySelector('input[name="mat1"]:checked')?.value,
|
| 94 |
+
document.querySelector('input[name="mat2"]:checked')?.value,
|
| 95 |
+
document.querySelector('input[name="mat3"]:checked')?.value
|
| 96 |
+
];
|
| 97 |
+
|
| 98 |
+
// Verificar se todas perguntas foram respondidas
|
| 99 |
+
if (respostasPort.includes(undefined) || respostasMat.includes(undefined)) {
|
| 100 |
+
alert("Por favor, responda todas as perguntas ou marque 'Não sei'.");
|
| 101 |
+
return;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
// Contar pontos
|
| 105 |
+
let pontosPort = 0;
|
| 106 |
+
for (const r of respostasPort) {
|
| 107 |
+
if (r === "certa") pontosPort++;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
let pontosMat = 0;
|
| 111 |
+
for (const r of respostasMat) {
|
| 112 |
+
if (r === "certa") pontosMat++;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
// Condição para passar (mais que 2 pontos em cada prova)
|
| 116 |
+
const passouPort = pontosPort > 2;
|
| 117 |
+
const passouMat = pontosMat > 2;
|
| 118 |
+
|
| 119 |
+
// Mostrar resultado
|
| 120 |
+
const res = document.getElementById("resultado");
|
| 121 |
+
res.classList.remove("oculto");
|
| 122 |
+
|
| 123 |
+
res.innerHTML = `
|
| 124 |
+
Nome: <strong>${document.getElementById("nomeAluno").value}</strong><br>
|
| 125 |
+
Nota Língua Portuguesa: ${pontosPort} / 3<br>
|
| 126 |
+
Nota Matemática: ${pontosMat} / 3<br>
|
| 127 |
+
Resultado final: <span style="color: ${passouPort && passouMat ? 'green' : 'red'};">
|
| 128 |
+
${passouPort && passouMat ? 'APROVADO' : 'REPROVADO'}
|
| 129 |
+
</span><br>
|
| 130 |
+
Código: <strong>MIkael</strong>
|
| 131 |
+
`;
|
| 132 |
+
}
|
| 133 |
+
</script>
|
| 134 |
+
|
| 135 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Rwhehhehe/gi9h" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 136 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|