Author: Victor
-

SCSS – Media & Container Queries
Introduction to Responsive Design Variables To kickstart a responsive design, a set of predefined breakpoints is essential. These breakpoints serve as the foundation for media and container queries that adjust styles based on viewport sizes or container dimensions. The SCSS snippet below defines a map of breakpoints: Responsive Design Snippet The SCSS snippet provided offers…
-

Javascript – Simplified AJAX Request functions
This JavaScript module introduces a concise and flexible way to handle HTTP requests with a primary request function and specialized get and post helper functions. The system is designed to support both GET and POST methods with easy parameter management and response formatting. Function Definition The request function serves as the core utility, enabling: Usage…
-

WordPress – Updating site URL directly in the Database
Introduction When moving a WordPress website to a new domain, it’s crucial to update the site’s URL to ensure that all references point to the correct location. This can be accomplished directly in the database using a series of SQL statements. SQL Update Statements The following SQL commands are designed to update various parts of…
-

SCSS – Color management unified approach
Introduction In digital design, colors convey meaning, set mood, and create coherence. Managing colors effectively across a project can be challenging, especially when dealing with multiple color formats such as HEX, RGB, and HSL. Our SCSS solution simplifies this by consolidating various color types into a single, manageable collection. The $colors Map We begin with…

