Latest

How to Add Options to Select Input with jQuery
February 02, 2022In this tutorial, we will go through some of the different ways of adding a new option element to a select input field.&...

How to Generate Unique ID in JavaScript
February 01, 2022
Check if an Element is Present in an Array in JavaScript
January 29, 2022
How to Print File in JavaScript (Send to Printer)
January 29, 2022
JavaScript: Set Anchor href Attribute
January 28, 2022To the anchor href attribute on an HTML element with JavaScript, access the .href property and set it to the value you n...

Get File MIME Type in JavaScript
January 28, 2022Getting the MIME type is a more robust way of finding what kind of data a file actually contains compared to checking th...

How to Uncheck Checkbox in jQuery
January 28, 2022To uncheck a checkbox in jQuery, use the .prop() function. Pass checked as the first argument (the attribute) and false...

How to Get Type of Variable in PHP
January 28, 2022Type checking will tell us what type of "thing" a variable is. In PHP we can get the variable data type using the built-...

How to Get File Extension in Javascript
January 28, 2022
Round a Number to 2 Decimal Places in JavaScript
November 24, 2021
Convert Int to Binary in Python
November 24, 2021
How to use the Python OR Operator
November 24, 2021
How to Check a Number is Negative, Positive or 0 in Python
November 22, 2021
How to Group HTML Select Options with optgroup
November 22, 2021
How to Always Round-Up a Number in Python
November 22, 2021
How to Convert Hexadecimal to Binary in Python
November 22, 2021
Convert Hexadecimal to Decimal in Python
November 22, 2021
How to Add Fractions in Python
November 22, 2021
How to Add Two Hex Numbers in Python
November 16, 2021
How to Check a List is Empty in Python
November 16, 2021
Convert Image to Grayscale in Python
November 03, 2021
How to Resize Linux Disk
November 03, 2021