Álvaro Trigo  🐦🔥 Profile picture
Tweeting about Web Development tips, tricks and things I learn. I quit my job to work on fullPage.js https://t.co/x4RRZvwLf5.
Jun 1, 2021 12 tweets 2 min read
10 things entrepreneurs must learn from video games:
🧵👇 1⃣Luck happens
This is how it is. Games have always a component of luck.

The same applies to any business. There's always a component of randomness and luck you won't be able to control. Focus on positive outcomes and bets of small projects.
May 17, 2021 25 tweets 8 min read
Debug JavaScript like a pro!

Get to know the 22 methods.

Explanations inside 🧵👇 ◾️console.assert

Writes an error message to the console if the assertion is false.

If the assertion is true, nothing happens.
Mar 15, 2021 6 tweets 2 min read
5 front-end debug techniques that will save you hours debugging your pages: 🧵👇 1⃣Break on will stop the execution based on:

- Subtree modifications (adding/removing childs)
- Attribute modifications (changing attributes, clases...)
- Node removal

Specially useful when you do not know what part of the code modifies the DOM.
Mar 11, 2021 11 tweets 3 min read
Revealing the dark side entrepreneurship.

Being an entrepreneur is not for everyone.

Here's why 🧵👇 First of all, I want to clearly state that I'm quite happy being an entrepreneur.

I really enjoy the freedom it provides me and above all, the fact that I can work on what I like.

However, there are things on this path that are definitely not for everyone. 👇
Mar 9, 2021 11 tweets 2 min read
I've been developing websites since I was 16 and I always struggle with design.

However, I can still make decent looking websites.
How?

Here's what I do 🧵👇 1⃣Look for good designs

Like with photography, developing a good taste for design is something you can do by looking at many good designs.

I use pages like:

- dribbble .com
- awwwards .com
- behance .com
- pinterest .com
- onepagelove .com
Mar 3, 2021 12 tweets 3 min read
7 years ago I published my first open source project on Github.

10 things I learned since then and you can learn too 🧵👇 1⃣I learned how to use package managers

Now you'll have to create your own package and publish it online. I learned npm and bower but depending on your technology you can learn others. (bower, yarn, composer...)
Feb 25, 2021 13 tweets 3 min read
I've increased sales by 177% and revenue by 124%.

How?
Creating a bundle with all my existent products.

Here's what I did 🧵👇 I've been selling multiple products for about 5 years and I always wondered if I would be able to increase revenue by just creating a bundle for them.

I've always read it's a simple way of maximising revenue.

The question was: what price should I use for it?
Feb 22, 2021 23 tweets 5 min read
Revealing the dark side of open source projects

🧵👇 First of all I want to clearly state that open source has changed my life, allowed to quit my 9-5 job and dedicate my time to the things I love.

There are plenty of good things that come out of it, however, I'll be focusing on the dark side of it on this thread. 🌑