About: Lambros Hatzinikolaou
Website: https://lambroshatzinikolaou.com
Bio: I'm a web developer working remotely from Thessaloniki, Greece.
I have a passion for creating websites that not only look great but also help small businesses and professionals turn visitors into customers.
Posts by Lambros Hatzinikolaou :
Converting data types in JavaScript with simple examples
Posted on: 29 Jul 2025
JavaScript is a dynamically typed — also known as untyped — language. Typing is the process of defining the data type of a variable. In dynamically typed languages, typing is associated with the variable’s value and not the variable itself. Thus, in JavaScript, variables don’t need to specify a certain data type when they are …
Continue reading “Converting data types in JavaScript with simple examples”
Exploring Data Types in PHP with examples
Posted on: 27 Jun 2025
In programming, we instruct computers to do things, and we call these instructions programs. We can write programs using different programming languages, the same way we can communicate with other humans using different human languages. Each language consists of rules that dictate how to use data, and each data has a type. The operations that …
Continue reading “Exploring Data Types in PHP with examples”
What are Cookies and Sessions and How they work. Simple examples
Posted on: 06 Jun 2025
Sessions and cookies are useful mechanisms that allow us to store data about a user’s activities on a website. But they do it differently and they server different purposes. We are going to dig-in both in this article. Cookies On an e-commerce website, we can put things we consider buying in a shopping cart or …
Continue reading “What are Cookies and Sessions and How they work. Simple examples”
Should We Use Semicolons in JavaScript or not?
Posted on: 19 May 2025
In JavaScript, closing a line of code with a semicolon is not mandatory. This is because JavaScript uses a set of rules called ASI (Automatic Semicolon Insertion) to, as the name implies, automatically place a semicolon if it determines that a line break is also the end of a statement. For example: Notice how the …
Continue reading “Should We Use Semicolons in JavaScript or not?”
Using the BEM methodology in CSS with simple examples. Advantages & Reasons To Use
Posted on: 30 Apr 2025
Working on an extensive development project with a lot of pages, a lot of CSS selectors, and different developers involved, makes the maintenance of the CSS styles difficult. Problems regarding CSS specificity often arise, and the altering of components in one area may affect components in another area, and so on. In order to deal …
PHP | How To Perform Different Actions Based On Various Conditions
Posted on: 24 Mar 2025
When we want to submit a form by clicking the Send button or show a warning message next to empty required fields, we use conditional statements. With the use of conditional statements, we can evaluate conditions and determine which code should be executed. We create conditional statements using the if, else, elseif, and switch keywords …
Continue reading ” PHP | How To Perform Different Actions Based On Various Conditions”
What is a Function in PHP? Definition and Easy Examples
Posted on: 26 Feb 2025
A function is a block of code designed to repeatedly carry out a certain task. As a result of using functions, we have cleaner, easier to maintain, and more legible code. Let’s see an example: (click on the image to open in a new tab) This is an example of a function converting Celsius degrees …
Continue reading “What is a Function in PHP? Definition and Easy Examples”
What Does NaN (Not a Number) Represents in JavaScript?
Posted on: 13 Feb 2025
The NaN value is one of the most misunderstood values in JavaScript. This is because the NaN type has some special behaviors that often create confusion. Let’s see if we can explain these behaviors in simple terms. In JavaScript, NaN is a property of the global object In simpler terms, it’s a variable that exists …
Continue reading “What Does NaN (Not a Number) Represents in JavaScript?”