Add 3 files
Browse files- README.md +7 -5
- index.html +146 -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: cndjddjd
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: red
|
| 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,146 @@
|
|
| 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 Escolar</title>
|
| 6 |
+
<style>
|
| 7 |
+
body {
|
| 8 |
+
font-family: Arial, sans-serif;
|
| 9 |
+
padding: 20px;
|
| 10 |
+
max-width: 600px;
|
| 11 |
+
margin: auto;
|
| 12 |
+
}
|
| 13 |
+
h1, h2 {
|
| 14 |
+
text-align: center;
|
| 15 |
+
}
|
| 16 |
+
.pergunta {
|
| 17 |
+
margin-bottom: 20px;
|
| 18 |
+
}
|
| 19 |
+
.resultado {
|
| 20 |
+
border-top: 2px solid #ccc;
|
| 21 |
+
margin-top: 30px;
|
| 22 |
+
padding-top: 20px;
|
| 23 |
+
}
|
| 24 |
+
.oculto {
|
| 25 |
+
display: none;
|
| 26 |
+
}
|
| 27 |
+
</style>
|
| 28 |
+
</head>
|
| 29 |
+
<body>
|
| 30 |
+
|
| 31 |
+
<h1>Prova Escolar</h1>
|
| 32 |
+
|
| 33 |
+
<label for="nomeAluno"><strong>Nome do Aluno:</strong></label><br>
|
| 34 |
+
<input type="text" id="nomeAluno" required><br><br>
|
| 35 |
+
|
| 36 |
+
<form id="formulario">
|
| 37 |
+
|
| 38 |
+
<h2>Língua Portuguesa</h2>
|
| 39 |
+
<div class="pergunta">
|
| 40 |
+
<p>1. Qual é o plural de "cão"?</p>
|
| 41 |
+
<label><input type="radio" name="port1" value="errada"> Cãos</label><br>
|
| 42 |
+
<label><input type="radio" name="port1" value="certa"> Cães</label><br>
|
| 43 |
+
<label><input type="radio" name="port1" value="errada"> Cãozes</label><br>
|
| 44 |
+
<label><input type="radio" name="port1" value="errada"> Não sei</label>
|
| 45 |
+
</div>
|
| 46 |
+
|
| 47 |
+
<div class="pergunta">
|
| 48 |
+
<p>2. Complete: O gato _______ no telhado.</p>
|
| 49 |
+
<label><input type="radio" name="port2" value="errada"> corre</label><br>
|
| 50 |
+
<label><input type="radio" name="port2" value="certa"> está</label><br>
|
| 51 |
+
<label><input type="radio" name="port2" value="errada"> fui</label><br>
|
| 52 |
+
<label><input type="radio" name="port2" value="errada"> Não sei</label>
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
<div class="pergunta">
|
| 56 |
+
<p>3. Qual dessas palavras é um substantivo?</p>
|
| 57 |
+
<label><input type="radio" name="port3" value="errada"> rapidamente</label><br>
|
| 58 |
+
<label><input type="radio" name="port3" value="certa"> menino</label><br>
|
| 59 |
+
<label><input type="radio" name="port3" value="errada"> bonito</label><br>
|
| 60 |
+
<label><input type="radio" name="port3" value="errada"> Não sei</label>
|
| 61 |
+
</div>
|
| 62 |
+
|
| 63 |
+
<h2>Matemática</h2>
|
| 64 |
+
<div class="pergunta">
|
| 65 |
+
<p>1. Quanto é 5 + 3?</p>
|
| 66 |
+
<label><input type="radio" name="mat1" value="errada"> 6</label><br>
|
| 67 |
+
<label><input type="radio" name="mat1" value="certa"> 8</label><br>
|
| 68 |
+
<label><input type="radio" name="mat1" value="errada"> 9</label><br>
|
| 69 |
+
<label><input type="radio" name="mat1" value="errada"> Não sei</label>
|
| 70 |
+
</div>
|
| 71 |
+
|
| 72 |
+
<div class="pergunta">
|
| 73 |
+
<p>2. Qual número vem depois do 12?</p>
|
| 74 |
+
<label><input type="radio" name="mat2" value="certa"> 13</label><br>
|
| 75 |
+
<label><input type="radio" name="mat2" value="errada"> 11</label><br>
|
| 76 |
+
<label><input type="radio" name="mat2" value="errada"> 15</label><br>
|
| 77 |
+
<label><input type="radio" name="mat2" value="errada"> Não sei</label>
|
| 78 |
+
</div>
|
| 79 |
+
|
| 80 |
+
<div class="pergunta">
|
| 81 |
+
<p>3. Quanto é 10 - 4?</p>
|
| 82 |
+
<label><input type="radio" name="mat3" value="certa"> 6</label><br>
|
| 83 |
+
<label><input type="radio" name="mat3" value="errada"> 5</label><br>
|
| 84 |
+
<label><input type="radio" name="mat3" value="errada"> 7</label><br>
|
| 85 |
+
<label><input type="radio" name="mat3" value="errada"> Não sei</label>
|
| 86 |
+
</div>
|
| 87 |
+
|
| 88 |
+
<br>
|
| 89 |
+
<label for="codigo">Digite o código (somente MIkael pode ver as notas):</label><br>
|
| 90 |
+
<input type="text" id="codigo"><br><br>
|
| 91 |
+
|
| 92 |
+
<button type="button" onclick="corrigir()">Ver Resultado</button>
|
| 93 |
+
|
| 94 |
+
</form>
|
| 95 |
+
|
| 96 |
+
<div id="resultado" class="resultado oculto"></div>
|
| 97 |
+
|
| 98 |
+
<script>
|
| 99 |
+
function corrigir() {
|
| 100 |
+
const codigo = document.getElementById("codigo").value;
|
| 101 |
+
if (codigo !== "MIkael") {
|
| 102 |
+
alert("Código incorreto. Somente Mikael pode ver as notas.");
|
| 103 |
+
return;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
const respostasPort = [
|
| 107 |
+
document.querySelector('input[name="port1"]:checked')?.value,
|
| 108 |
+
document.querySelector('input[name="port2"]:checked')?.value,
|
| 109 |
+
document.querySelector('input[name="port3"]:checked')?.value
|
| 110 |
+
];
|
| 111 |
+
const respostasMat = [
|
| 112 |
+
document.querySelector('input[name="mat1"]:checked')?.value,
|
| 113 |
+
document.querySelector('input[name="mat2"]:checked')?.value,
|
| 114 |
+
document.querySelector('input[name="mat3"]:checked')?.value
|
| 115 |
+
];
|
| 116 |
+
|
| 117 |
+
if (respostasPort.includes(undefined) || respostasMat.includes(undefined)) {
|
| 118 |
+
alert("Responda todas as perguntas ou marque 'Não sei'.");
|
| 119 |
+
return;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
let pontosPort = respostasPort.filter(r => r === "certa").length;
|
| 123 |
+
let pontosMat = respostasMat.filter(r => r === "certa").length;
|
| 124 |
+
|
| 125 |
+
const passouPort = pontosPort > 2;
|
| 126 |
+
const passouMat = pontosMat > 2;
|
| 127 |
+
const nome = document.getElementById("nomeAluno").value;
|
| 128 |
+
|
| 129 |
+
const res = document.getElementById("resultado");
|
| 130 |
+
res.classList.remove("oculto");
|
| 131 |
+
|
| 132 |
+
res.innerHTML = `
|
| 133 |
+
<strong>Nome:</strong> ${nome}<br>
|
| 134 |
+
<strong>Nota de Língua Portuguesa:</strong> ${pontosPort} / 3<br>
|
| 135 |
+
<strong>Nota de Matemática:</strong> ${pontosMat} / 3<br>
|
| 136 |
+
<strong>Resultado final:</strong>
|
| 137 |
+
<span style="color: ${passouPort && passouMat ? 'green' : 'red'};">
|
| 138 |
+
${passouPort && passouMat ? 'APROVADO' : 'REPROVADO'}
|
| 139 |
+
</span><br>
|
| 140 |
+
<strong>Código verificado:</strong> ${codigo}
|
| 141 |
+
`;
|
| 142 |
+
}
|
| 143 |
+
</script>
|
| 144 |
+
|
| 145 |
+
<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/cndjddjd" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 146 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|