Entries by jay

How to write ES6 code that’s safe to run in the browser

Intro Since being introduced in 2015, browsers have been gradually supporting more and more of the handy features of ES6. This is music to the ears of developers who want a move away from the constraints and quirks of ‘old JavaScript’. But there are some features (notably module imports/exports) that aren’t quite fully compatible with […]

A Look at Javascript Nodelist vs. HTMLCollection vs. DOMTokenList

Working with the DOM using vanilla Javascript has never been easier. You no longer need JQuery to select parts of a website. Still, there are a few things you should know before you can confidently select and modify HTML elements. The Nodelist When you use document.querySelector, you get back a Nodelist. A Nodelist is simply […]

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 […]

Interpreted vs. Compiled Programming Languages

There are generally two types of programming languages: interpreted and compiled. There is little difference in terms of the possibilities of the language used, because “compiled programming language” and “interpreted programming language” are not in themselves meaningful word constructs. Any programming language can be interpreted or compiled in principle. Interpretation and compilation are thus rather […]

What is a Web Developer?

There are typically two reasons people reach this page. They are either looking to hire a web developer, or they want to learn to program, and they would like to find out more about the field. In this article I try to provide information for both visitors. You will understand who is a web developer, […]

Who Controls The Internet?

Before we can answer who is in control of the Internet, it’s good to know a little about the history and fundamentals of it. The first successful message over the Internet was sent in 1969 from UCLA to Stanford. They tried to send the word “login.” They were able to send “lo” and then the […]

Javascript Limitations

When a programming language changes as fast as Javascript, browsers need time to catch up with it. That’s why support for some of the ES6 (ECMA2016) is spotty on some browsers. The biggest limitation I see with Javascript is the way it handles numbers. If you do anything with floating numbers, the result won’t be […]