codedamn

Developer News

The latest web development and programming news from team codedamn.

How to create a Smart Contract in Solidity? Full Guide 2022

How to create a Smart Contract in Solidity? Full Guide 2022

A smart contract is a program written/stored on the Blockchain. And solidity is an object-oriented programming language for implementing smart contracts on various blockchain platforms, most notably, Ethereum. Let us create our own smart contract from scratch. So if you are new to solidity and do...

What is Internet Computer? ICP Explained

What is Internet Computer? ICP Explained

The Internet Computer was conceived in 2015 by programmer Dominic Williams, the idea being a world computer that cannot be shut down. And later in 2016 DFINITY was founded by him. The DFINITY Foundation is a not-for-profit organization that develops the Internet Computer. What...

What is scoping and hoisting in JavaScript? Levels of scoping in JS

What is scoping and hoisting in JavaScript? Levels of scoping in JS

In the previous blog on JavaScript Functions, you learned about the basics of what functions help with. Functions help you perform the same task again and again for a given input. Let’s learn three major concepts of scoping, hoisting, and arrow functions in JavaScript in this blog. Buckle u...

What is “this” in JavaScript? Complete guide to this keyword

What is “this” in JavaScript? Complete guide to this keyword

In one of the previous blog posts, you learned about the Object Data Type in JavaScript. Let’s recap the code below: All of these are values that are either of the Number, String, or Array data type. You have already learned about functions in JavaScript. If you need to jog your memory, rea...

HTML Input Tag: All types of input and complete guide

HTML Input Tag: All types of input and complete guide

HTML input tag is the most common element which are used in web applications. When you visit a website, for example, codedamn.com it asks you to enter your credentials like username and password and that is nothing but HTML inputs. Inputs take some data as a response and reply to you back with re...

HTML Syntax – HTML Style Guide and Best Practices for Beginners

HTML Syntax – HTML Style Guide and Best Practices for Beginners

If you are learning HTML, it is necessary to master the HTML syntax so you can write the best possible HTML code. So, while writing HTML, there are rules and guidelines you should follow. There are also other things to follow that are not rules but conventions. You should follow these rules and c...

Bun Tutorial – Getting Started Guide With Examples

Bun Tutorial – Getting Started Guide With Examples

Bun is a new JavaScript runtime released in 2022. It is a very interesting choice because a lot of “slow” parts of JavaScript runtime have been rewritten by Jarred Sumner (programmer behind Bun), which makes Bun extremely fast in a lot of scenarios. Let us understand a few scenarios t...

How to write a JavaScript function? Complete guide to functions in JavaScript

How to write a JavaScript function? Complete guide to functions in JavaScript

Consider the code below that calculates the average marks for Jason and Patrick: The following is happening: Marks for 5 subjects are given in an array To find the total marks, a for loop is being used and the final sum is being stored in a variable The final sum is divided by the length… ...

Arrays in JavaScript: Complete Guide With Examples [2022]

Arrays in JavaScript: Complete Guide With Examples [2022]

In the previous blog posts, you have seen how to store the value of one individual, Jason Bourne, in a JavaScript Object type. What if you had a class of 20 students? What would you do then? You have to store their name and age. Would you create a separate variable for each student and…