Skip to content

Instantly share code, notes, and snippets.

@brenonovelli
Created October 27, 2020 02:55
Show Gist options
  • Save brenonovelli/38b88516f3f5ab56b8fe996883e0f91f to your computer and use it in GitHub Desktop.
Save brenonovelli/38b88516f3f5ab56b8fe996883e0f91f to your computer and use it in GitHub Desktop.
/**
* Text for Instagram Icon
*/
// Novo texto do ícone
const new_label_icon_instagram_header = "Instagram";
// Elemento do ícone
const icone_header_instagram = document.querySelector(
".lista-redes .icon-instagram"
);
// Inserindo elemento no ícone
icone_header_instagram.insertAdjacentHTML(
"afterend",
new_label_icon_instagram_header
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment