Daniel Hernandez retweeted
I wrote a VSCode extension that allows you to use ChatGPT within the context of your code 🔥
You can click on code blocks to paste them into the editor, or use a selected code snippet as a reference.
The extension is on GitHub if you want to check it out github.com/mpociot/chatgpt-v…
Daniel Hernandez retweeted
The Islands Architecture is cool: server-render HTML with small "islands" that get interactive independently.
Explainer by @_developit: bit.ly/islands-a
Etsy's usage w/Preact: bit.ly/islands-b
Patterns incl w/Astro: bit.ly/islands-c

ALT Island architecture is the idea of using partial hydration to build entire websites. Island architecture is an alternative to the popular idea of building your website into a client-side JavaScript bundle that must be shipped to the user. In an “islands” model, server rendering is not a bolt-on optimization aimed at improving SEO or UX. Instead, it is a fundamental part of how pages are delivered to the browser. The HTML returned in response to navigation contains a meaningful and immediately renderable representation of the content the user requested. — Jason Miller
Replying to @LeonidasEsteban
@LeonidasEsteban puedes compartir una foto de tu colección de libros JS por favor 🙏
Daniel Hernandez retweeted
Want to be a wizard with CSS border-radius? ✨
I made a little tool to help visualize it ⚒️
This will help with creating those awkward rounded shapes in your CSS illustrations 👍😎
💻 codepen.io/jh3y/pen/XWmvwYg via @CodePen
Daniel Hernandez retweeted
Que te digan que para llegar a tu perfil laboral y contratarte tuvieron que hablar con 50 personas antes, no tiene precio!
Daniel Hernandez retweeted
Todos los frontends deberían usar esta app manojvivek.github.io/respons…
Daniel Hernandez retweeted
#DevTools Tip ⚡️ Copy and extract all the CSS for an element on the page
Right click element > Copy > Copy Styles
Useful as styles can often be scattered across many selectors! ⭐️
Daniel Hernandez retweeted
JavaScript Tip 💡️ You can toggle a class on and off an element with the .toggle() method:
element.classList.toggle('hey')
If the class is already on the element, it is removed. Otherwise it is added.
Daniel Hernandez retweeted
El futuro llegó: JavaScript autocompletado por AI
Una herramienta increíble. Wow.
kite.com/blog/product/kite-l…
Daniel Hernandez retweeted
⚡️ CSS Tip! Use the :empty pseudo class selector to target empty elements on the page. Helpful when you have success/error messages which may not always have content in them.
Daniel Hernandez retweeted
HTML Tip ⚡️ The download attribute on an anchor tag pops up a Save dialog to download the resource, instead of navigating to it. e.g.
<a download href="cat.jpg">
Download cat pic
</a>
Daniel Hernandez retweeted
Si usas for..in con un array, te va a dar los índices. Si los usas con un objeto, te da los keys.
for..of solo funciona con iterables. Con un array te da los elementos. Un objeto normal no es iterable, así que no funciona.
Replying to @sparragus @kenwheeler
Cuáles son las diferencias de for of y for in?, yo por costumbre uso for in
Daniel Hernandez retweeted
TIL the CSS "-webkit-line-clamp" property truncates multi-line text: bit.ly/lineclamp. It's supported in Chromium, Firefox and Safari! bit.ly/caniuse-lc
Truncate multi-line text in CSS
Este fue mi último mes de aprendizaje en @platzi. Busca el tuyo y #NuncaParesDeAprender platzi.com/@daviheso/review/…
Signed up for a free Followerwonk account for in-depth Twitter analytics and insights: followerwonk.com
Daniel Hernandez retweeted
#BOGOTÁ. Una persona se habría lanzado desde el cuarto piso del centro comercial Titán Plaza, noroccidente de la capital del país. Hasta el momento se desconocen detalles de los sucedido.
EN DESARROLLO.
I just downloaded The JWT Handbook 📖 by @auth0. Everything you wanted to know about JWTs in one place. Check it out! auth0.com/resources/ebooks/j…













