Love Coding – programming blog
Joanna
Beginner
Event delegation and event propagation in JavaScript
1. Event propagation Event propagation is the way events travel through the DOM tree. There are two directions of propagation: Example of event propagation Let’s assume we have the following HTML: And we add two event listeners: If you click on #child, you will see in the console: This happens because the event bubbles (it […]
Read more
Joanna
Beginner
CSS background image and color
In CSS, the background property is used very often. It lets you add background colors, images, gradients, and many other visual effects. By using background-image together with background-color, you can create nice-looking sections, banners, hero images, layouts, and full website designs. Background-color This is the simplest and most commonly used type of background. The background […]
Read more
Joanna
Code review: Common mistakes found in developers code
Code review is not only a learning opportunity for the person whose code is being reviewed. It is also a great way to spot recurring patterns of mistakes across the team. After reviewing dozens of pull requests, certain classics start to emerge – issues that appear regardless of a developer’s level of experience. Some of […]
Read more
Joanna
Security by Obscurity – Why Hiding Is Not Security
In the world of IT, it’s easy to come across practices that look clever at first glance but are little more than smoke and mirrors. One of them is security by obscurity – an approach where system protection relies mainly on hiding information to make it harder for an attacker to understand how things work […]
Read more
Joanna
Cognitive Biases in the World of IT
In the technology industry, dozens of decisions are made every day, from architectural choices and implementation details to estimates and broader product decisions. Many of these decisions are not based purely on knowledge or experience, but are influenced by psychological mechanisms that shape how problems are perceived, risks are evaluated, and consequences are anticipated. These […]
Read more
Joanna
5 years with code: the most important lessons that change how you think about being a web developer
The first years of commercial work in IT are an intense period of learning, not just technology, but most importantly how to function in a team and grow in the industry. During 5 years of working with code, I’ve come to understand several things that genuinely change how you think about projects, writing code, and […]
Read more
Joanna
Beginner
What are data- attributes in HTML and what are they used for?
Data- attributes in HTML – what are they and what are they used for? When writing a website in HTML, we often need to store some extra information about an element. This can be information that is not visible to the user but is useful in JavaScript or CSS – for example, it can be […]
Read more
Joanna
Beginner
Object destructuring in JavaScript
Object destructuring is a syntax in JavaScript that allows you to extract values from objects and assign them to variables in a straightforward way. This enables easy access to data stored in objects without having to reference the object’s properties each time.
Read more
Joanna
Medium
Midnight Commander (MC) and color customization in linux
Midnight Commander (MC) is a free and open-source file manager that provides a text-based user interface. It is available on numerous Unix-like systems, including Linux and macOS. It uses a two-panel layout, allowing users to view the contents of two directories simultaneously. This design makes it easy to move or copy files between directories. Due […]
Read more
Joanna
Multiple sliders on one page with simple jQuery slider
If you’re reading this post then you probably have problem with slider, that don’t work correctly if occurs several times on the same page. I have a solution to you – simple jQuery slider, that you can put on page as many times, as you want and it will be work as it should.
Read more