CSS is seen as an impediment in web development for many of us. Most of the time it looks like even when you follow the rules and everything seems clear, it still doesn’t work the way you want it to.
Therefore, the purpose of this article is to make some features of CSS much easier to understand.
The thing I want to address now is the alignment of the elements.
Without further ado, here are some of the most common scenarios one might encounter when it comes to this topic and how they can be approached.
As the complexity of the web applications and the number of actions the user can perform in a specific direction increases, it becomes increasingly difficult to maximize UX efficiency and also keep the interface clean.
A good approach for this situation is to display the actions a user can take in a customized context menu, rather than creating UI buttons all over the place.
I’ll use Gmail as an example to show what I mean.
Writing conditional code can be seen as something very simple and straightforward, which you learn once and then always do that way.
However, even the simplest things can be improved.
Here are some short tips you can use to write better conditional expressions:
Recently I decided the be more involved in the open-source community and because of my limited free time, I thought that I should start by creating libraries and helpful repositories in the spare time.
For some of them, it turned out that setting up a toolchain in Webpack for projects was, if not more, then at least as time-consuming and difficult as building the library itself.
The most interesting case is related to the most recent module that I’ve published, which is nothing more than a simple wrapper around an API (REST).
What was special about this situation was that…
Depending on what you do, there are often a few tools that you use from time to time that help you in your work. Some of them can even have daily use.
Here is an organized list of the top resources I use the most while working as a web developer.
This list contains resources in the form of tools, websites and even articles.
Their order is random, based on their order that they appear in my bookmarks :)
Downloading files is an essential aspect of surfing the internet. Tons of files are downloaded from the internet every day, from binary files (such as applications, images, videos, and audio) to plain text files.
If you have a web developer and you want to add this feature to your application, here is how you can do it.
We will inspect 3 different approaches:
The first and…
So, you want to create a web application but you have large amounts of data that you need to keep organized and stored efficiently? This article is all you’re going to need.
In case you’ve missed the recent trends in technology, object storage is a concept that has arisen out of the need for better data storage for big data. Through this form of storage, where data is stored as “objects” in a flat hierarchy, you can conserve the quality of your data while making it easy to retrieve through unique metadata. Sounds promising?
If you already knew what this…
If you clicked on this article, you probably want to integrate a weather API into your application. Maybe this is a requirement and your application is heavily oriented around weather data, or maybe just an enhancement. The idea is that you need to acquire some weather information and do something with them.
Most APIs use REST, GET, and POST calls to communicate with clients and send required data. Often, you have to create a long URL for a GET request or a complex POST body with some other headers as well. …
Do you have a NestJS application and want to connect it to a MongoDB database?
Here are the steps you can take to do this.
To create a new database in the MongoDB server, we need to have the database server up and running and be able to start an interactive shell.
My database is a development database and runs on my local machine through a Docker container.
If you have the same configuration, connect to the container and run the
If you have installed MongoDB directly on your machine, then simply run
mongo in a new terminal…
As developers, we usually work and manage multiple applications simultaneously, and even though those applications may have the same tech stack, they may use different versions of the technology.
In this scenario, it becomes crucial to be able to quickly adapt your local development environment to suit the application you want to focus on.
Switching from one version of a programming language or framework to another can be relatively simple, but doing the same for a database becomes difficult.
However, using Docker to run a database server in a container instead of installing it directly on your local computer can…