// notes/

Coding tips

Coding tips and build notes by Mahir Faysal, a student web developer in Bangladesh: tested Python, HTML, CSS, JavaScript and PHP tutorials, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

JavaScript map, filter and reduce Explained
Coding tips

JavaScript map, filter and reduce Explained

JavaScript map, filter and reduce explained with practical examples: transform, keep and combine array items, chain them, and avoid the classic mistakes.

October 2, 2026 · 11 min read

PHP Form Validation and Sanitization Guide
Coding tips

PHP Form Validation and Sanitization Guide

How to validate and sanitize PHP form input: trim, filter_var, mb_strlen and allow-lists, then escape output with htmlspecialchars, add CSRF and redirect.

October 2, 2026 · 11 min read

PHP PDO Prepared Statements for Beginners
Coding tips

PHP PDO Prepared Statements for Beginners

Learn PHP PDO prepared statements with MySQL: connect safely, insert, select, update and delete, plus LIKE, IN lists, LIMIT, transactions and SQL injection.

October 2, 2026 · 11 min read

Python List Comprehension Examples Explained
Coding tips

Python List Comprehension Examples Explained

Python list comprehension examples I actually use: basic syntax, filtering with if, if/else, nested loops, dict and set comprehensions, and common mistakes.

October 2, 2026 · 10 min read

Python f-Strings: Formatting Examples
Coding tips

Python f-Strings: Formatting Examples

Python f-string formatting examples for decimals, thousands separators, percentages, alignment, dates and = debugging, plus what's new in Python 3.12 and 3.14.

October 2, 2026 · 9 min read

HTML Semantic Tags Explained With Examples
Coding tips

HTML Semantic Tags Explained With Examples

HTML semantic tags explained with examples: header, nav, main, article, section, aside and footer, when to use each, and the div mistakes to avoid.

October 2, 2026 · 8 min read

// filter

You are inside a slice of the notes.

This view is only the category, tag, or search you asked for. Sample warnings still apply on any article that carries them. Drafts are still hidden. The full list is the learning notes page, which also explains how a note is written and why some posts are marked Sample.