diff --git a/semana-0/projeto-onboarding/aprendizados-md b/semana-0/projeto-onboarding/aprendizados-md new file mode 100644 index 0000000..a9d4be8 --- /dev/null +++ b/semana-0/projeto-onboarding/aprendizados-md @@ -0,0 +1,2 @@ +#aprendizados da semana +Nessa primeira semana aprendemos a utilizar o terminal, como pedir ajuda e também conhecemos melhor o **curso**. \ No newline at end of file diff --git a/semana-0/sobre-mim/minha-bio.txt b/semana-0/sobre-mim/minha-bio.txt new file mode 100644 index 0000000..05903cc --- /dev/null +++ b/semana-0/sobre-mim/minha-bio.txt @@ -0,0 +1 @@ +Meu nome é Sthefane, tenho 24 anos, estudante de Sistemas da Informação... Sou mineira mas a alguns meses me mudei para São Paulo e estou adorando morar aqui. Gosto de jogar League of Legends nas horas livres gosto tambem de assistir series e animes, tatuagens e gatos, adoro cozinhar receitas novas e comer em lugares novos. Gosto de tecnologia desde que me lembro e quero seguir essa profissão. \ No newline at end of file diff --git a/semana1-aula1/template_javascript/index.html b/semana1-aula1/template_javascript/index.html new file mode 100644 index 0000000..dabfeed --- /dev/null +++ b/semana1-aula1/template_javascript/index.html @@ -0,0 +1,12 @@ + + + + + + Document + + + + + + \ No newline at end of file diff --git a/semana1-aula1/template_javascript/index.js b/semana1-aula1/template_javascript/index.js new file mode 100644 index 0000000..6c91840 --- /dev/null +++ b/semana1-aula1/template_javascript/index.js @@ -0,0 +1,16 @@ +/* + +const nome = prompt("Qual é o seu nome?") +typeof nome +let idade = prompt ("qual a sua idade?") +typeof idade +console.log("olá", nome,"voce tem:", idade,"anos") +*/ + + +//exercicio 3 + +let a = 10 +let b = 25 +console.log("O novo valor de a é", a) +console.log("O novo valor de b é", b) \ No newline at end of file diff --git a/semana1/funcoes/index.html b/semana1/funcoes/index.html new file mode 100644 index 0000000..372fa2c --- /dev/null +++ b/semana1/funcoes/index.html @@ -0,0 +1,13 @@ + + + + + + + Document + + + + + + \ No newline at end of file diff --git a/semana1/funcoes/index.js b/semana1/funcoes/index.js new file mode 100644 index 0000000..211ac89 --- /dev/null +++ b/semana1/funcoes/index.js @@ -0,0 +1,21 @@ +// function minhaFuncao(variavel) { +// return variavel * 5 +// } + +// console.log(minhaFuncao(2)) +// console.log(minhaFuncao(10)) + +// A) 10 50 +// B) não mostraria nada no console + +// let textoDoUsuario = prompt("Insira um texto"); + +// const outraFuncao = function(texto) { +// return texto.toLowerCase().includes("cenoura") +// } + +// const resposta = outraFuncao(textoDoUsuario) +// console.log(resposta) + +//A) Achar a palavra cenoura e deixar tudo no minusculo, retorna true se tiver a palavra cenoura e false caso contrario +//B) true . true. true \ No newline at end of file diff --git a/semana1/lista-logica/__MACOSX/lista-exercicios-intro-js/._.DS_Store b/semana1/lista-logica/__MACOSX/lista-exercicios-intro-js/._.DS_Store new file mode 100644 index 0000000..a5b28df Binary files /dev/null and b/semana1/lista-logica/__MACOSX/lista-exercicios-intro-js/._.DS_Store differ diff --git a/semana1/lista-logica/__MACOSX/lista-exercicios-intro-js/._exercicios.js b/semana1/lista-logica/__MACOSX/lista-exercicios-intro-js/._exercicios.js new file mode 100644 index 0000000..3fbdc12 Binary files /dev/null and b/semana1/lista-logica/__MACOSX/lista-exercicios-intro-js/._exercicios.js differ diff --git a/semana1/lista-logica/lista-exercicios-intro-js/.DS_Store b/semana1/lista-logica/lista-exercicios-intro-js/.DS_Store new file mode 100644 index 0000000..4e0e062 Binary files /dev/null and b/semana1/lista-logica/lista-exercicios-intro-js/.DS_Store differ diff --git a/semana1/lista-logica/lista-exercicios-intro-js/exercicios.js b/semana1/lista-logica/lista-exercicios-intro-js/exercicios.js new file mode 100644 index 0000000..edfb326 --- /dev/null +++ b/semana1/lista-logica/lista-exercicios-intro-js/exercicios.js @@ -0,0 +1,116 @@ +// EXEMPLOS DE IMPLEMENTAÇÃO --------------------------------------------------------------- + +// EXERCÍCIO 0A +function soma(num1, num2) { + // implemente sua lógica aqui + return num1 + num2 +} + +// EXERCÍCIO 0B +function imprimeMensagem() { + // implemente sua lógica aqui + const mensagem = prompt('Digite uma mensagem!') + + console.log(mensagem) +} + +// EXERCÍCIOS PARA FAZER ------------------------------------------------------------------ + +// EXERCÍCIO 01 +function calculaAreaRetangulo() { + + const altura = Number(prompt("digite a altura do triangulo")) + const largura = Number( prompt ("digite a largura do triangulo")) + const area = altura * largura +console.log(area) +} + + +// EXERCÍCIO 02 +function imprimeIdade() { + anoAtual = Number(prompt('Ano atual')) + anoNasc = Number(prompt('Ano de nascimento')) + console.log(anoAtual - anoNasc) +} +// EXERCÍCIO 03 +function calculaIMC(peso, altura) { + return (peso / (altura * altura)) +// function calculaIMC(peso, altura) { +// const seuPeso = Number(prompt("digite seu peso")) +// const suaAltura = Number(prompt("digite sua altura")) +// return((suaAltura * suaAltura) / seuPeso) + +} + +// EXERCÍCIO 04 +function imprimeInformacoesUsuario() { + // implemente sua lógica aqui + // "Meu nome é NOME, tenho IDADE anos, e o meu email é EMAIL." + +} + +// EXERCÍCIO 05 +function imprimeTresCoresFavoritas() { + // implemente sua lógica aqui + +} + +// EXERCÍCIO 06 +function retornaStringEmMaiuscula(string) { + // implemente sua lógica aqui + +} + +// EXERCÍCIO 07 +function calculaIngressosEspetaculo(custo, valorIngresso) { + // implemente sua lógica aqui + +} + +// EXERCÍCIO 08 +function checaStringsMesmoTamanho(string1, string2) { + // implemente sua lógica aqui + +} + +// EXERCÍCIO 09 +function retornaPrimeiroElemento(array) { + // implemente sua lógica aqui + +} + +// EXERCÍCIO 10 +function retornaUltimoElemento(array) { + // implemente sua lógica aqui + +} + +// EXERCÍCIO 11 +function trocaPrimeiroEUltimo(array) { + // implemente sua lógica aqui + +} + +// EXERCÍCIO 12 +function checaIgualdadeDesconsiderandoCase(string1, string2) { + // implemente sua lógica aqui + +} + +// EXERCÍCIO 13 +function checaRenovacaoRG() { + // implemente sua lógica aqui + +} + +// EXERCÍCIO 14 +function checaAnoBissexto(ano) { + // implemente sua lógica aqui + +} + +// EXERCÍCIO 15 +function checaValidadeInscricaoLabenu() { + // implemente sua lógica aqui + +} \ No newline at end of file diff --git a/semana1/lista-logica/lista-exercicios-intro-js/index.html b/semana1/lista-logica/lista-exercicios-intro-js/index.html new file mode 100644 index 0000000..7d33eda --- /dev/null +++ b/semana1/lista-logica/lista-exercicios-intro-js/index.html @@ -0,0 +1,14 @@ + + + + + + + + + Document + + +
+ + \ No newline at end of file diff --git a/semana1/lista-logica/lista-exercicios-intro-js/tests.js b/semana1/lista-logica/lista-exercicios-intro-js/tests.js new file mode 100644 index 0000000..3c06be9 --- /dev/null +++ b/semana1/lista-logica/lista-exercicios-intro-js/tests.js @@ -0,0 +1,35 @@ +!function(e,n,t,r,a){var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},l="function"==typeof o.parcelRequire9b95&&o.parcelRequire9b95,u=l.cache||{},i="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function s(n,t){if(!u[n]){if(!e[n]){var r="function"==typeof o.parcelRequire9b95&&o.parcelRequire9b95;if(!t&&r)return r(n,!0);if(l)return l(n,!0);if(i&&"string"==typeof n)return i(n);var a=new Error("Cannot find module '"+n+"'");throw a.code="MODULE_NOT_FOUND",a}f.resolve=function(t){return e[n][1][t]||t},f.cache={};var c=u[n]=new s.Module(n);e[n][0].call(c.exports,f,c,c.exports,this)}return u[n].exports;function f(e){return s(f.resolve(e))}}s.isParcelRequire=!0,s.Module=function(e){this.id=e,this.bundle=s,this.exports={}},s.modules=e,s.cache=u,s.parent=l,s.register=function(n,t){e[n]=[function(e,n){n.exports=t},{}]},Object.defineProperty(s,"root",{get:function(){return o.parcelRequire9b95}}),o.parcelRequire9b95=s;for(var c=0;c{const{getTestResult:e,setTestResult:n}=b.useTestResults(),[t,r]=u.useState(null);return i.default.createElement("div",null,i.default.createElement(p.Heading,null),i.default.createElement("hr",null),i.default.createElement("div",{style:{display:"flex"}},i.default.createElement(m.TestsSelect,{tests:v,selectedTest:t,setSelectedTest:r,getTestResult:e})),t?i.default.createElement(h.TestRunner,{test:t,setTestResultGlobal:n}):i.default.createElement(g.AllTestsRunner,{tests:v}))},w=document.createElement("style");w.textContent=c.default,document.querySelector("head").appendChild(w),l.default.render(i.default.createElement(y,null),document.getElementById("root"))},{"../core/types":"4XE9t","react-dom":"1FapN",react:"3lC58","bundle-text:./water.css":"6xekz","../core/validators":"4w5y8","./components/Heading":"PT9Wn","./components/TestsSelect":"4sjzY","./components/TestRunner":"3swYc","./components/AllTestsRunner":"5sFQ0","./hooks/useTestResults":"5bxix","@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],"4XE9t":[function(e,n,t){var r=e("@parcel/transformer-js/lib/esmodule-helpers.js");let a;r.defineInteropFlag(t),r.export(t,"INPUT_TYPES",(function(){return a})),function(e){e.FUNCTION_ARGS="FUNCTION_ARGS",e.PROMPT="PROMPT"}(a||(a={}))},{"@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],"1rdR8":[function(e,n,t){"use strict";t.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},t.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.exportAll=function(e,n){return Object.keys(e).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in n&&n[t]===e[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return e[t]}}))})),n},t.export=function(e,n,t){Object.defineProperty(e,n,{enumerable:!0,get:t})}},{}],"1FapN":[function(e,n,t){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),n.exports=e("./cjs/react-dom.production.min.js")},{"./cjs/react-dom.production.min.js":"7q6tI"}],"7q6tI":[function(e,n,t){ +/** @license React v17.0.2 + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +"use strict";var r=e("react"),a=e("object-assign"),o=e("scheduler");function l(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t