#ResidentEvil Characters assemble campaign
Follow & Retweet to hear from an RE character!
Try to win an Amazon gift code!
Try once a day
Today is Day 1
How to Participate
1) Follow @REBHPortal
2) Retweet this post by 12/9 18:59 (PST)
Terms of Service
https://t.co/T6IuZwAqfH
¡Ya tengo mi ticket 🎟 para la #MiduConf!
Conferencia de Desarrollo y Programación Web.
¡Totalmente GRATIS! ¡Consigue el tuyo!
⬇️ https://t.co/lmz2vAQTkx
CSS units and some use cases!
Sometimes it can be very confusing to know which one to use when 😬
My default use:
- rems for font sizes
- px for borders
- ems for other measures, like paddings, margins, etc.
- % for container widths when necessary
What's your preference?
I've just completed some front-end coding challenge from @frontendmentor! 🎉
You can see my solution here:
- Todo App: https://t.co/4sZzWwVVL2
- Advice Generator: https://t.co/iOeib7S97K
Any suggestions on how I can improve are welcome!
#FrontendMentor#CodeChallenge
@aaliyanafis You can reach your goal with this code.
const splitWords = (target, n) => {
let result = [];
for (let i = 0; i < target.length; i += n) {
result.push(target.substr(i, n));
}
return result;
};
console.log(splitWords('javascript', 3)); // ['jav', 'asc', 'rip', 't']