Mert Özen Go Beyond the Code

Blog

Posts and series that take software and IT from the basics to advanced topics: from programming languages and databases to architecture and AI.

Series
1990 posts found
JavaScript Events: Handling Clicks, Keyboard and Input with addEventListener
Frontend PART 15

JavaScript Events: Handling Clicks, Keyboard and Input with addEventListener

We listen to click, input, keydown and submit events with addEventListener, and learn about target and key on the event object, preventDefault, removeEventListener and why inline onclick is discouraged.

3 Nov 2026 7 min 89
Intro to the JavaScript DOM: Selecting, Changing and Creating Elements
Frontend PART 14

Intro to the JavaScript DOM: Selecting, Changing and Creating Elements

We meet the DOM tree the browser builds from HTML, select elements with querySelector, see why textContent and innerHTML differ and what XSS is, then change the page live with classList and createElement.

3 Nov 2026 8 min 94
JavaScript JSON: JSON.stringify, JSON.parse, try/catch and Deep Copies
Frontend PART 13

JavaScript JSON: JSON.stringify, JSON.parse, try/catch and Deep Copies

We learn JSON's syntax rules, indentation and replacers with JSON.stringify, which values get lost, JSON.parse and revivers, catching broken JSON with try/catch, and why structuredClone wins for deep copies.

3 Nov 2026 8 min 81
JavaScript Objects: Object Literals, Properties, Object.keys and structuredClone
Frontend PART 12

JavaScript Objects: Object Literals, Properties, Object.keys and structuredClone

We learn object literals, property access with dots and brackets, nested objects, methods and this, in and Object.keys/values/entries, for...in, shallow copies with spread and deep copies with structuredClone.

3 Nov 2026 8 min 91
JavaScript Functions: Declarations, Arrow Functions, Parameters and return
Frontend PART 11

JavaScript Functions: Declarations, Arrow Functions, Parameters and return

We learn function declarations, expressions and arrow functions, parameters and arguments, default parameters, return, passing functions as callbacks, function scope and how to write good functions.

3 Nov 2026 8 min 93
JavaScript Arrays: push, pop, slice, splice, Spread and the sort Trap
Frontend PART 10

JavaScript Arrays: push, pop, slice, splice, Spread and the sort Trap

We learn how to create arrays, access them with at(), push/pop/shift/unshift, slice vs splice, copying with spread, forEach, why sort gets numbers wrong, and the reference trap.

3 Nov 2026 9 min 85
JavaScript Number and Math: 0.1 + 0.2, Number Conversion, Random Numbers and Formatting
Frontend PART 09

JavaScript Number and Math: 0.1 + 0.2, Number Conversion, Random Numbers and Formatting

We learn JavaScript's single number type, the 0.1 + 0.2 precision issue, Number vs parseInt, NaN and bigint, rounding and random numbers with Math, and currency formatting with Intl.NumberFormat.

3 Nov 2026 10 min 115
JavaScript Strings: Template Literals, String Methods and Immutability
Frontend PART 08

JavaScript Strings: Template Literals, String Methods and Immutability

From quote types and template literals to at(), slice, includes, replaceAll, split and padStart, we learn how strings work, why they are immutable, and the Turkish İ and emoji length traps.

3 Nov 2026 8 min 86
JavaScript Loops: for, while, for...of and for...in
Frontend PART 07

JavaScript Loops: for, while, for...of and for...in

We use examples to cover for, while and do...while loops, for...of for arrays and strings, for...in for objects, break and continue, and the infinite loop trap that locks up the tab.

3 Nov 2026 8 min 78
JavaScript Conditionals: if/else, the Ternary Operator and switch
Frontend PART 06

JavaScript Conditionals: if/else, the Ternary Operator and switch

We use examples to cover if/else if/else chains, the ternary operator, fall-through and break in switch, truthy/falsy traps in conditions, the early return idea and writing readable conditions.

3 Nov 2026 8 min 75
JavaScript Operators: Arithmetic, Equality, Logical Operators and Truthy/Falsy
Frontend PART 05

JavaScript Operators: Arithmetic, Equality, Logical Operators and Truthy/Falsy

We cover arithmetic and assignment operators, comparisons, == versus === and coercion, truthy/falsy values, short-circuiting with && and ||, the ?? operator and precedence pitfalls.

3 Nov 2026 9 min 100
JavaScript Data Types: Primitives, Objects and typeof
Frontend PART 04

JavaScript Data Types: Primitives, Objects and typeof

We meet JavaScript's seven primitive types and objects, and use examples to see why typeof says "object" for null, why primitives are immutable, and how values differ from references.

3 Nov 2026 8 min 92
Blog Map