CSRF in Web applicationCSRF stands for Cross Site Request Forgery. It means hackers sends request to a server by using hacked person's AUTH details. When an user logged into a website, browser will store the authentication related details such as authentication token in se...Feb 11, 2024·3 min read·13
Variable Scope in JavaScriptLocal Scope in JS: When a variable is declared inside any block of code, it will be called a Local variable. It will only be available within the block where it is declared and is not accessible in other blocks. A local variable is declared by var, ...Aug 8, 2023·2 min read·8
var vs let in JavascriptWhat is var and let? Both are keywords used for declaring variables. In earlier versions of Javascript, the "var" keyword is mostly not used after the introduction of the "let" keyword. Function scope and Block scope: Variables declared with "var" ke...Jul 27, 2023·2 min read·11
What is Virtual DOM in React?Initially, I am familiar with DOM in Browser. But when I started to learn React JS, I heard a new term often called virtual DOM. So I decided to study Virtual DOM and share my thoughts about that in this article. We know whenever we need to change or...Jul 24, 2023·2 min read·8
DOM in WebpageDOM stands for Document Object Model. A webpage is nothing but just a programming interface that displays the HTML or XML content in the browser. It converts the HTML or XML content into an object model type. So that we can alter or update the conten...Jul 19, 2023·2 min read·7
My First ReactHello programmers! Everywhere I've heard that using React.js allows us to easily create complex frontend UIs. So, I decided to learn more about React.js. As my first task, I created a button that triggers an alert box when the onclick event occurs. I...Jul 11, 2023·2 min read·5
Project Euler Problem#30#python program to sum of all the numbers that can be written as the sum of fifth powers of their digits import unittest def digit_sum(power): if type(power)!=int or power<2: return None list1=[] for i in range(2,1000000): ...Jun 27, 2023·1 min read·6