Latest

 thumbnail

How to Add Options to Select Input with jQuery

February 02, 2022

In this tutorial, we will go through some of the different ways of adding a new option element to a select input field.&...

 thumbnail

JavaScript: Set Anchor href Attribute

January 28, 2022

To the anchor href attribute on an HTML element with JavaScript, access the .href property and set it to the value you n...

 thumbnail

Get File MIME Type in JavaScript

January 28, 2022

Getting the MIME type is a more robust way of finding what kind of data a file actually contains compared to checking th...

 thumbnail

How to Uncheck Checkbox in jQuery

January 28, 2022

To uncheck a checkbox in jQuery, use the .prop() function. Pass checked as the first argument (the attribute) and false...

 thumbnail

How to Get Type of Variable in PHP

January 28, 2022

Type checking will tell us what type of "thing" a variable is. In PHP we can get the variable data type using the built-...

 thumbnail

How to Add Fractions in Python

November 22, 2021
 thumbnail

How to Resize Linux Disk

November 03, 2021