Coderslang: Become a Software Engineer

  • Hey there 👋. If you want to learn to code, you’re in the right place.
  • To start learning from scratch I suggest the Full Stack JavaScript course
  • To improve your skills and prepare for the tech interview - a mobile app for iOS or Android
  • Below, you’ll find the links to contact me. And further, a list of interesting programming notes/articles. Feel free to send me a short message on Twitter, Telegram or a plain old email.
  • If you like to get a weekly newsletter with the latest programming tips and tricks, you can subscribe to it here. And get free programming ebooks.
  • Let’s go 🚀 !

How to center text in HTML

Before HTML5 there used to be a <center> tag that allowed you to center text on your web page. Now it’s deprecated. If you need to center the text on your HTML page, you should use the CSS property text-align....

August 15, 2022 · 1 min · Coderslang Master

How to capitalize each word in a string with CSS

When you’re working with CSS, there’s nothing easier than capitalizing each letter in string using the text-transform CSS property. To be fair, it’s way easier than capitalizing a string with Javascript....

August 14, 2022 · 1 min · Coderslang Master

How to run JavaScript code

Not all JavaScript programs are the same as you can use JS for backend, frontend and mobile development. Running JavaScript code depends on what kind of code it is. Frontend JS If you’re looking to run the JavaScript code that manipulates the DOM (document object model) and works within the context of the web page, then the best way to “run it”, would be to link the JS script to the HTML document and open this HTML in the browser....

August 13, 2022 · 2 min · Coderslang Master

What is the += operator in JavaScript

The addition assignment or the += operator does the addition and assignment in a single operation. To learn how it works, let’s first try to separate the assignment and the increment....

August 7, 2022 · 1 min · Coderslang Master

How to exit from a JavaScript function

You can exit from any JS function using the return keyword. It can be placed anywhere in your code. const exampleFunction = () => { console.log('hello'); return; console.log('world'); console.log('!'); } The example above is quite artificial, but it demonstrates how return works very well....

August 6, 2022 · 1 min · Coderslang Master

How to properly clear a timeout in JavaScript

A timeout in JavaScript is a useful tool to asynchronously delay the execution of the function. It requires 2 arguments: the function that you’d like to set for the async execution, and the delay after which the function will be called. ...

August 5, 2022 · 2 min · Coderslang Master

How to capitalize first letter of every word with JavaScript

In this tutorial you’ll learn how to change the first letter of every word to upper case using JavaScript. Capitalizing with split, for loop and join If you’re just getting started with JavaScript, then I suggest the most obvious step-by step approach to capitalizing each word in string....

August 4, 2022 · 2 min · Coderslang Master

How to check the latest version of the npm package

If you’re looking to find out what’s the latest version of a certain package, you can quickly check this information right in your terminal with the command npm view. Here’s how you can check the latest version of express:...

August 3, 2022 · 1 min · Coderslang Master

How to find the version of any installed npm package

In this short tutorial you’ll learn how to check the version of any installed npm package including the ones that have been installed globally using the -g flag. Locally installed packages To check the current versions of the npm packages for your project, you should navigate to the project directory where your package....

August 2, 2022 · 1 min · Coderslang Master

How to update all npm package.json dependencies to the latest version

It’s essential to keep all the node modules of your project up to date as the security patches go out. In this short tutorial I’ll teach you how to update all the node_modules to the latest version with a single command....

August 1, 2022 · 2 min · Coderslang Master