Often web developers need to horizontally and vertically center div in CSS. Here is how to horizontally center div in CSS.
Author: Sreeram Sreenivasan
How to Change HTML Input’s Placeholder Color with CSS
Sometimes web developers need to change placeholder color of input text and textarea. Here is how to change HTML input’s placeholder color in CSS.
How to Read Large File in Python
Sometimes software developers need to process large files in Python script or application. Here is how to read large file in Python.
How to Concatenate Multiple MySQL Rows into One Field
Often database programmers need to concatenate multiple MySQL rows into one field. Here is how to do this using group_concat() function.
How to Detect Click Outside Element in JavaScript
Sometimes you may need to detect click outside element in JavaScript. Here is how to determine if click was made outside HTML element.
How to Know Which Radio Button is Selected Via jQuery
Most websites and applications use HTML radio buttons to display choices for users to select. Often web developers need to determine which radio button is selected by users. This is required to find out and save user input. There are several ways to do this in jQuery library, which makes it very easy to work […]
How to Resolve Merge Conflicts in Git
Often software developers encounter merge conflicts in git while committing changes. Here is how to resolve merge conflicts in Git.
How to Execute System Command in Python
Software developers need to execute shell commands from Python. Here is how to execute program or system commands in Python.
How JavaScript Closures Work
Often web developers want to learn how closures work in JavaScript. Here is how JavaScript closures work.
How to Check Whether String Contains Substring in JavaScript
Often web developers need to check if a given string contains a substring. Here is how to check whether string contains substring in JavaScript.