hello.js

var please = require('share');
console.log('thank you');

NEW !!!

Friday, 21 February, 2020 UTC

TypeScript 3.8 adds type-only imports and exports

TypeScript 3.8, a new version of Microsoft’s typed superset of JavaScript, is now available as a production release. The latest TypeScript upgrade emphasizes type-only imports and exports and ECMAScript standards compliance. The release adds a new syntax ... more


Friday, 21 February, 2020 UTC

javascript: Add a Node to Your HTML with document.appendChild

This lesson goes over how to create an HTML element and add it to our document. We do this by creating an element with `document.createElement`. Once we have the element created, we can use `document.appendChild` to add our element to our HTML. We then ... more


Friday, 21 February, 2020 UTC

How To Build A Simple Cryptocurrency Blockchain In Node.js

How To Build A Simple Cryptocurrency Blockchain In Node.js How To Build A Simple Cryptocurrency Blockchain In Node.js Alfrick Opidi 2020-02-21T10:30:00+00:00 2020-02-21T10:45:11+00:00 The unprecedented rise of cryptocurrencies, and their underpinning ... more


Friday, 21 February, 2020 UTC

TypeScript 3.8 Adds Private Fields and Top-Level Await

The TypeScript team announced the release of TypeScript 3.8, which includes type-only imports and exports, private fields, and top-level await. By Dylan Schiemann ... more


Thursday, 20 February, 2020 UTC

WebStorm 2020.1 EAP #5: Running Prettier on Save and Coding Assistance for Vuex Store Symbols

WebStorm 2020.1 EAP build #5 is now available! If you’re unfamiliar with our Early Access Program or if you want to catch up on all the new features, check out our previous EAP blog posts. The Toolbox App is the easiest way to get the EAP builds and ... more


Thursday, 20 February, 2020 UTC

Footnote Characters

There are special superset number characters that are sometimes perfect for footnotes. Here they are: ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ I generally prefer to superscript the number myself, like: <p>This next word<sup>1</sup> has a footnote.</p> ... more


Wednesday, 19 February, 2020 UTC

Release Notes for Safari Technology Preview 101

Safari Technology Preview Release 101 is now available for download for macOS Catalina and macOS Mojave. If you already have Safari Technology Preview installed, you can update in the Software Update pane of System Preferences on macOS. This release ... more


Wednesday, 19 February, 2020 UTC

Alpine.js mixes Vue, React, and minimalism

A minimal JavaScript framework, Alpine.js, promises a blend of the reactive and declarative nature of frameworks such as Vue or React but at a lower cost in terms of learning curve or complexity. With Alpine.js, developers can keep their DOM and add ... more


Wednesday, 19 February, 2020 UTC

Show PDF Files within Your ASP.NET Web Form Page in No Time

Get to know the new PdfViewer for Telerik UI for ASP.NET AJAX. We'll dive into its rich functionality and help you get familiar with everything it can bring to your web apps. Have you heard the great news that one of the most anticipated components coming ... more


Wednesday, 19 February, 2020 UTC

Same HTML, Different CSS

Ahmad Shadeed covers the idea of a card component that has a fixed set of semantic HTML with some BEMy classes on it. There is a title, author, image, and tags. Then he redesigns the card into five totally different designs without touching any of the ... more


Wednesday, 19 February, 2020 UTC

Fixing memory leaks in web applications

Part of the bargain we struck when we switched from building server-rendered websites to client-rendered SPAs is that we suddenly had to take a lot more care with the resources on the user’s device. Don’t block the UI thread, don’t make the laptop’s ... more


Wednesday, 19 February, 2020 UTC

JavaScript's Destructuring Assignment

Introduction If you wanted to select elements from an array or object before the ES2015 update to JavaScript, you would have to individually select them or use a loop. The ES2015 specification introduced the destructuring assignment , a quicker way to ... more


Wednesday, 19 February, 2020 UTC

How To Use The HTML Drag-And-Drop API In React

How To Use The HTML Drag-And-Drop API In React How To Use The HTML Drag-And-Drop API In React Chidi Orji 2020-02-19T11:00:00+00:00 2020-02-19T11:36:35+00:00 The drag-and-drop API is one of the coolest features of HTML. It helps us implement drag-and-drop ... more


Wednesday, 19 February, 2020 UTC

Forms, File Uploads and Security with Node.js and Express

