Skip to content

Commit

Permalink
adicionado arquivo de perguntas.js para @Manuel-Carlos trabalhar
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaDaCosta committed Dec 5, 2023
1 parent 9b7c0a3 commit 988beae
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 57 deletions.
58 changes: 57 additions & 1 deletion LOADINGPAGE/static/javascript/appaluno.js
Original file line number Diff line number Diff line change
@@ -1 +1,57 @@
alert("oi, aluno ")
alert("oi, aluno ")
var inicio=document.querySelector("#inicio")
var iniciobtn=document.getElementById("link-inicio")
var livros =document.querySelector("#livros")
var livrosbtn=document.getElementById("link-livros")
var pesquisa =document.querySelector(".pesquisa")
var pesquisabtn=document.getElementById("pesquisa")
var removebtn=document.getElementById("remove")
var sele=document.querySelector(".sele")
var link=document.getElementById("es")
var notificacao=document.querySelector(".notificacao")
var notificacaonbtn=document.getElementById("notificacao")
var removenbtn=document.getElementById("removen")

iniciobtn.addEventListener("click", function(){
inicio.style.display="flex"
livros.style.display="none"

})
livrosbtn.addEventListener("click", function(){
inicio.style.display="none"
livros.style.display="flex"


})
pesquisabtn.addEventListener("click", function(){
pesquisa.style.display="flex"
sele.style.display="block"
link.style.color="var(--bg-az)"
link.style.fontWeight="800"


})
removebtn.addEventListener("click", function(){
pesquisa.style.display="none"
sele.style.display="none"
link.style.color="black"
link.style.fontWeight="100"

})
notificacaonbtn.addEventListener("click", function(){
notificacao.style.display="flex"
sele.style.display="block"
link.style.color="var(--bg-az)"
link.style.fontWeight="800"



})
removenbtn.addEventListener("click", function(){
notificacao.style.display="none"
sele.style.display="none"
link.style.color="black"
link.style.fontWeight="100"


})
1 change: 1 addition & 0 deletions LOADINGPAGE/static/javascript/perguntas.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a
114 changes: 58 additions & 56 deletions LOADINGPAGE/templates/appentidades.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,63 +391,65 @@ <h1>
X
</r>
</div>
<script type="text/javascript" src="/static/javascript/appaluno.js"></script>

<script>
var inicio=document.querySelector("#inicio")
var iniciobtn=document.getElementById("link-inicio")
var livros =document.querySelector("#livros")
var livrosbtn=document.getElementById("link-livros")
var pesquisa =document.querySelector(".pesquisa")
var pesquisabtn=document.getElementById("pesquisa")
var removebtn=document.getElementById("remove")
var sele=document.querySelector(".sele")
var link=document.getElementById("es")
var notificacao=document.querySelector(".notificacao")
var notificacaonbtn=document.getElementById("notificacao")
var removenbtn=document.getElementById("removen")

iniciobtn.addEventListener("click", function(){
inicio.style.display="flex"
livros.style.display="none"

})
livrosbtn.addEventListener("click", function(){
inicio.style.display="none"
livros.style.display="flex"


})
pesquisabtn.addEventListener("click", function(){
pesquisa.style.display="flex"
sele.style.display="block"
link.style.color="var(--bg-az)"
link.style.fontWeight="800"


})
removebtn.addEventListener("click", function(){
pesquisa.style.display="none"
sele.style.display="none"
link.style.color="black"
link.style.fontWeight="100"

})
notificacaonbtn.addEventListener("click", function(){
notificacao.style.display="flex"
sele.style.display="block"
link.style.color="var(--bg-az)"
link.style.fontWeight="800"



})
removenbtn.addEventListener("click", function(){
notificacao.style.display="none"
sele.style.display="none"
link.style.color="black"
link.style.fontWeight="100"


})
<!-- var inicio=document.querySelector("#inicio")-->
<!-- var iniciobtn=document.getElementById("link-inicio")-->
<!-- var livros =document.querySelector("#livros")-->
<!-- var livrosbtn=document.getElementById("link-livros")-->
<!-- var pesquisa =document.querySelector(".pesquisa")-->
<!-- var pesquisabtn=document.getElementById("pesquisa")-->
<!-- var removebtn=document.getElementById("remove")-->
<!-- var sele=document.querySelector(".sele")-->
<!-- var link=document.getElementById("es")-->
<!-- var notificacao=document.querySelector(".notificacao")-->
<!-- var notificacaonbtn=document.getElementById("notificacao")-->
<!-- var removenbtn=document.getElementById("removen")-->

<!-- iniciobtn.addEventListener("click", function(){-->
<!-- inicio.style.display="flex"-->
<!-- livros.style.display="none"-->

<!-- })-->
<!-- livrosbtn.addEventListener("click", function(){-->
<!-- inicio.style.display="none"-->
<!-- livros.style.display="flex"-->


<!-- })-->
<!-- pesquisabtn.addEventListener("click", function(){-->
<!-- pesquisa.style.display="flex"-->
<!-- sele.style.display="block"-->
<!-- link.style.color="var(&#45;&#45;bg-az)"-->
<!-- link.style.fontWeight="800"-->


<!-- })-->
<!-- removebtn.addEventListener("click", function(){-->
<!-- pesquisa.style.display="none"-->
<!-- sele.style.display="none"-->
<!-- link.style.color="black"-->
<!-- link.style.fontWeight="100"-->

<!-- })-->
<!-- notificacaonbtn.addEventListener("click", function(){-->
<!-- notificacao.style.display="flex"-->
<!-- sele.style.display="block"-->
<!-- link.style.color="var(&#45;&#45;bg-az)"-->
<!-- link.style.fontWeight="800"-->



<!-- })-->
<!-- removenbtn.addEventListener("click", function(){-->
<!-- notificacao.style.display="none"-->
<!-- sele.style.display="none"-->
<!-- link.style.color="black"-->
<!-- link.style.fontWeight="100"-->


<!-- })-->


</script>
Expand Down

0 comments on commit 988beae

Please sign in to comment.