My Blog
How to Force the Footer to the Bottom of the Page with calc()
On web pages with very little content, the footer often fails to stay at the bottom of the screen, instead "sticking" immediately below the content an...
How to Prevent Global Page Scrolling (Scroll Chaining)
Have you ever been scrolling through a small window (div), and once you reached the bottom, the entire web page suddenly started moving? This is calle...
Installing and Upgrading PHP on Linux Ubuntu/Debian
PHP is the heart of your web server. In a Linux environment (Ubuntu or Debian), installing and maintaining PHP via the terminal is fast and efficient....
How to Create an Interactive Hamburger Icon
An interactive hamburger icon is a key element of mobile websites. It allows us to hide the navigation menu and display it only when the user needs it...
How to Properly Display Code and Paragraphs in HTML
When fetching text from a database, we often encounter the issue where the browser ignores all new lines and indentations. Without proper handling, al...
How to Securely Connect MySQL and PHP using PDO
When working with PHP and databases, security is paramount. Older connection methods (like `mysql_connect`) are obsolete and vulnerable. Today, we use...