A Pen by CRISTIANO SANTOS GONCALVES on CodePen.
This file contains hidden or 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
## 30 dias 30 sites | |
1. **Dia 1:** Portfólio | |
2. **Dia 2:** Convite para Evento | |
3. **Dia 3:** Atração Turística | |
4. **Dia 4:** Site de Produto | |
5. **Dia 5:** Cardápio de Restaurante | |
6. **Dia 6:** Livro / Autor | |
7. **Dia 7:** Trailer de Filme | |
8. **Dia 8:** Fã-Clube de Celebridade |
This file contains hidden or 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> | |
<div> | |
<u></u> | |
<div style="font-family:sans-serif;font-size:14px;line-height:1.4;background-color:#f6f6f6;margin:0;padding:0"> | |
<table bgcolor="#f6f6f6" border="0" cellpadding="0" cellspacing="0" style="border-collapse:separate;width:100%;background-color:#f6f6f6" width="100%"> |
A Pen by CRISTIANO SANTOS GONCALVES on CodePen.
This file contains hidden or 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
export function creditCardMask(num: string) { | |
num = num.replace(/[^0-9]/g, ""); | |
num = num.replace(/(\d{4})(\d)/, "$1 $2"); | |
num = num.replace(/(\d{4})(\d)/, "$1 $2"); | |
num = num.replace(/(\d{4})(\d)/, "$1 $2"); | |
return num; | |
} | |
export function cpfMask(num: string) { | |
num = num.replace(/[^0-9]/g, ""); |
This file contains hidden or 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
{ | |
"html": [ | |
{ | |
"title": "Todas as tags", | |
"status": false | |
}, | |
{ | |
"title": "Semântica", | |
"status": false | |
}, |
This file contains hidden or 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 validateOfferMan(){ | |
var bonusPL = document.getElementById("inputbonusPL").checked; | |
var bonusRescue = document.getElementById("inputbonusRescue").checked; | |
var bonusMonths = document.getElementById("inputbonusMonths").checked; | |
var offer10da = document.getElementById("inputOffer10da").checked; | |
var bonus1real = document.getElementById("inputBonus1real").checked; | |
var offerPoints = document.getElementById("inputofferPoints").checked; | |
var offers = bonusPL + bonusRescue + bonusMonths + offer10da + bonus1real + offerPoints; |
This file contains hidden or 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 myFunction() { | |
let a = 2; | |
function otherFunction() { | |
console.log( a + b ); | |
} | |
otherFunction(); | |
} | |
let b = 3; | |
myFunction(); // 5 |
This file contains hidden or 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 myFunction() { | |
let a = b; | |
console.log(a); | |
} | |
myFunction(); // Reference Error |
NewerOlder