Just an CSS-only experiment that I wanted to share. =) I'm still improving it.
Tested on Google Chrome, Firefox and Opera.
Check out on CodePen.
for (var n = 0; n < 100; n++) { | |
var word = '' | |
if (n % 3 === 0) word += 'Fizz' | |
if (n % 5 === 0) word += 'Buzz' | |
console.log(word || n) | |
} |
Just an CSS-only experiment that I wanted to share. =) I'm still improving it.
Tested on Google Chrome, Firefox and Opera.
Check out on CodePen.
function verificar() { | |
var dados = document.getElementById("dados"), | |
t1 = document.getElementById("t1").value, | |
t2 = document.getElementById("t2").value, | |
t3 = document.getElementById("t3").value; | |
if (t1 == t2 && t2 == t3 && t1 == t3) { | |
dados.triangulo.value = "Isosceles"; | |
} | |
Opened with :hover.
See the result of this example on CodePen.