{"id":1151,"date":"2024-07-14T21:46:48","date_gmt":"2024-07-15T00:46:48","guid":{"rendered":"https:\/\/desvendandoocodigo.com.br\/?p=1151"},"modified":"2024-07-15T21:01:33","modified_gmt":"2024-07-16T00:01:33","slug":"resumo-da-live-tiktok-14072024","status":"publish","type":"post","link":"https:\/\/desvendandoocodigo.com.br\/?p=1151","title":{"rendered":"Resumo da Live TikTok 14072024"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Ol\u00e1 Pessoal!<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Na Live do dia 14\/07\/2024 foram abordados os seguintes temas:<\/h2>\n\n\n\n<ul>\n<li>Revis\u00e3o de Incremento;<\/li>\n\n\n\n<li>Sinal de compara\u00e7\u00e3o;<\/li>\n\n\n\n<li>La\u00e7o de repeti\u00e7\u00e3o;<\/li>\n\n\n\n<li>Exerc\u00edcio com la\u00e7o do While;<\/li>\n\n\n\n<li>Objetos;<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>Anota\u00e7\u00f5es do conte\u00fado e escopo<\/strong>\n\n\/\/ var a = 10;\n\/\/ var b = '10';\n\n\/\/ console.log(a == b);  \/\/verdadeiro ou falso\n\/\/ console.log(a === b);\n\n\/\/ var a = 10;\n\/\/ var nome = \"Marcos\";\n\n\/\/ var total = a - nome;\n\/\/ console.log(total);\n\n\n\/\/ for(var a = 1; a &lt;= 10; a ++){\n\n\/\/    console.log(a);\n\n\/\/ }\n\n\/\/ while(){\n\n\/\/ }\n\n\/\/ if(condicao){  \/\/verdadeiro  \/\/falso\n\/\/     \/\/bloco de comandos\n\/\/ }else {\n\/\/     \/\/bloco de comandos \n\/\/ }\n\n\n\/\/ var a = 10\n\/\/ a  = a + 1  \/\/ a ++\n\/\/ console.log(a)\n\n\/\/ a + 2\n\/\/ console.log(a)\n\n\n\/\/ const a = 10\n\n\/\/ a = 50 \n\/\/ console.log(a)\n\n\/\/ var cliente = { nome: 'Marcos', idade:43 }\n\n\nlet a = 5 ;   \/\/\/escopo global\nvar b = 10;\nconst c = 20;\n\n        if(a == 5){\n\n            let a = 4 ;   \n            var b = 1;\n            const c = 50;\n\n            console.log('let ' + a)\n            console.log('var ' + b)\n            console.log('const ' + c)\n        }\n\n        console.log('let ' + a)\n        console.log('var ' + b)\n        console.log('const ' + c)\n\n\/\/\/escopo global\n\n<strong>Exerc\u00edcio com do While\n<\/strong>\n&lt;!DOCTYPE html&gt;\n&lt;html lang=\"pt-br\"&gt;\n&lt;head&gt;\n    &lt;meta charset=\"UTF-8\"&gt;\n    &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"&gt;\n    &lt;title&gt;Exerc\u00edcio com do-While&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n    &lt;script&gt;\n        var num \n\n        do {\n            num = Number(prompt(\"n\u00famero: \"));\n            if(num == 0 || isNaN(num)){\n                alert('Digite um numero valido.')\n\n            }\n\n        }while(num == 0 || isNaN(num))\n            var pares = ` Pares entre 1 e ${num} `\n\n            for(var contador = 2 ; contador &lt;= num; contador = contador + 2 \n             )\n             {\n\n                pares = pares + contador + ','\n            }\n\n        document.write(pares)\n        console.log(pares)\n    &lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n\n<strong>Objetos<\/strong>\n\n&lt;!DOCTYPE html&gt;\n&lt;html lang=\"en\"&gt;\n&lt;head&gt;\n    &lt;meta charset=\"UTF-8\"&gt;\n    &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"&gt;\n    &lt;title&gt;Orientacao a objetos&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n        &lt;script&gt;\n\n            const cliente = {\n\n                nome: 'Marcos',\n                curso: 'Desenvolvimento de sistesmas',\n                disciplinas: &#91;'Programacao web', 'sistemas',\n                    'Mobile'],\n                    professor: true,\n            }\n\n            document.write(typeof(cliente));\n            document.write('&lt;br&gt;');\n            document.write(cliente.nome);\n            document.write('&lt;br&gt;');\n            document.write(cliente.disciplinas&#91;2]);\n\n\n\n        &lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n\n\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Desvendando o Mundo da Programa\u00e7\u00e3o: Curso B\u00e1sico e Avan\u00e7ado de Algoritmos e JavaScript Exclusivo no Hotmart!<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"321\" src=\"https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/01\/hotmart.png\" alt=\"\" class=\"wp-image-162\" style=\"width:134px;height:auto\" srcset=\"https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/01\/hotmart.png 1000w, https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/01\/hotmart-300x96.png 300w, https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/01\/hotmart-768x247.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"https:\/\/go.hotmart.com\/V89811082M?dp=1\">https:\/\/go.hotmart.com\/V89811082M?dp=1<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/go.hotmart.com\/X90111663X?dp=1\">https:\/\/go.hotmart.com\/X90111663X?dp=1<\/a><\/p>\n\n\n\n<p id=\"block-59da62f3-7e98-47b5-907d-08ff3fc7597a\">CUPOM: DESVENDANDOOCODIGO<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">PR\u00d3XIMAS LIVES<\/h2>\n\n\n\n<ul>\n<li>15\/07\/2024 \u00e0s 19:00hs<\/li>\n\n\n\n<li>17\/07\/2027 \u00e0s 19:00hs<\/li>\n\n\n\n<li>18\/07\/2024 \u00e0s 19:00hs<\/li>\n\n\n\n<li>19\/07\/2024 \u00e0s 19:00hs<\/li>\n\n\n\n<li>20\/07\/2024 \u00e0s 10:00hs<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"558\" height=\"1024\" src=\"https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/07\/image-4.png\" alt=\"\" class=\"wp-image-1144\" style=\"width:242px;height:auto\" srcset=\"https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/07\/image-4.png 558w, https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/07\/image-4-163x300.png 163w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Ol\u00e1 Pessoal! Na Live do dia 14\/07\/2024 foram abordados os seguintes temas: Desvendando o Mundo da Programa\u00e7\u00e3o: Curso B\u00e1sico e Avan\u00e7ado de Algoritmos e JavaScript Exclusivo no Hotmart! https:\/\/go.hotmart.com\/V89811082M?dp=1 https:\/\/go.hotmart.com\/X90111663X?dp=1 CUPOM: DESVENDANDOOCODIGO PR\u00d3XIMAS LIVES<\/p>\n","protected":false},"author":1,"featured_media":1097,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[18],"tags":[],"_links":{"self":[{"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1151"}],"collection":[{"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1151"}],"version-history":[{"count":4,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1151\/revisions"}],"predecessor-version":[{"id":1156,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1151\/revisions\/1156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/media\/1097"}],"wp:attachment":[{"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}