fieldsmarshall.comSimple Encryption for .env files in Node.jsEncrypting your .env file in a Node.js project helps protect sensitive environment variables, such as API keys and database URLs, especially when sharing code or deploying applications. This approach allows you to keep these details secure while stil...Nov 7, 2024·4 min read
fieldsmarshall.comTypography on the Web using CSSFont Families and Font Stacking In CSS, fonts are categorized into five distinct families: Serif fonts: These fonts are characterized by tiny strokes at the terminations of each letter. They exude a feeling of sophistication and classic elegance. S...Oct 13, 2023·8 min read
fieldsmarshall.comUnits in CSSCSS has many different units for measuring and expresssing length but in an effort to be quick and accurate - they fall into two categories: Absolute and Relative. Absolute Lengths - where the units are fixed px for pixels ( Note: pixels are relati...Oct 12, 2023·7 min read
fieldsmarshall.comColors in CSSUsing the CSS Language There are 6 Common Ways to Specify Colors: Named Colors: CSS includes a predefined set of named colors, like red, blue, yellow, etc. There are approximately 140 standard color names. Here are the colors sorted by their names:...Oct 6, 2023·7 min read
fieldsmarshall.comCSS Combinators - An OverviewFirst, a quick review of selectors. CSS selectors define which elements you want to style. There are three types of CSS selectors: element, id and class. nav { /* Here we have an element selector - making text blue in this section */ color: ...Oct 4, 2023·4 min read