If you’re building a web application, you’re likely to encounter the need to build HTML forms on day one. They’re a big part of the web experience, and they can be complicated. Typically the form-handling process involves: displaying an empty HTML form ... more


Tuesday, 18 February, 2020 UTC

Node v13.9.0 (Current)

Notable changes async_hooks add executionAsyncResource (Matteo Collina) #30959 crypto add crypto.diffieHellman (Tobias Nießen) #31178 add DH support to generateKeyPair (Tobias Nießen) #31178 simplify DH groups (Tobias Nießen) #31178 add key type 'dh' ... more


Tuesday, 18 February, 2020 UTC

An extremely fast JavaScript bundler and minifier

Why build another JavaScript build tool? The current build tools for the web are at least an order of magnitude slower than they should be. I’m hoping that this project serves as an “existence proof” that our JavaScript tooling can be much, much faster. ... more


Tuesday, 18 February, 2020 UTC

Node v12.16.1 (LTS)

Notable changes Node.js 12.16.0 included 6 regressions that are being fixed in this release Accidental Unflagging of Self Resolving Modules : 12.16.0 included a large update to the ESM implementation. One of the new features, Self Referential Modules, ... more


Tuesday, 18 February, 2020 UTC

Use ipdata’s Geolocation Data to Protect & Customize Your Site

This article was created in partnership with GoGetSSL. Thank you for supporting the partners who make SitePoint possible. Modern websites are becoming more and more effective at customizing content based on their visitors’ location. They can redirect ... more


Tuesday, 18 February, 2020 UTC

How to Build Vue Components in a WordPress Theme

Intrigued by the title and just wanna see some code? Skip ahead. A few months ago, I was building a WordPress website that required a form with a bunch of fancy conditional fields. Different options and info were required for different choices you could ... more


Tuesday, 18 February, 2020 UTC

Web Component for a Code Block

We'll get to that, but first, a long-winded introduction. I'm still not in a confident place knowing a good time to use native web components. The templating isn't particularly robust, so that doesn't draw me in. There is no state management, and I like ... more


Tuesday, 18 February, 2020 UTC

Integrating MongoDB with Python Using PyMongo

Introduction In this post, we will dive into MongoDB as a data store from a Python perspective. To that end, we'll write a simple script to showcase what we can achieve and any benefits we can reap from it. Web applications, like many other software ... more


Tuesday, 18 February, 2020 UTC

How I think about solving problems

Early on in my career as a software developer I thought my primary contribution was writing code. After all, software engineers are paid to ship software and writing code is a key component of that. It took several years for me to realize that there ... more


Tuesday, 18 February, 2020 UTC

Customer Story: How Unidata Uses WebStorm

Today we’d like to share with you how WebStorm is used by the UI team at Unidata, an IT company with offices in Russia, Germany, and Switzerland. Its main product, the Unidata platform, is a multifunctional solution for building corporate data management ... more


Tuesday, 18 February, 2020 UTC

javascript: Select an HTML Element with document.querySelector

You can use `document.querySelector` to fetch elements from your HTML document. In this lesson, we pass an Id to `querySelector` indicated with a `#`. `document.querySelector('#movie-2')`. `querySelector` will return the first element that it matched. ... more


Tuesday, 18 February, 2020 UTC

javascript: Select a DOM Element with document.getElementById

Querying the DOM by an elements id is so common that JavaScript has given us a method to do this directly. `document.getElementById` In this lesson, we switch our `querySelector` function our with `getElementById` to fetch our movie list element. ... more


Tuesday, 18 February, 2020 UTC

javascript: WTF is the DOM?

The DOM stands for Document Object Model. It is the interface between the JavaScript you write and the browser. In this lesson, we open up the browser developer console to inspect the HTML within. Use `CMD + OPT + i` to open the console quickly. ... more


Tuesday, 18 February, 2020 UTC

TypeScript vs. JavaScript: Understand the differences

The world wide web basically runs on JavaScript, HTML, and CSS. Unfortunately, JavaScript lacks several features that would help developers use it for large-scale applications. Enter TypeScript. To read this article in full, please click here (Insider ... more


Tuesday, 18 February, 2020 UTC

aws: WTF is Serverless Framework? Is it the same as serverless? (no, it's not)

The Serverless Framework is an open source npm package that makes it easier to deploy functions to various platforms like AWS Lambda. It is not the same thing as "serverless", which is the concept while "Serverless Framework" is an ... more