How to center elements using the box model

A common task for web development is center elements, we can center the elements horizontal and vertically. Center horizontal Center horizontally is so easy, our element needs to have a width size, if not our element will take all space possible. Set to 0 auto the margin, the element will take the same amount of…

From Vue to Svelte Syntax

I’m building a small app with Svelte,  my last 2 years I was coding with Vue, so I found small differences with Vue,  let me explain a bit how is going my journey writing a Svelte component. The password-strength project was build using the default svelte template, it generates main.js and src/App. svelte files, I…