Entries by Jay Galaczi

CSS Inline and Block Elements

Block level elements will start a new line and will stack on top of each other. Block elements by default are: paragraphs headings lists and list items divs header footer main section and more. Inline elements stay in an existing line. A good way to remember inline elements is to think about links. You know […]

CSS Margin and Padding

Margin is the spacing between elements, like heading and paragraphs. Browsers all have their defaults. For heading and paragraphs, the default is the font size for both margin-top and margin-bottom. Centering with Margin Setting the left and right margin to auto on an element will let you center it. You can also do that in […]

Dell’s Technical Support Sucks (XPS 13)

I have bought a used Dell XPS 13 a couple months ago. I had Dell laptops in the past and I was very happy with their home support. I was traveling at the time and they have even managed to replace the motherboard of my laptop in China while on the road. After that I […]

Node global vs. window Object

You know how when you declare a variable with var in a browser, it will be added to the window object. That’s not the case with the global object. In node, every file is a module. If you want to use a variable outside a module, you have to export it and then import it. […]

The Difference Between Git and Github

Back when I started learning web development, I had no idea what Git and Github was. Later I learned that Git is a version control system. I had a vague idea what that is. But what is Github then? And how are they different? Git – A Version Control System Git is a free and […]

Center a Table with CSS

At first sight, centering a table with CSS seems like an easy task. You just apply text-align: center; on the container and it’s all set. Or is it? I have set up a simple table for demonstration purposes and added the text-align property to the body. body { text-align: center; } The result? It’s still […]

http Statuses Explained

1×× Informational 100’s are informational codes indicating that the request is continuing. 100 Continue: The server received part of the request and wants the rest before sending the response. 101 Switching Protocols: The server received the request, undestands it, and willing to coply with it, but it will update the protocol. 102 Processing: The server […]