Skip to content

Instantly share code, notes, and snippets.

View sebastianjnuwu's full-sized avatar

SEBASTIAN JN sebastianjnuwu

View GitHub Profile
@sebastianjnuwu
sebastianjnuwu / particles.css
Last active May 5, 2023 15:26
"Particles can be customized in terms of color, size and speed, creating a dynamic and eye-catching visual effect."
.particle, .particle:after {
background: transparent;
}
.particle:after {
top: 2560px;
}
.particle-1 {
animation: animParticle 15s linear infinite;
const translate = require('translate-google');
const axios = require('axios');
axios.get('https://api.adviceslip.com/advice').then(function (e) {
translate(e.data.slip.advice, {to: 'pt'}).then(s => {
console.log(s)
});
});