Programming Tutorials

On SkillSugar we have a collection of curated programming tutorials covering the most popular languages such as Python, JavaScript and PHP.

 

All of the coding examples found in tutorials featured on SkillSugar have been tested and are written according to modern standards. Our goal is to make programming tutorials easy to consume without huge walls of text, but at the same time providing important details about how each functionality behaves in a particular programming language.

Latest

 thumbnail

Round a Number to 2 Decimal Places in JavaScript

November 24, 2021

To round a number to decimal places in Javascript, use either the .toFixed() or Math.round() function. In this tutorial...

 thumbnail

How to Group HTML Select Options with optgroup

November 22, 2021

Grouping HTML select options is a great way to make the options available more readable to the user. In this tutorial, w...

 thumbnail

How to Always Round-Up a Number in Python

November 22, 2021

To always round up a number regards whether the decimal place to evaluate it closer to 0 than 9 or not use the ceil() fu...

 thumbnail

How to Convert Hexadecimal to Binary in Python

November 22, 2021

To convert hexadecimal to binary form, first, convert it to a decimal with the int() function, then use the Python bin()...

 thumbnail

Convert Hexadecimal to Decimal in Python

November 22, 2021

To convert a hexadecimal value to decimal in Python, use the built-in int() function. Pass the hex number as the first n...

 thumbnail

How to Add Fractions in Python

November 22, 2021
 thumbnail

How to Resize Linux Disk

November 03, 2021