-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
28 lines (22 loc) · 1.04 KB
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Objeto para ser renderizado no HTML
const myInformations = {
fotoPerfil: 'https://github.com/rodrigosilvaluz4.png',
nome: 'Rodrigo Luz',
//cargo: 'IT Specialist',
// Redes sociais:
github: 'https://github.com/rodrigosilvaluz4',
linkedin: 'https://www.linkedin.com/in/rodrigo-luz-97478b86/',
codepen: 'https://codepen.io/s3mpr1linux',
//Texto biografia:
minhaBio: 'IT professional specialized in Infra, Devops, Networks, e Cybersecurity'
};
// Passando dados do objeto:
document.getElementById('fotoPerfil').src = myInformations.fotoPerfil;
document.getElementById('nome').innerHTML = myInformations.nome;
//document.getElementById('cargo').innerHTML = myInformations.cargo;
//Redes sociais:
document.getElementById('github').href = myInformations.github;
document.getElementById('linkedin').href = myInformations.linkedin;
document.getElementById('codepen').href = myInformations.codepen;
//Texto da biografia:
document.getElementById('minhaBio').innerHTML = myInformations.minhaBio;