This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
'use strict'; | |
/* | |
Crie dois objetos, que serão duas pessoas. Cada um deve ter as propriedades | |
`name` e `lastName`, preenchidos com o nome e sobrenome da pessoa. | |
*/ | |
const personOne = { | |
name: 'Cristiano', | |
lastName: 'Gonçalves' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(win, doc){ | |
/* | |
1. Envolva todo o conteúdo desse desafio em uma IIFE. | |
2. Adicione a diretiva 'use strict'; | |
3. Passe por parâmetro para a IIFE os objetos window e document. | |
4. Dessa vez não é necessário criar um HTML. Ele já existe, e vamos utilizar | |
a marcação criada nele para fazer nosso desafio ;) | |
O HTML NÃO PODE ser alterado! | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="coluna-esquerda"> | |
lorem ipsum | |
</div> | |
<div class="coluna-direita"> | |
lorem ipsum | |
</div> | |
<style> |
NewerOlder