Learn JavaScript 🔥
It's the safest bet you can do.
You can build almost anything with it:
🔹 Front End
🔹 Back End
🔹 Mobile Apps
🔹 Desktop Apps
🔹 Machine Learning
🔹 DevOps
Let's go through them 🧵👇
🔹 Front End
This one should be obvious.
JavaScript was built for the Front End.
With the rise of libraries and frameworks such as React, Vue, Angular, and Svelte, JavaScript has become the one and only preferred language to build interactive Front Ends for the web.
🔹 Back End
You've probably heard of NodeJS.
NodeJS is a tweaked version of the V8 engine that lets it access the filesystem.
This enables JavaScript to run on a server.
Its event-driven, asynchronous nature makes it pretty good at it as well 🔥
🔹 Mobile Apps
React is easily the most popular choice for Web Apps.
But did you know about React Native?
You can use it to create Native Mobile Apps using JavaScript.
No Webviews - a React Native App actually runs natively* on your phone on both iOS and Android.
* (almost)
🔹 Desktop Apps
Yes, that's right!
You can build cross-platform desktop apps with JavaScript, using the popular framework, Electron.
You'd probably be surprised by how many of your favorite Desktop Apps are running on Electron.
- VSCode for one 😎
🔹 Machine Learning
Yes, yes. I know.
Python owns Machine Learning.
Yet, with TensorFlow.js, you can develop ML models in JavaScript, and use ML directly in the browser or in Node.js!
It's getting wildly popular 🔥
🔹 DevOps
Finally, you can use JavaScript in the DevOps world.
In fact, JavaScript is the most widely used language for AWS Lambdas, which are often used in advanced CI/CD pipelines.
Popular tools like Pulumi also allows you to write infrastructure-as-code with JavaScript.
JavaScript is one of the most in-demand and well-paid skills in the development world.
The JavaScript community is bar far the largest, and within the next 5-10 years, you will see an even more increasing portion of the web fuelled on JavaScript.
> You should never offer your work for free.
> Don't use Upwork or Fiverr.
> Use value-based pricing, not hourly or fixed pricing.
Let me explain why these statements are wrong 🧵👇
👉 You should never offer your work for free.
This will signal your "worth" and your "value".
It's also a perfect way to drive your market prices to the bottom, taking everyone down with you.
These are arguments that you often hear.
Well, if no one is going to hire you, you are already worth nothing. Zero. Per definition. No money is coming your way.
Offering your work for free is a terrific way to build up initial customer relationships and reputation!
Ask for a review in return instead of compensation.
14 Array Methods that will make your life easier.
Explanation and examples below.
🧵👇
🔸 map
The map() method creates a new array populated with the return value of the callback function for each element in the array.
🔸 forEach
The forEach() method executes a provided function once for each array element.
The callback function does not expect a return value, and the forEach() method itself also returns undefined.