<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nitin Gutte on Medium]]></title>
        <description><![CDATA[Stories by Nitin Gutte on Medium]]></description>
        <link>https://medium.com/@nitin-nitingutte-gutte?source=rss-b0854263ff28------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*hJ3idC12GfM5PmPn.jpg</url>
            <title>Stories by Nitin Gutte on Medium</title>
            <link>https://medium.com/@nitin-nitingutte-gutte?source=rss-b0854263ff28------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 21 May 2026 11:39:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nitin-nitingutte-gutte/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Ethereum Explained: Smart Contracts, ETH, and the Future of Decentralized Tech.]]></title>
            <link>https://blog.cubed.run/ethereum-explained-smart-contracts-eth-and-the-future-of-decentralized-tech-b9c5c4f6aa56?source=rss-b0854263ff28------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9c5c4f6aa56</guid>
            <category><![CDATA[eth]]></category>
            <category><![CDATA[proof-of-work]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[proof-of-stake]]></category>
            <dc:creator><![CDATA[Nitin Gutte]]></dc:creator>
            <pubDate>Mon, 19 May 2025 07:14:44 GMT</pubDate>
            <atom:updated>2025-05-19T07:14:44.253Z</atom:updated>
            <content:encoded><![CDATA[<p>From PoW to PoS — How Ethereum’s Blockchain Works and Why It Matters<em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6plCSTGqA_CA-Tml5xcGTw.png" /><figcaption>Generated by ChatGPT</figcaption></figure><h3>📜 A Brief History :</h3><p>Ethereum is a decentralized, open-source blockchain. It was first proposed in a white paper in late 2013. In 2015, <strong>Vitalik Buterin</strong> launched the Ethereum mainnet. Ethereum introduced <strong>Ether (ETH)</strong>, which powers the Ethereum ecosystem.</p><p><strong>Eth</strong> is a native cryptocurrency that rewards validators and is used for transaction fees.</p><p>While Bitcoin is used to perform digital transactions, such as Money Transfer, Ethereum focuses on development.</p><p>To better understand how Blockchain and Bitcoin work, I’ve explained it in more detail in my article.</p><blockquote><a href="https://medium.com/cub3d/the-mysterious-force-that-powers-bitcoin-its-not-what-you-think-f6dc28db9745">The Mysterious Force 🔮 That Powers Bitcoin? It’s Not What You Think.</a></blockquote><p>The main idea behind creating Ethereum is that it is a programmable Blockchain that helps developers build <strong>Decentralized Applications</strong> using <strong>Smart Contracts</strong>.</p><h3>⚙️ <strong>How does Ethereum work?</strong></h3><p>Unlike Bitcoin, Ethereum&#39;s workings are different. Ethereum’s flexibility allows developers to build everything from DeFi protocols to NFTs.</p><p>Below, I break down the core components that make Ethereum function.</p><h4>🤝 <strong>What are Smart Contracts?</strong></h4><p>First, we need to understand what a contract is. A contract is a legal agreement between two parties requiring them to meet certain conditions to be executed.</p><p>In Ethereum, a smart contract is a legal agreement, i.e., a programmed code written on the chain that automatically executes when certain conditions are met.</p><p>Example:</p><pre>pragma solidity ^0.8.0;<br><br>contract HelloWorld {<br>    function greet() public pure returns (string memory) {<br>        return &quot;Hello, Ethereum!&quot;;<br>    }<br>}</pre><h4>♦ <strong>What is Ether (ETH)?</strong></h4><p>Ether (ETH) is a cryptocurrency used in the Ethereum ecosystem. It is similar to gasoline, which is used to fuel cars.</p><p>Ether (ETH) is used to:</p><ul><li>Pay transaction fees (gas)</li><li>Reward validators who help run the network</li><li>Interact with smart contracts and dApps</li></ul><p>It’s the backbone of Ethereum’s entire ecosystem, from NFTs to DAOs to DeFi.</p><h4>📝 <strong>What is a Consensus mechanism?</strong></h4><p>Consensus means agreement among a group of people.</p><p>The consensus mechanism means all participants, i.e., nodes, must agree that the transactions are valid on the Ethereum Blockchain and added to the chain.</p><p>It ensures the <strong>Integrity</strong>, I<strong>mmutability</strong>, and <strong>Security</strong> of data. The consensus mechanism prevents attacks like double spending and a 51% attack.</p><p>There are different types of consensus mechanisms, each of which works differently. I will only cover two important mechanisms.</p><ol><li>🛠️ <strong>Proof of Work(PoW) :</strong></li></ol><p>Cynthia Dwork and Moni Naor introduced proof of work (PoW) in 1993, and Satoshi Nakamoto adopted it in Bitcoin in 2008.</p><p>Proof of work is the mechanism by which all the blockchain nodes solve a complex mathematical problem to verify the transactions and add them as blocks to the Blockchain.</p><p>The mechanism uses high-end devices or graphics cards to run the mining software.</p><p>The race between miners starts as they compete to create and add blocks to the Blockchain. This helps the chain extend and increases security.</p><p>Once the miner solves the complex mathematical problem, the algorithm automatically incentivizes with a Bitcoin or any other cryptocurrency as a reward for the winner.</p><p>Because of the complexity and processing power, this mechanism is highly energy-intensive.</p><p>Some cryptos that use PoW are Bitcoin, Bitcoin Cash, Litecoin, etc.</p><p><strong>2. </strong>🌱 <strong>Proof of Stake(PoS) :</strong></p><p>Ethereum has transitioned from Proof of Work to Proof of Stake. It was first introduced in 2012 by <strong>Sunny King</strong> and <strong>Scott Nadal.</strong></p><p>Instead of competing to solve the complex problem using high-end devices like proof of work, in Proof of Stake, those with the highest coins become validators; the algorithm randomly chooses a validator.</p><p>The validator&#39;s job is to verify whether those transactions are valid. If they are, the validator adds them to the Blockchain.</p><p>Validators earn newly minted coins and transaction fees as a reward. If the validator did a malicious transaction, it would lose the locked coins and be permanently banned from the chain.</p><p>Benefits compared to PoW :</p><ul><li>Energy consumption is lower</li><li>Transaction speeds are higher</li><li>More secure and less expensive.</li></ul><h3>👉 <strong>Conclusion :</strong></h3><p>Ethereum isn’t just a cryptocurrency — it’s a whole ecosystem designed to revolutionize how we build applications and trust systems.</p><p>From <strong>Smart Contracts</strong> to <strong>NFTs</strong>, from <strong>DeFi</strong> to <strong>DAOs</strong>, Ethereum continues to lead the way in blockchain innovation.</p><h3>☕ Buy Me a Coffee!</h3><p>Hey there! If you’ve loved my work and found it helpful, consider <strong>buying me a coffee</strong> to show your support. It’s a friendly way to show appreciation.</p><p>Writing and maintaining this blog takes time, effort, and plenty of caffeine!</p><p>Every little bit helps me to create valuable content, learning new things, and share it all with you.</p><p><a href="http://buymeacoffee.com/nitingutte"><strong>buymeacoffee.com/nitingutte</strong></a></p><h3>📚 <strong>Want to Learn More?</strong></h3><p><strong>I am on a journey of learning Blockchain Bug Bounties and sharing everything. Don’t forget to follow me for more interesting articles.</strong></p><p><strong>If you enjoyed this article, feel free to clap, comment, and share with your friends.</strong></p><p><strong>Thank you for reading!</strong></p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/@InPlainEnglish"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a> | <a href="https://differ.blog/inplainenglish"><strong>Differ</strong></a> | <a href="https://twitch.tv/inplainenglish"><strong>Twitch</strong></a></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9c5c4f6aa56" width="1" height="1" alt=""><hr><p><a href="https://blog.cubed.run/ethereum-explained-smart-contracts-eth-and-the-future-of-decentralized-tech-b9c5c4f6aa56">Ethereum Explained: Smart Contracts, ETH, and the Future of Decentralized Tech.</a> was originally published in <a href="https://blog.cubed.run">Cubed</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Mysterious Force  That Powers Bitcoin? It’s Not What You Think.]]></title>
            <link>https://blog.cubed.run/the-mysterious-force-that-powers-bitcoin-its-not-what-you-think-f6dc28db9745?source=rss-b0854263ff28------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6dc28db9745</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[decentralization]]></category>
            <dc:creator><![CDATA[Nitin Gutte]]></dc:creator>
            <pubDate>Wed, 30 Apr 2025 08:03:13 GMT</pubDate>
            <atom:updated>2025-04-30T08:03:13.481Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever wonder what controls Bitcoin behind the scenes? No, it’s not the government, a financial institution, shadowy billionaires, or even Satoshi Nakamoto. Please stick with me. The real answer is more surprising than you think, and lies in this article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i0Pk0Srh_o1RrNDdrfXyRg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@michael_f?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Michael Förtsch</a> on <a href="https://unsplash.com/photos/a-bit-coin-sitting-on-top-of-a-table-AzSI1Uxm760?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><p>Bitcoin is the world’s most popular and widely accepted cryptocurrency, often used as a digital payment for goods and services. There is much more than being a cryptocurrency.</p><p>Let’s dive deeper and explore the real force that powers Bitcoin.</p><h3>🏛️ <strong>First, we need to understand how Banks work :</strong></h3><p>A bank is a financial institution that provides essential services like accepting deposits and lending money.</p><p>When you deposit your hard-earned money, they don&#39;t simply store the money in their vault instead, they provide loans(like mortgages or business loans) to other individuals or institutions, and in that process, they earn some interest.</p><p>The banks keep a slice of that interest for themselves, and the rest is distributed to the depositors.</p><p>The banks act as a <strong>trusted centralized middleman</strong> between depositors and borrowers throughout this process.</p><p>In this way, they play a massive role in how modern economies function.</p><h3>₿ <strong>What is Bitcoin?</strong></h3><p>Bitcoin is a decentralized cryptocurrency that operates without the need for a central authority to have full control over it, such as Banks or Governments.</p><p>It was created in 2009 by an anonymous founder known as <strong>Satoshi Nakamoto</strong> or a group of individuals.</p><p>The idea behind creating Bitcoin is simple: to eliminate intermediaries without needing control of a trusted third party.</p><p>Unlike traditional fiat currencies, which governments can print in unlimited quantities, Bitcoin has a limited supply; only <strong>21 million </strong>will ever exist. This is why Bitcoin has an edge over any other asset, so-called “<strong>Digital Gold</strong>”.</p><h3>🛠️ <strong>How does Bitcoin work?</strong></h3><p>Let&#39;s get into a more technical world. I will explain the core elements of Bitcoin&#39;s ecosystem.</p><h4>→ ⛏️ Mining or Miners :</h4><p>Miners play a crucial role in fueling the Bitcoin ecosystem. They compete with each other to solve complex mathematical problems using their high-end computers.</p><p>When the first miner solves the problem and adds the block of transactions to the chain, they earn new Bitcoins(called the “block reward”) plus the transaction fees from all transactions in that block. The process secures the network and is called <strong>Proof of Work</strong>.</p><p><strong>Note:</strong> Proof of work is more energy-intensive.</p><h4><strong>→ </strong>🖧 <strong>Nodes or Bitcoin Network :</strong></h4><p>It&#39;s the decentralized collection of computers connecting all participants across the globe.</p><p>The collection of computers is nothing but the <strong>Nodes</strong> that run the Bitcoin algorithm, which checks valid transactions.</p><h4><strong>→ </strong>💰 <strong>Bitcoin Wallet :</strong></h4><p>In traditional wallets, we hold physical cash inside. Unlike physical wallets, a Bitcoin wallet is a software application called a <strong>Digital Wallet</strong> that allows you to store, send, and receive Bitcoin using the Internet.</p><p>Two key components are used in Wallets:</p><ol><li>🔑 <strong><em>Public Key:</em></strong> is publicly accessible so that anyone can use it. Like your bank account number, anyone can send Bitcoin to you.</li><li>🔑 <strong><em>Private Key:</em></strong> This key is only accessible by the owner and is protected with a password. Only the owner of the private key can use those Bitcoins.</li></ol><p>The types of wallets are <strong>Hot wallet (O</strong>nline) and C<strong>old wallet (</strong>Offline)<strong>.</strong></p><h4><strong>→ </strong>💱 <strong>Transactions :</strong></h4><p>A transaction is a digitally signed transfer of value between wallets, recorded permanently on the <strong>Blockchain</strong>.</p><p>The Bitcoin transaction is <strong>Peer-to-Peer, </strong>which means no central authority controls it.</p><p><strong>Peer-to-Peer:</strong> It&#39;s a decentralized network, i.e, the connection between computers without a central server.</p><p>Suppose I want to send 10$ of Bitcoin. I require the receiver&#39;s address.</p><p>Examples: Sender&#39;s address: “KwiCtP1M9xKkS8ug7zGyiGddY2S72&quot; Receiver’s address: “1NhbiwvM1XY7HBpY1tn6cQ”</p><p><strong>Step-by-step procedure of how transactions work:</strong></p><ol><li>🚀 <strong><em>Initiating transaction: </em></strong>Enter the amount and the receiver&#39;s Bitcoin address<strong><em>.</em></strong></li></ol><p><strong>2. </strong>✍️ <strong><em>Signing transaction:</em></strong> Digitally signs the transaction with a private key, meaning full ownership of Bitcoin.</p><p>3. 📡 <strong><em>Transmission:</em> </strong>The signed transactions are sent to the Bitcoin network or nodes.</p><p>4.✔️ <strong><em>Validation</em></strong>: The nodes verify whether the transaction is valid.</p><p>5. ⚒️ <strong><em>Mining and Confirmation</em>:</strong> The transactions are collected by miners and are grouped into a Block. To add the block to the <strong>Blockchain</strong>, they must solve a cryptographic problem.</p><h4><strong>→ </strong>💎 <strong>Blockchain: </strong>It’s one of the most important and absolute core elements of the Bitcoin ecosystem.</h4><h3>🧊 So… <strong>What is Blockchain?</strong></h3><p>Blockchain is an <strong>Immutable</strong>, <strong>Transparent</strong>, <strong>Decentralized</strong> technology that powers cryptocurrency king Bitcoin<strong>.</strong></p><h4><strong>→ </strong>⛔ <strong>Immutable:</strong> Unable to change</h4><p>Once something is stored, it cannot be modified.</p><p>When a block is created, it cannot be edited, deleted, or replaced. The block is stored permanently in the Blockchain.</p><p>Example: Suppose somebody sends a Bitcoin to you, the transaction is tamper-proof and stored permanently in the Blockchain.</p><p>This makes the Blockchain more Trusted, Transparent, and secure.</p><h4><strong>→</strong>🧐<strong> </strong>󠁩󠁩<strong>Transparent: That you see through</strong></h4><p>Transparent is nothing but accessible and visible to everyone.</p><p>In a bank, the transactions are private for security reasons. In Blockchain, when a transaction is done and recorded, it is publicly accessible and visible.</p><p>Example: You can check a Bitcoin Wallet&#39;s address, amount, and transaction history.</p><p>Transparency builds on Trust, reduces fraud, and increases accountability.</p><h4><strong>→</strong>🔥<strong> Decentralized: No one controls</strong></h4><p>Decentralization means that no control of an authority over any other entity.</p><p>Example: I explained earlier that no single central authority can control Bitcoin. Developers, Miners, and users have the power to control Bitcoin.</p><p>Bitcoin has the Freedom to operate; no one can block the transactions. It&#39;s more secure and harder to hack.</p><h3>🔠 What are Blockchain Types?</h3><p><strong>1. Public Blockchain: Decentralized &amp; permissionless</strong></p><p>Everyone can access this blockchain, and operations are performed like Read, write, and validate.</p><p>Example: Bitcoin.</p><p><strong>2. Private Blockchain: Limited access</strong></p><p>Controlled by an organisation and has limited access.</p><p>Example: Hyperledger.</p><p><strong>3. Consortium Blockchain: Semi-Decentralized</strong></p><p>Controlled by a group of organizations and more secure compared to other Blockchains.</p><p>Example: Quorum.</p><p><strong>4. Hybrid Blockchain:</strong></p><p>Combination of Public, Private, and Consortium Blockchain.</p><p>Example: IBM Blockchain.</p><h3>👉 <strong>Conclusion :</strong></h3><p>In this article, we have covered the inner workings of Bitcoin and Blockchain.</p><p>Governments or Banks don&#39;t control Bitcoin, it is powered by a far more powerful decentralized network called <strong>Blockchain. </strong>And yes, Blockchain is the mysterious power that controls Bitcoin.</p><p>The future is decentralized, and it’s only just beginning.</p><h3>☕ <strong>Buy Me a Coffee!</strong></h3><p>Hey there! If you’ve loved my work and found it helpful, consider <strong>buying me a coffee</strong> to show your support. It’s a friendly way to show appreciation.</p><p>Writing and maintaining this blog takes time, effort, and plenty of caffeine!</p><p>Every little bit helps me to create valuable content, learning new things, and share it all with you.</p><p><a href="http://buymeacoffee.com/nitingutte"><strong>buymeacoffee.com/nitingutte</strong></a></p><p><strong>I am on a journey of learning Blockchain Bug Bounties and sharing everything. Don’t forget to follow me for more interesting articles.</strong></p><p><strong>If you enjoyed this article, feel free to clap, comment, and share with your friends.</strong></p><p><strong>Thank you for reading!</strong></p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/@InPlainEnglish"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a> | <a href="https://differ.blog/inplainenglish"><strong>Differ</strong></a> | <a href="https://twitch.tv/inplainenglish"><strong>Twitch</strong></a></li><li><a href="https://cofeed.app/"><strong>Check out CoFeed, the smart way to stay up-to-date with the latest in tech</strong></a> <strong>🧪</strong></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6dc28db9745" width="1" height="1" alt=""><hr><p><a href="https://blog.cubed.run/the-mysterious-force-that-powers-bitcoin-its-not-what-you-think-f6dc28db9745">The Mysterious Force 🔮 That Powers Bitcoin? It’s Not What You Think.</a> was originally published in <a href="https://blog.cubed.run">Cubed</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I’m Learning Web3.0(Blockchain) Bug Bounties from Scratch And Sharing Everything.]]></title>
            <link>https://nitin-nitingutte-gutte.medium.com/how-im-learning-web3-blockchain-bug-bounties-from-scratch-and-sharing-everything-d8cf248121b4?source=rss-b0854263ff28------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8cf248121b4</guid>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <dc:creator><![CDATA[Nitin Gutte]]></dc:creator>
            <pubDate>Thu, 24 Apr 2025 12:04:37 GMT</pubDate>
            <atom:updated>2025-04-24T12:05:49.401Z</atom:updated>
            <content:encoded><![CDATA[<h4>From smart contract novice to ambitious Web3(Blockchain) Hacker, follow along as I learn, break, and share my journey.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ePACmaym1KzLmJh9DQf7gg.jpeg" /></figure><p>In this post, I’m breaking down how I’m learning Blockchain Bug Bounties as a complete beginner<strong> </strong>and why I think this might be one of the most adventurous and rewarding field.</p><p>If you are curious about Web3(Blockchain) hacking, then stick with me to break into the new world from scratch.</p><h3>Why I decided to learn Web3(Blockchain) Bug Bounties?</h3><blockquote>One day, I stumbled upon an article that blew my mind, “One of the most lucrative bug bounty program in history, which is offered by <strong>LayerZero Labs</strong>, with a record-breaking reward of <strong>$15 million</strong> for critical vulnerabilities”.</blockquote><p>That was the reason why I started learning Web3(Blockchain) bug bounties, where Ethical Hackers get paid to find vulnerabilities in Blockchain protocols.</p><p>It’s not for Financial gain. It’s for the <strong><em>curiosity</em></strong> and the <strong>obsession </strong>that is<strong> </strong>growing around Web3(Blockchain).</p><h3>What is Blockchain?</h3><p>Blockchain is the Immutable, Decentralised technology that powers cryptocurrencies like <strong>Bitcoin</strong> and runs <strong>Smart Contracts</strong>.</p><p>In banks, financial transactions like deposits and withdrawals are stored in a ledger. The same works in Blockchain, the transactions are stored in a Digital ledger securely and transparently.</p><p>Transactions are shared across the Blockchain and validated by miners to create new blocks. Each new Block is the link to the previous one, creating a chain, and it’s Immutable that no one will change or modify it.</p><h3>Three reasons why I chose this field?</h3><ol><li><strong>It combines both Coding and Hacking, </strong>two skills I’ve always wanted to master.</li><li><strong>Blockchain is still new, </strong>meaning there’s a lot of room to grow, explore, and have a good future.</li><li>The last one — <strong>I want to share what I learn.</strong></li></ol><h3>My Learning Plan :</h3><p>I broke down the plan into weekly goals. Every week, I set a target of what to learn and document everything. I will create a full blog series and share real-world bug bounty experience, a journey of a beginner, i.e, <strong>trying</strong>, <strong><em>failing,</em></strong> and achieving s<strong><em>uccess</em></strong>.</p><p>If you want to learn anything, it takes 21 days or 3 weeks to master a solid foundation. So I am going to commit to a challenge for myself.</p><p>Here is how I broke down the roadmap into more Structured &amp; Clean:</p><ul><li><strong>Blockchain Foundations</strong>.</li><li><strong>Core Programming Skills</strong>.</li><li><strong>Security Fundamentals.</strong></li><li><strong>Exploitation &amp; Bug Hunting.</strong></li><li><strong>Advanced Security Concepts in Web3.</strong></li><li><strong>Real-World Bug Hunting &amp; Submissions.</strong></li></ul><p><strong><em>Tip:</em></strong> The path of learning is not in straight line, so the above roadmap may change.</p><h3>Challenges I think I may face:</h3><ol><li><strong><em>The learning curve will be real and honest :</em></strong></li></ol><p>Blockchain Basics, Solidity, EVM….. a lot to learn. It’s like getting lost in the forest of Web3(Blockchain), so I will learn one concept at a time.</p><p>2. <em>Will not try</em> <strong><em>too many resources :</em></strong></p><p>The internet is full of tutorials, and that can be a trap for beginners like me. I will keep it simple and follow one or two trusted resources until I finish it and move to the next one.</p><p>3. <strong><em>Imposter syndrome :</em></strong></p><p>Nobody was born knowing how to hack a smart contract or know everything about Hacking. If you have C<strong><em>uriosity, Patience, and Persistence</em></strong>, you will eventually find a way to win the battle against Imposter Syndrome; that’s the real key.</p><h3>Why am I documenting My Journey?</h3><p>Most of the Web3(Blockchain) bug bounty content on the internet is too advanced, too technical, or written for professionals. I’m writing for people like me<strong>,</strong> those who are learning, failing, and figuring out how Blockchain protocols work.</p><p>When I learn a new concept and I document it, it helps me to gain the information faster and understand the harder concepts clearly.</p><p>It also helps to sharpen my</p><ul><li>Writing skills</li><li>Analytical Thinking</li><li>Creativity.</li></ul><h3>What can you expect from my blog posts?</h3><ul><li><strong><em>Honest Experience</em></strong>: what I am learning, struggling with, and facing unexpected issues.</li><li><strong><em>Beginner-Friendly Guides:</em></strong> Explained in simple and clear English.</li><li><strong><em>Tips, Tricks, &amp; Ideas:</em></strong> Most of the bounty hunters are not comfortable sharing their knowledge because of the rapidly growing competition in the field.</li><li><strong><em>Sharing Tools: </em></strong>Real examples from tools like testing frameworks like Hardhat and Foundry, automated scanners, fuzzing tools, network mapping tools, etc.</li><li><strong><em>“Lessons from my real-world Bug Bounty Hunting journey”</em></strong>.</li></ul><h3>Want to learn with me:</h3><p>If this space excites you too, even just 1%, then follow me on my adventurous journey into the world of Web3(Blockchain) Bug bounty.</p><p>Feel free to clap, comment, and share with your friends<strong>. </strong>Follow me for more beginner-friendly blogs and honest progress updates.</p><p>The Web3 security world is just getting started. “<strong>Let’s learn, build, break, and even get paid for it, TOGETHER”</strong></p><p><strong><em>Thanks For Reading…!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8cf248121b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ultimate Guide To Understand JavaScript Scope.]]></title>
            <link>https://medium.com/nerd-for-tech/the-ultimate-guide-to-understand-javascript-scope-917e6723a5d3?source=rss-b0854263ff28------2</link>
            <guid isPermaLink="false">https://medium.com/p/917e6723a5d3</guid>
            <category><![CDATA[global-scope]]></category>
            <category><![CDATA[function-scope]]></category>
            <category><![CDATA[local-scope]]></category>
            <category><![CDATA[block-scope]]></category>
            <category><![CDATA[javascript-scope]]></category>
            <dc:creator><![CDATA[Nitin Gutte]]></dc:creator>
            <pubDate>Mon, 15 Nov 2021 12:57:41 GMT</pubDate>
            <atom:updated>2021-11-15T12:57:41.185Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, you will understand the Block, Local, Function, and Global scopes in detail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kf_pxrujUO0JsHqVGtGA_A.jpeg" /><figcaption>Image by <a href="https://pixabay.com/photos/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1209892">Free-Photos</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1209892">Pixabay</a></figcaption></figure><p>As a beginner in programming, you will encounter errors in your program because of scopes.</p><p>Understanding the JavaScript scopes is the important thing to avoid weird bugs or errors in your code.</p><p>The scopes control the visibility of the variables used in your code, and they add an extra layer of security to the variables from accessing the block from outside.</p><p>There are four types of scopes in JavaScript.</p><ul><li><strong>Block Scope</strong></li><li><strong>Local Scope</strong></li><li><strong>Function Scope</strong></li><li><strong>Global Scope</strong></li></ul><h3>— → Block Scope :</h3><p>In the newer version of JavaScript(ES6) the two new keywords <strong>let</strong> and <strong>const</strong> are introduced.</p><p>The let and const keywords came with the new concept that is Block scope. Variables defined with <strong>var</strong> keyword don’t have Block scope.</p><p>Block scope is like the boundary connected to the variables given by the JavaScript engine itself. If the variable is called from the outside of the scope boundary, then the variable cannot be accessed.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*FAlpWOOQJby5T-41ijEEaQ.png" /></figure><h3>— → Local Scope :</h3><p>The variable declared in between opening {and closing} braces are said to be local to that block. Variables can be declared using let, const, and var keywords inside the local scope.</p><p>Local variables can only be accessed and modified inside the prior to the local scope.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*vcUw1KyloqCiWSPrO9UnKQ.png" /></figure><p>If you declared a variable in the function, the variable is only available in the scope when the function is called and deleted when the function is finished its work.</p><h3>— → Function Scope :</h3><p>When we write a function, then the JavaScript engine automatically assigns an invisible scope to the function.</p><p>In this function scope when the variables are declared using let, const, and var then these variables cannot be accessed from outside the function’s scope.</p><p><strong><em>Example</em></strong><em> :</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*hcturbQM6qV_Dpys0zyw9Q.png" /></figure><p>The function variables have less span of life as compared to global variables.</p><h3>— → Global Scope :</h3><p>The Global scope is nothing but the scope in which the variable is declared outside the function’s body, then that variable is said to be global.</p><p>The variable declared outside the function but to the top of the program can have permission to be available all over the program.</p><p>JavaScript engine automatically assigns scope to the Global variables.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*lb-bO8aDyc7Pog034AN7qQ.png" /></figure><p>As long as the web page is loaded in the browser the global variables stay if the web page is closed or reloaded the global variables will be destroyed.</p><h3>Conclusion :</h3><p>Now you understood how to control your variables from accessing outside the scope. The scopes are not easy to understand for beginners but are very important concepts in any programming language.</p><p>Using global variables everywhere in your code is not good practice, only use global if you need it otherwise use locally. The global and local scope have their own benefits in your code.</p><p>Hopefully, this article helped you to learn different types of scopes in JavaScript.</p><p><strong>If you enjoyed this post, then feel free to clap, comment, and share with your friends. Don’t forget to follow me for more interesting articles.</strong></p><p><strong>Thank you for reading!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=917e6723a5d3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nerd-for-tech/the-ultimate-guide-to-understand-javascript-scope-917e6723a5d3">The Ultimate Guide To Understand JavaScript Scope.</a> was originally published in <a href="https://medium.com/nerd-for-tech">Nerd For Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Stunning CSS]]></title>
            <link>https://medium.com/theleanprogrammer/the-stunning-css-79171ed2f71?source=rss-b0854263ff28------2</link>
            <guid isPermaLink="false">https://medium.com/p/79171ed2f71</guid>
            <category><![CDATA[learn-css]]></category>
            <category><![CDATA[css-basics]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[css3]]></category>
            <category><![CDATA[css-box-model]]></category>
            <dc:creator><![CDATA[Nitin Gutte]]></dc:creator>
            <pubDate>Sat, 06 Nov 2021 09:08:49 GMT</pubDate>
            <atom:updated>2021-11-06T09:08:49.180Z</atom:updated>
            <content:encoded><![CDATA[<h4>Ultimate Guide To Learn The Basics of CSS</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2-vdZSCoc4oYHpDVRQ9W6A.png" /></figure><h3>What is CSS?</h3><p>The CSS stands for <strong><em>Cascading Style Sheets.</em></strong></p><p>After learning HTML, the second most important skill is to learn CSS to become a Web Developer. The CSS has the ability to add style or look and feel to the websites.</p><p>It adds some special features like color, size, fonts, layout, etc that are used to present the information to the visitors.</p><p>The CSS allows you to separate the style and content from the web pages.</p><h4>Benefits of CSS :</h4><ol><li>Faster web page loading.</li><li>Easy to maintain.</li><li>Consumes less time.</li><li>Support multiple devices such as large screens and small screens.</li></ol><h3>— → CSS Syntax :</h3><p>The CSS syntax has three rules, <strong>Selector</strong>, <strong>Property</strong>, and a <strong>value</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*oi83hERpCvFwT4aPzPp7lw.png" /></figure><p><strong>Selector :</strong></p><p>The Selector points out which type of HTML element is to edit or style. We can select a particular element to add style.</p><p>We can add multiple HTML elements in the selector, which are separated by a comma(,).</p><p>e.g :</p><p>h1, p, body, title, ID, class, etc.</p><p><strong>Property :</strong></p><p>It is the property in which is used to change a particular part of the selector visually.</p><p>e.g :</p><p>color, font-family, border, etc.</p><p><strong>Values :</strong></p><p>The values are used to change a particular property.</p><p>e.g:</p><p>blue, sans-serif, 15px, etc.</p><p><strong>Declaration :</strong></p><p>In the declaration block, it is the collection of properties and values which is separated by a colon, known as statements.</p><p>The collection of statements is separated by semicolons between the curly({}) brackets in the declaration block.</p><h3>— → Selectors In CSS:</h3><p>To style any element first you have to select the specific element with the selector.</p><h4>Id Selector :</h4><p>An ID selector is a unique selector which is used to select a particular HTML element to style.</p><p>The # character is written at the beginning of the selector without using any number or other character.</p><p><strong><em>Example:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/1*dgZOl8rRn15Hu3U3UbwhNw.png" /></figure><h4>Class Selector :</h4><p>To select the class selector we can use the period(.) operator followed by the class name after the HTML element that is in the class.</p><p>The selector can be applied to more than one class.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/1*0H-MWjiegpC5t66I4oSkjg.png" /></figure><h4>Element Selector :</h4><p>The element selector can be used to select the particular HTML element to style.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/213/1*uU9X6KsbFWmFK2JmykNM9g.png" /></figure><h3>— → Ways To Insert CSS :</h3><h4>1. Internal or Embedded CSS:</h4><p>The Internal CSS must be applied to the single HTML element. It is defined in the head section of the HTML file using &lt;style&gt; element.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*J9GCTx_FDv9bHO-NFCKuuQ.png" /></figure><h4>2. External CSS :</h4><p>It is the most efficient way to write CSS style using a separate file. The CSS file can be linked to the HTML using the &lt;link&gt; tag and the CSS file is saved using the .CSS extension.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*tIIgaMA3YlPA7fxlEPcF9g.png" /></figure><h4>3. Inline CSS :</h4><p>The inline CSS is used to style only one individual HTML element. In the inline CSS, you can add as many values as you want to be separated by a semicolon(;).</p><p>This method is not recommended using as it is a bad practice.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/314/1*pfx16dRA9lmwnsdEqGzxmw.png" /></figure><h3>— → Colors In CSS :</h3><p>Color is used to represent information to the users, and they can recognize it quickly. The more web pages are visually beautiful, the more users can enjoy reading content on the websites.</p><p>In CSS, you can set the background color, text color, and border color of the content.</p><h4>RGB Color :</h4><p>In CSS, you can define the colors using the built-in method RGB(). The RGB() method is nothing but the combination of three colors i.e. Red, Green, and Blue.</p><p><em>RGB(RED,GREEN,BLUE)</em></p><p>The three parameters show the quality of the color using the numbers from 0 to 255 only.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*pANjZRcrt6IFUiMMd5XEcQ.png" /></figure><h4>HEX Color :</h4><p>HEX color uses the color units to display the colors on the screen.</p><p><em>#RRGGBB</em></p><p>In this method, the colors are defined using the RR(red), GG(green), and BB(blue).</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*1xsIXsg9bS5KS87SW9RSUw.png" /></figure><h4>Background Color :</h4><p>This CSS property can change the background color of the content.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*kGQK85UNxudTYgerjECgmQ.png" /></figure><h4>Text Color :</h4><p>Text color can change the text color of the content. The text color can be set using a color name, HEX value, and RGB value.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*ZGRsnJgPfQFpGIxqMPPdAg.png" /></figure><h4>Border Color :</h4><p>The four sides of the text border can be changed using this property.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*tBXqdsuQuF2TtdnZdWFx2g.png" /></figure><h3>— → Texts In CSS :</h3><p>Text is the most important aspect of any webpage. The text represents the information to the users to visit a particular web page.</p><p>The text is like emotions that have the ability to engage the audience to the websites.</p><h4>Text Alignment :</h4><p>Text alignment property places the text in a horizontal way. The text positioning such as right left and center are used to set the text.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*DyH6u3CnlhfRPYZUixXxqA.png" /></figure><h4>Text Transformation :</h4><p>It transforms the text into uppercase or lowercase.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*M9T1TPEKC5QmtqtjLqeIlQ.png" /></figure><h4>Text Decoration :</h4><p>The text-decoration is used to underline, over-line, and line-through text.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*ME5DrFo9Wi3zJRvhBbe19w.png" /></figure><h3>— → Fonts In CSS :</h3><p>The fonts play a major role to attract users to the web pages. It is the main thing to present information in an easy and simple manner. It also helps the users to understand the information from the web page.</p><p>There are two different types of font families.</p><h4>1. Generic Font Family :</h4><p>The generic font family is a collection of the same types i.e. serif, sans-serif, monospace, cursive, fantasy.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*JdRallMiNZGTliz0GzmkZQ.png" /></figure><h4>2. Font Family :</h4><p>The font family is used for the particular font to define the style i.e. Times New Roman, Arial, Verdana, etc.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*hOw4vO491Cduwcq58KUqJQ.png" /></figure><h3>— → Box Model In CSS :</h3><p>In this section, we are going to discuss some important concepts. The two concepts are quite similar, but they are very different from each other.</p><h4><strong>Margin :</strong></h4><p>The margin property creates the empty space between any HTML element and outside the border.</p><p>Margin is used to set the four sides, i.e. Top, Right, Bottom and Left.</p><h4><strong>Padding :</strong></h4><p>It creates space between the content and the border around the content.</p><h4><strong>Border :</strong></h4><p>Border property defines the color, style, and size of the border. It can be of any type i.e. solid, dashed, dotted, double border, etc.</p><p>If we do not specify the style of the border, it will be invisible.</p><h4>Content :</h4><p>Content is the heart of the page that is where the information and the images are displayed.</p><p><strong><em>Example:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*GwOPsQYmvD9-olYZWBN0xA.png" /></figure><h3>Conclusion :</h3><p>You learned the basics of CSS from this article. Now you can build your own landing page with the CSS.</p><p>There are lots of resources available on the internet if you need to dig deep in CSS.</p><p><strong>If you enjoyed this post, then feel free to clap, comment, and share with your friends. Don’t forget to follow me for more interesting articles.</strong></p><p><strong>Thank you for reading!</strong></p><p>Don’t forget to follow The Lean Programmer Publication for more such articles, and subscribe to our newsletter tinyletter.com/TheLeanProgrammer</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79171ed2f71" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theleanprogrammer/the-stunning-css-79171ed2f71">The Stunning CSS</a> was originally published in <a href="https://medium.com/theleanprogrammer">TheLeanProgrammer</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript Comparison Operators: Loose Equality (==) vs Strict Equality (===), Explained w/…]]></title>
            <link>https://javascript.plainenglish.io/javascript-comparison-operators-loose-equality-vs-strict-equality-explained-w-3d4004625c7f?source=rss-b0854263ff28------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d4004625c7f</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Nitin Gutte]]></dc:creator>
            <pubDate>Thu, 10 Jun 2021 05:48:17 GMT</pubDate>
            <atom:updated>2021-06-10T05:48:17.457Z</atom:updated>
            <content:encoded><![CDATA[<h3>JavaScript Comparison Operators: Loose Equality (==) vs Strict Equality (===), Explained w/ Examples</h3><h4>Do you want to know the difference between the double equals and triple equals comparison operators in JavaScript? Then this article might help you.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZIPptPB5zXz8jFwDnjutRg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@neonbrand?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">NeONBRAND</a> on <a href="https://unsplash.com/s/photos/boxing?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>In JavaScript, there are two different types of comparison operators available to perform an equality operation.</p><p>But first, you need to understand the concepts of truthy and falsy values.</p><h3><strong>Concept of Truthy and Falsy values:</strong></h3><p><strong>Falsy values</strong>: in which we try to convert values using boolean, then the result always becomes <strong>false</strong>.</p><p><strong>Truthy values</strong>: in which we convert values using boolean, then the result always becomes <strong>true</strong>.</p><p>In JavaScript, there are only six types of <strong>Falsy values.</strong></p><ul><li><strong>false: </strong>When it is not true and the result is false (boolean value).</li><li><strong>0</strong>: Zero.</li><li><strong>“”</strong>: If we don&#39;t pass any values in the string, it is known as an empty string.</li><li><strong>null: </strong>is the value in which it is empty or not initialized or not defined, or it has a zero value.</li><li><strong>undefined: </strong>is the variable in which it is not assigned any value during its creation phase.</li><li><strong>NaN</strong>: refers to Not-a-Number, it used to indicate an error to enter a valid number.</li></ul><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*dDD-eVC5ddd0uQTnjcyVGQ.png" /></figure><h3>Double Equals or Loose Equality (==) :</h3><p>In loose equality, two different types or the same values are compared to perform the equality operation. First, any one of the two operands is converted to the desired type using the implicit type coercion method.</p><p>It is also called A<strong>bstract equality</strong>.</p><p><strong><em>Example 1 :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/345/1*O2QOjaOVJHyx_Bue6oCpqQ.png" /></figure><p>In the first example above, first, the string value <strong>‘2’ </strong>is converted to number <strong>2</strong> automatically by JavaScript and then the JavaScript compares two values using loosely equality(==) operator.</p><p>If both values are the same and there is no need to type coercion in the second example.</p><p><strong><em>Example 2 :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*KnRLURhgk-r-u7qCp9BHZA.png" /></figure><p>The empty string (‘’) is converted to<strong> 0 </strong>using <strong>coercion</strong> by JavaScript and then JavaScript moves to equality operation, then the output is<strong> true</strong>.</p><p>The comparison between the same operands as <strong>null</strong> and <strong>undefined</strong> is always <strong>true</strong>.</p><h3>Triple Equals or Strict Equality (===) :</h3><p>If both operands have the same type and same value then the values are said to be equal i.e. the output is true.</p><p>In strict equality, there is no coercion operation performed. If one value is totally different from another value, Then the output will be always false.</p><p><strong><em>Example 1 :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*8xdIRsqqSYgNWqnkozUd1g.png" /></figure><p>In the given examples the output is<strong> true. </strong>Because they have the same type and same values.</p><p><strong><em>Example 2 :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*Cznl2iI6onvIevK8VHeScg.png" /></figure><p>If both operand values are the same, but the type is different, the JavaScript engine shows the output as <strong>false</strong>.</p><h3>Conclusion :</h3><p>Loose equality and strict equality operators are totally different from each other. It depends on you to choose which type is best suited for your code.</p><p>If you use loose equality then definitely you will face unexpected errors in your code. Because implicit coercion takes place before the JavaScript moves to comparison in the code.</p><p>Remembering the six types of falsy values is quite confusing and hard to understand, loose equality.</p><p>It is always recommended to use strict equality or triple equals in the code to avoid errors.</p><p>To learn more about type conversion and coercion, read the following article.</p><p><a href="https://medium.com/theleanprogrammer/type-conversion-and-coercion-8974afe03b85">Type Conversion and Coercion</a></p><p><strong>If you enjoyed this post, then feel free to clap, comment, and share with your friends. Don’t forget to follow me for more JavaScript-related articles.</strong></p><p><strong>Thank you for reading!</strong></p><p><em>More content at </em><a href="http://plainenglish.io/"><em>plainenglish.io</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d4004625c7f" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/javascript-comparison-operators-loose-equality-vs-strict-equality-explained-w-3d4004625c7f">JavaScript Comparison Operators: Loose Equality (==) vs Strict Equality (===), Explained w/…</a> was originally published in <a href="https://javascript.plainenglish.io">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Type Conversion and Coercion]]></title>
            <link>https://medium.com/theleanprogrammer/type-conversion-and-coercion-8974afe03b85?source=rss-b0854263ff28------2</link>
            <guid isPermaLink="false">https://medium.com/p/8974afe03b85</guid>
            <category><![CDATA[implicit]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[coercion]]></category>
            <category><![CDATA[conversion]]></category>
            <category><![CDATA[explicit]]></category>
            <dc:creator><![CDATA[Nitin Gutte]]></dc:creator>
            <pubDate>Sun, 30 May 2021 05:47:45 GMT</pubDate>
            <atom:updated>2021-05-30T05:47:45.695Z</atom:updated>
            <content:encoded><![CDATA[<h4>JavaScript Concepts Explained In-Depth</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3inLVWTpxKDNlp7Usuj8cQ.png" /></figure><p>In this article, we are going to learn the little confusing concepts for beginners that will help you in your developer journey.</p><p>As in our day-to-day life, we already used conversion terms. In computers, the term conversion refers to the ability to convert one file format into other file formats without any problems i.e. converting the file .JPG into .PDF or text file into an Excel file.</p><p>In programming languages, conversion is the fundamental aspect used to deal with situations facing the code.</p><p>The conversion is the way in which the variable of one type is compatible with the variable of another type to perform a particular task.</p><h3>Type Conversion or Explicit Conversion:</h3><p>The conversion takes place manually or explicitly by typing the method or function name before converting the values, it is known as Explicit Conversion.</p><p>In JavaScript, there are five different types of data types as <strong>String, number, boolean, object, </strong>and<strong> function</strong>.</p><p>The type conversion only used in three data types which are <strong>String, number, </strong>and<strong> boolean</strong>.</p><h4><strong>— To String Conversion :</strong></h4><p>In this conversion, the number is converted to a string when we need it.</p><p>JavaScript provides different types of built-in methods or functions used in the Explicit conversion.</p><p><strong>1.String()</strong></p><p>The String() method is a Global method, and it is used to convert numbers to strings.</p><p>It can also be used to convert literals and expressions.</p><p><em>Syntax :</em></p><pre>String(ValueToConvert)</pre><p><strong><em>Example:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*XWtoLFvzYMXH2qqnHUaIAw.png" /></figure><p>As in the above example, the String() method converts numbers into a string as we expected.</p><p>We can pass null, NaN, and undefined as the values to the method then String() method converts them to string as well, without throwing errors.</p><p><strong>Note:</strong></p><p><strong><em>undefined</em></strong><em> </em>is the variable in which it is not assigned any value during its creation phase.</p><p><strong><em>null </em></strong>is the value in which it is empty or not initialized or not defined, or it has a zero value.</p><p><strong><em>NaN </em></strong>refers as Not-a-Number, it used to indicate an error to enter a valid number.</p><p><strong>2. toString()</strong></p><p>It does the same job as String() method.</p><p><em>Syntax:</em></p><pre>number.toString()</pre><p><strong><em>Example:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*DjARVFTHScD603uKkYt2Gg.png" /></figure><p>First, we declare and assign the value to the variable then using the variable name we call the toString() method using the dot(.) operator.</p><p>If we try to pass null<strong> </strong>and undefined values, then the JavaScript engine shows TypeError.</p><p><strong>3. toExponential()</strong></p><p>This method can be used to convert the number into a string exponential symbol(e+number).</p><p><em>Syntax:</em></p><pre>number.toExponential(OptinalParameter)</pre><p>The parameter is optional which represents the number of digits after the decimal point.</p><p><strong><em>Example:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*7-BhW4gPia1fZ9JqtgYViA.png" /></figure><p><strong>4. toFixed()</strong></p><p>The toFixed() method in JavaScript is used to convert the number into a string by specifying the number of digits to the right after the decimal point.</p><p><em>Syntax:</em></p><pre>number.toFixed(optinalParameter)</pre><p>The parameter is optional which represents the number of digits after the decimal point.</p><p><strong><em>Example:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*JyGuFmXAp9KQjFxRGyQpUg.png" /></figure><p><strong>5. toPrecision()</strong></p><p>In this method the number is converted to a string, to format the number to the fixed length.</p><p><em>Syntax:</em></p><pre>number.toPrecision(optianlParamater)</pre><p>The parameter is optional which represents the number of digits.</p><p><strong><em>Example :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*tQSAuv1zlZJ7iHTsAdjyrw.png" /></figure><h4>— To <strong>Number Conversion :</strong></h4><p>The String to Number is converted using some built-in methods in JavaScript.</p><p>Built-in methods are as follows.</p><p><strong>1.Number()</strong></p><p>The string value is converted to a number using the Global number() method.</p><p>It can be used to convert numerical text as well as boolean values to numbers.</p><p><em>Syntax:</em></p><pre>Number(valueToConvert)</pre><p><strong><em>Example:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*bsj6CkCedgHyCyoT6NonZA.png" /></figure><p>If we pass the invalid string and undefined value then the result always printed as NaN.<strong> </strong>The null value has a default value of 0.</p><p><strong>2. parseInt()</strong></p><p>The parseInt() method first parses or analyzes the string, and then it converts to integer i.e. number.</p><p><em>Syntax:</em></p><pre>parseInt(String, Radix)</pre><p>In this method the first string parameter is mandatory.</p><p>The radix is used to denote numbers to the numeral system i.e. the numbers parsed into hexadecimal to the decimal number. This parameter is optional.</p><p><strong><em>Example:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*cBvFm544EAypOy0LRKnCPw.png" /></figure><p>In the first example, the number will be printed ‘123’, and the rest of the string from ‘$’ will ignore.</p><p>In the second example, the string value must start with the number otherwise the whole string will be ignored, and the output will be printed as NaN.</p><p><strong>3. parseFloat()</strong></p><p>The parseFloat() method is used to parse or analyze the string, and then it converts to a floating-point number i.e. 3.14.</p><p><em>Syntax:</em></p><pre>parseFloat(String)</pre><p>The single string type parameter can only be passed in the method.</p><p><strong><em>Example:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*HogwIhtSmCjdlh8lCeTmBg.png" /></figure><p>In the above examples, the behavior of the parseFloat() method is the same as the parseInt() method.</p><h4>— To Boolean Conversion:</h4><p>In boolean conversion, the values are converted to boolean values.</p><p><em>Syntax:</em></p><pre>Boolean(valuesToBoolean)</pre><p><strong><em>Example:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*U2dyCB9sgL6GPWAHAXTHNA.png" /></figure><p>If we pass the values like empty string(‘’), null, undefined, and NaN then the result will always be false.</p><h3>Type Coercion or Implicit Coercion :</h3><p>Type coercion is similar to type conversion, but the only key difference is the coercion performed automatically or implicitly by the JavaScript engine.</p><p>For example, In the built-in alert() method when we pass any values the JavaScript engine will automatically convert those values into a string and display the result.</p><p>In type coercion, the same data types are used such as <strong>String, number, </strong>and<strong> boolean,</strong> converted into their desired type.</p><h4><strong>— To String Coercion :</strong></h4><p>When a string is added with the number or non-string value using the plus(+) operator then the output of the expression is always a string.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*etwg81PFREKf1XH_nM2qcQ.png" /></figure><p>In type coercion, if the first operand is a string and the second operand is non-string then the result always prints as a string.</p><p>Here the ‘+’ operator acts as a concatenation of two different operands.</p><h4>— To Number Coercion:</h4><p>The mathematical operations like Subtraction(-), Multiplication(*), Division(/), and Modulus(%) performed with the string then the output of the expression is converted into a number implicitly.</p><p>In number coercion, the plus(+) operator is not used.</p><p><strong>Example :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*Ny-RH6JDBVPdXmvb5H7mcA.png" /></figure><p>If any one of the string is non-numeric or both the strings are non-numeric then the JavaScript display the result as NaN i.e., not a number.</p><h4>— To Boolean Coercion:</h4><p>In boolean coercion, the boolean values such as true and false are converted to a number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*8UHifiCfwApvOXOoYN_1cg.png" /></figure><p>In the above examples, JavaScript considers the <strong>true</strong> value as <strong>1</strong> and the <strong>false</strong> value as <strong>0</strong>.</p><h3>Conclusion:</h3><p>The conversion and coercion terms are quite confusing at first, but you have understood everything in this article. In the interview process, the interviewer may ask questions related to these types, and you will be able to answer them without any problem.</p><h4><strong>If this article helped you please clap, comment, share, and don&#39;t forget to follow me.</strong></h4><h4>Thank You For Reading!</h4><p>Don’t forget to follow The Lean Programmer Publication for more such articles, and subscribe to our newsletter <a href="http://tinyletter.com/TheLeanProgrammer">tinyletter.com/TheLeanProgrammer</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8974afe03b85" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theleanprogrammer/type-conversion-and-coercion-8974afe03b85">Type Conversion and Coercion</a> was originally published in <a href="https://medium.com/theleanprogrammer">TheLeanProgrammer</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript: Explore Different Types Of Console Methods.]]></title>
            <link>https://medium.com/theleanprogrammer/javascript-explore-different-types-of-console-methods-73c09e526d58?source=rss-b0854263ff28------2</link>
            <guid isPermaLink="false">https://medium.com/p/73c09e526d58</guid>
            <category><![CDATA[console]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[methods]]></category>
            <category><![CDATA[logs]]></category>
            <category><![CDATA[debugging]]></category>
            <dc:creator><![CDATA[Nitin Gutte]]></dc:creator>
            <pubDate>Mon, 17 May 2021 12:07:29 GMT</pubDate>
            <atom:updated>2025-04-25T10:14:07.872Z</atom:updated>
            <content:encoded><![CDATA[<h4>Are you only familiar with console.log() and want to know more about console methods in detail? This article drives you through every console method available in JavaScript.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1tt1DouhPOMMwT6iM_NLGQ.png" /></figure><p>As a beginner in JavaScript, you used the console.log() method a lot of times to display the result of your code. JavaScript introduced different types of methods to find errors in the code.</p><p>This article gives you a basic understanding of console methods.</p><h3><strong>What is the Console?</strong></h3><p>The console is the tool where you can test or check whether your code is working properly or not.</p><p>It can be used to access the browser to troubleshoot the errors related to your code.</p><p>Remember, a <strong>console</strong> is an object that can access methods like <strong>log() </strong>using the <strong>dot (.) </strong>operator.</p><p><em>Syntax :</em></p><blockquote>Object.Method(parameters);</blockquote><p>Different types of methods are as follows.</p><h3>1. console.log() :</h3><p>As a newbie programmer, you learned to display the output of the program from the console.log() function or method.</p><p>As we know, this method can display messages or mathematical expressions in the console.</p><p><em>Syntax :</em></p><blockquote>console.log(parameter);</blockquote><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/938dc788fbee9e67943fe10ad0788c99/href">https://medium.com/media/938dc788fbee9e67943fe10ad0788c99/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*NqjstNG2BCYGSgU7rYwaQg.png" /></figure><h3>2. console.info() :</h3><p>The console.info() is a method in JavaScript that is used to display important messages to the console.</p><p><em>Syntax :</em></p><blockquote>console.info(parameter);</blockquote><p>In this method, the parameter can be of string, objects, or arrays.</p><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/010dd17aa54c934a8090da8a1bc18cea/href">https://medium.com/media/010dd17aa54c934a8090da8a1bc18cea/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*gAVfK2m-SFhCKk3f7jvUMg.png" /></figure><h3>3. console.clear() :</h3><p>As simple as the name given, it is used to clear the mess in the console.</p><p><em>Syntax :</em></p><blockquote>console.clear();</blockquote><p>This method doesn’t require any parameters.</p><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d1fb01a5b431d64b8f34c76d815fefc/href">https://medium.com/media/7d1fb01a5b431d64b8f34c76d815fefc/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*BF3L-szuhbM8oiMiyyqaVA.png" /></figure><p>By default, the console logs the message <em>‘Console was cleared’.</em></p><h3>4. console.error() :</h3><p>This method is used to find errors in the code. The Console.error() method is developed for debugging.</p><p><em>Syntax :</em></p><blockquote>console.error(parameter);</blockquote><p>Parameters of string type are required.</p><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d732d482ab8bf2adbed5a4f413501728/href">https://medium.com/media/d732d482ab8bf2adbed5a4f413501728/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*D5tJdaK-DmD9dZiki94f4Q.png" /></figure><p>The output of the console is in red.</p><h3>5. console.warn() :</h3><p>If something goes wrong, then this method is used to display warning messages to the console.</p><p>Syntax :</p><blockquote>console.warn(parameter);</blockquote><p>This method also requires a string-type parameter.</p><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/51d953d54bbb918a5600b8be185fac92/href">https://medium.com/media/51d953d54bbb918a5600b8be185fac92/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*4i0-L-ts4Hl-LZMW2VnCsw.png" /></figure><p>By default, the color of the message is yellow.</p><h3>5. console.assert() :</h3><p>The assert method only displays the message if the given expression is false.</p><p><em>Syntax :</em></p><blockquote>console.assert(parameters(Expression, Message);</blockquote><p>We can only pass two parameters in the method :</p><p><em>Expression</em>: This is the boolean expression that is true or false can be passed.</p><p><em>Message</em>: This is a string message that displays if the expression is false. You can also pass objects and arrays.</p><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2d05d953ea61acc6e2856dfd0c0133fc/href">https://medium.com/media/2d05d953ea61acc6e2856dfd0c0133fc/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*fTsRUEGgB0JG5KPAlG-Z0w.png" /></figure><p>In this example, if the ID is not found, then the console logs the following message: <em>‘There is no valid ID found’</em>.</p><h3>6. console.count() :</h3><p>We used the count variable to count the number of repetitions in the loop.</p><p>The console.count() method also counts the number of times it is called in the program.</p><p><em>Syntax :</em></p><blockquote>console.count(label);</blockquote><p>Parameters which is passed in the method are a type of label, which is a string.</p><p>If the parameters are not present in the method, then the default parameters will be added.</p><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/07475a0e774b38a12314fb2c57bfa038/href">https://medium.com/media/07475a0e774b38a12314fb2c57bfa038/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*1Gwd5HqX6RDinSpHfY988A.png" /></figure><p>As the loop goes through every iteration, the console adds the ‘default’ name with a number.</p><h3>7. console.trace() :</h3><p>The console.trace() method tracks the execution of the code from the starting point to the endpoint and how the code ended at a certain point.</p><p><em>Syntax :</em></p><blockquote>console.trace(label);</blockquote><p>This method accepts any data as a single parameter.</p><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f2f43be2c650442028bfe70c0bf38747/href">https://medium.com/media/f2f43be2c650442028bfe70c0bf38747/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*-10HV42QZAaejZkutnPteg.png" /></figure><h3>8. console.table() :</h3><p>This method displays data in the form of tables.</p><p>The first compulsory parameters passed are in the form of Arrays or Objects, and it requires another parameter as a column(optional parameter).</p><p><em>Syntax :</em></p><blockquote>console.table(any data);</blockquote><p>or</p><blockquote>console.table(any data, data columns);</blockquote><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e9f5e2c977f0bdda6c61a3896ab06fde/href">https://medium.com/media/e9f5e2c977f0bdda6c61a3896ab06fde/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tyVBXN5Zmz-7RpdfxTkBgA.png" /></figure><h3>9. console.time() and console.timeEnd() Methods :</h3><p>The time method is used to track how long any type of operation takes to complete the task.</p><p>It starts from the console.time() method and ends in to console.timeEnd() method. This is the period where this method calculates the total time.</p><p><em>Syntax :</em></p><blockquote>console.time(label);</blockquote><blockquote>. . . .</blockquote><blockquote>console.timeEnd(lable);</blockquote><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a98e463af41164fc7bf5c5c697843b89/href">https://medium.com/media/a98e463af41164fc7bf5c5c697843b89/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*bbhm5LMWir3ytL2FVM1zAg.png" /></figure><p>The console logs the time with the message passed to it.</p><h3>10 Grouping Methods :</h3><h4>1. console.group() :</h4><p>This method allows grouping the content logs of the code. It is used to start the group.</p><p><em>Syntax :</em></p><blockquote>console.group(label);</blockquote><p>The parameter label, which is the type of string,g is optional in the method.</p><h4>2. console.groupEnd() :</h4><p>This method is used to end the group.</p><p><em>Syntax:</em></p><blockquote>console.groupEnd();</blockquote><p>No parameters used in this method.</p><p><strong>3. console.groupCollapsed() :</strong></p><p>This method is used to structure the separate group in a collapsed manner. It&#39;s like nesting in the loop.</p><p><em>Syntax :</em></p><blockquote>console.groupCollapsed(label);</blockquote><p>This method uses only one label parameter as a string type.</p><p><strong>Example :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d3d840be02c24c29b8d9eb4f4f18fe9a/href">https://medium.com/media/d3d840be02c24c29b8d9eb4f4f18fe9a/href</a></iframe><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*DbY3siy6ED9rw-8DSYw2DA.png" /></figure><h3>— A few lesser-known but useful methods include:</h3><ul><li><strong>console.dir() :</strong></li></ul><p>Displays a list of the properties of an object. It’s useful for inspecting DOM elements.</p><pre>console.dir(object);</pre><ul><li><strong>console.dirxml() :</strong></li></ul><p>A hierarchical tree format of an XML/HTML element is generated and used for DOM elements.</p><pre>console.dirxml(document.body);</pre><ul><li><strong>console.timeLog() :</strong></li></ul><p>Logs the current value of a timer. Use it <em>between</em> console.time() and console.timeEnd()</p><pre>console.time(&quot;MyTimer&quot;);<br><br>console.timeLog(&quot;MyTimer&quot;);</pre><h3>Conclusion :</h3><p>This article introduced you to the different types of console methods. You can use these methods in your debugging journey.</p><p>Some methods look simple, but they are very useful in finding bugs in your code.</p><p>If something goes wrong in your code, these methods give you the ability to find the solution to your problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bIME5HCGNdmBq-TsZJ61RA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@ingvar_erik?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Igor Karimov</a> on <a href="https://unsplash.com/s/photos/console?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p><strong>If you enjoyed this article, please comment, share, and follow me.</strong></p><p><strong>Thank You For Reading!</strong></p><p>Don’t forget to follow The Lean Programmer Publication for more such articles, and subscribe to our newsletter <a href="http://tinyletter.com/TheLeanProgrammer">tinyletter.com/TheLeanProgrammer</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73c09e526d58" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theleanprogrammer/javascript-explore-different-types-of-console-methods-73c09e526d58">JavaScript: Explore Different Types Of Console Methods.</a> was originally published in <a href="https://medium.com/theleanprogrammer">TheLeanProgrammer</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript: Deep Dive Into Variables]]></title>
            <link>https://medium.com/theleanprogrammer/javascript-deep-dive-into-variables-6674eeb79fe5?source=rss-b0854263ff28------2</link>
            <guid isPermaLink="false">https://medium.com/p/6674eeb79fe5</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[javascript-hoisting]]></category>
            <category><![CDATA[temporal-dead-zone]]></category>
            <category><![CDATA[javascript-variable]]></category>
            <category><![CDATA[variables]]></category>
            <dc:creator><![CDATA[Nitin Gutte]]></dc:creator>
            <pubDate>Sat, 15 May 2021 11:01:24 GMT</pubDate>
            <atom:updated>2021-05-15T11:01:24.417Z</atom:updated>
            <content:encoded><![CDATA[<h4>In this article, I will explain from basics of variables to an advanced level.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-q1rPJlCDUJE5ratG7rvUQ.png" /></figure><p>Whether in the home, office, shops and in our computer, storage is important to organize items systematically. If we need an item, we can easily search for the item without any panic, and it requires less time.</p><p>All computers need to store the user data, such as photos, videos, files, etc. On the Hard Disk. In RAM (Random Access Memory) where the program is stored and is used to complete the task using the CPU.</p><p>In programming languages, we also need to store some data and this data is stored in a variable. Variables are the reference where the values are stored.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F17676949&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Frabbit-cute-box-carrot-carrot-box-gif-17676949&amp;image=https%3A%2F%2Fmedia.tenor.com%2Fimages%2Fb91b67c0ca827e49e647a952e851212d%2Ftenor.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/6b92937970b51b1d3d0f65f1737e29e3/href">https://medium.com/media/6b92937970b51b1d3d0f65f1737e29e3/href</a></iframe><p>The variables are like boxes where the memory locations are stored. Memory locations hold the values that are required during the execution of the program.</p><h3>Types of Programming Languages:</h3><h4>1. Statically Typed Language</h4><p>In this type, the variables are stored of a certain type, other values cannot be stored.</p><p>The programming languages such as C, C++, Java, etc. are <em>statically typed programming</em> <em>languages</em>.</p><p><em>Example in Java :</em></p><blockquote>string dogName = “Rocky”;</blockquote><blockquote>int num = 15;</blockquote><p>In this example, the name of a dog is declared in a string variable<strong> dogName. </strong>We cannot add the number to a string variable.</p><p><em>Note — String is a data type where the text(“Rocky”) is stored in the double(“ ”) quotes. The other data type is int(integer) where the number(25) is stored.</em></p><h4>2. Dynamically Typed Language</h4><p>In these types of languages, they can hold different types of information without naming with the data type.</p><p>JavaScript, Python, PHP, Ruby, etc. are <em>dynamically typed programming languages.</em></p><p><em>Example in JavaScript :</em></p><blockquote>var name = “Alice”;</blockquote><blockquote>var num = 25;</blockquote><p>In the above examples, we don’t specify the data type before naming variables as we did in statically typed languages.</p><h3>Variables In JavaScript :</h3><p>Before we dive into the variables first we need to understand some definitions.</p><ol><li>Declaration: It means informing the compiler to give the memory for variable type, variable name, and the value associated with that variable.</li><li>Initialization: It means assigning an initial value(text or number) in the variable before it is used in the code.</li></ol><p>In most programming languages there is one type to declare a variable. In JavaScript, there are majorly three types to declare variables.</p><h4>1. var: Variable</h4><p>Var can be declared either as <em>Global-Scoped</em> or <em>Local-Scoped</em> or <em>Function-Scoped</em> variable. It allows storing values as well as functions and objects.</p><p>The var keyword is used to declare variables before ES6(2015 version) or in older versions of JavaScript. Var is no longer used in the newer versions of JavaScript.</p><p><strong><em>Syntax :</em></strong></p><blockquote>var Variable-Name = “some-value”;</blockquote><p><strong><em>For Example :</em></strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ede86399cf5034bc7b39a241bd1a4a3f/href">https://medium.com/media/ede86399cf5034bc7b39a241bd1a4a3f/href</a></iframe><p>The variable name is declared and assigned a string value, this variable can be accessed anywhere in the program.</p><p>In function displayAge(), the variable age is declared and assigned a number value. The age variable accessed only in the function and not outside the function.</p><h4>2. let: To Allow</h4><p>Let can be <em>Block-Scoped</em> or <em>Local-Scoped.</em></p><p>It can only be accessed in that block where it is declared. It means the variable only visible in between the curly braces({}).</p><p>Let allows us to assign and reassign the values in the variables.</p><p>The <em>let</em> keyword was first introduced in ES6(2015 version).</p><p><strong><em>Syntax :</em></strong></p><blockquote>let Variable-Name = “Some-Value”;</blockquote><p><strong><em>For Example:</em></strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ac9babe0ddcb1de65675e173dd35cf18/href">https://medium.com/media/ac9babe0ddcb1de65675e173dd35cf18/href</a></iframe><p>In the first example, we stored a string value to the name variable. And we can change or reassign the value of a variable in a second example with a different type or the same type.</p><h4>3. const: Constant</h4><p>Const variable can be accessed Globally, and this variable can not be changed once declared.</p><p>This keyword also introduced in the ES6(2015 version).</p><p><strong><em>Syntax:</em></strong></p><blockquote>const Variable-Name = “Some-Value”;</blockquote><p><strong><em>For Example :</em></strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4b0ecb592f1cda15b9750741de2e34cc/href">https://medium.com/media/4b0ecb592f1cda15b9750741de2e34cc/href</a></iframe><p>In this example, first, we assigned a number(10) value in the age variable. If we try to change the value inside the variable the program throws an error “<em>TypeError: Assignment to the constant variable”.</em></p><p><em>Note: Constant is like pi value in mathematics which has the default value i.e. pi = 3.14.</em></p><h3>Rules For Naming Variables :</h3><ol><li><strong>You cannot use a reserved keyword for naming the variables.</strong></li></ol><p>The keywords such as if, var, else, let, const, enum, native, etc. are the system reserved keywords, and they are not used for variable names.</p><p><strong><em>For Example :</em></strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/334f61766e7722dd53978d0e2139fc62/href">https://medium.com/media/334f61766e7722dd53978d0e2139fc62/href</a></iframe><p>The interpreter throws an error, <em>SyntaxError: Unexpected token ‘for’</em>.</p><p><em>Note</em><strong><em>:</em></strong><em> Reserved keywords are also not used for the function names.</em></p><p><strong>2. Don’t use the spaces, instead use camel Case.</strong></p><p>It is the best practice to use camelCase for the names. Users can easily read the name to understand why the variable is used for.</p><p><strong><em>For Example :</em></strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/80bc187362205e10d9c52b71ba3e876a/href">https://medium.com/media/80bc187362205e10d9c52b71ba3e876a/href</a></iframe><p>It shows an error as <em>SyntaxError: Unexpected identifier.</em></p><p><strong>3. Don’t start with numbers, special characters before the variable names.</strong></p><p>If you start with the numbers before the names, JavaScript thinks of it as a number, and the rest of the words ignored.</p><p><strong><em>For Example:</em></strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/037b3879e37ad865e74efe03126e358c/href">https://medium.com/media/037b3879e37ad865e74efe03126e358c/href</a></iframe><p>You can use the number after the variable name.</p><p><strong>4. JavaScript is case-sensitive.</strong></p><p>The first variable name num is not similar to the second Num.</p><p><strong><em>For Example:</em></strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/97cdc315676873f63ebf3f3bad74e76d/href">https://medium.com/media/97cdc315676873f63ebf3f3bad74e76d/href</a></iframe><p>If both values are the same, but the names are different, JavaScript thinks of them as different names.</p><h3>Hoisting And Temporal Dead Zone In JavaScript</h3><h4>1. Hoisting :</h4><p>Hoisting is the JavaScript engine behavior in which declarations of variables, functions move to the top of the code scope.</p><p>Hoisting is only for declarations not for the assignment because the JavaScript engine first allocates the memory for variables and then assigns a value.</p><p><strong><em>Example: Hoisting with var</em></strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fbfb8d39578d405deb83612b54804426/href">https://medium.com/media/fbfb8d39578d405deb83612b54804426/href</a></iframe><p>In the first line of the code, we first log the variable <em>age </em>into the console, and then in the second line, we are declared <em>age, </em>and assigned a value of 15.</p><p>The compiler shows the value is <em>undefined </em>Because the JavaScript engine seeing like this “<em>var age;” </em>at the first line<em>. </em>The<em> </em>behavior of the engine<em> </em>is first declaring the variable with <em>var</em>, second allocating some memory, and in the last, it moves to the assignment operation. In this case, we assigned a value in the last line, so the compiler is not going to see.</p><p><em>Note: Undefined is a primitive value that the variable is not assigned a value or the variable is just reserved i.e. not declared.</em></p><p><strong>Example: Hoisting with <em>let </em>and <em>const</em></strong></p><p>Hoisting in <em>let</em> and <em>const</em> is different from <em>var. </em>It throws an error rather than showing an <em>undefined</em> value.</p><ul><li><strong><em>let:</em></strong></li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/44d0661c4e3abe7c18244fe0315e8ac0/href">https://medium.com/media/44d0661c4e3abe7c18244fe0315e8ac0/href</a></iframe><p>The code shows the following error “<em>ReferenceError: Cannot access ‘age’ before initialization”.</em></p><ul><li><strong><em>const:</em></strong></li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1dd1a9614fa1336a4fae0311ad68db28/href">https://medium.com/media/1dd1a9614fa1336a4fae0311ad68db28/href</a></iframe><p>Declaring with const, the code prompts the same error “<em>ReferenceError: Cannot access ‘age’ before initialization</em>”.</p><p>So, we can say that the <em>const</em> behaves similarly to <em>let.</em></p><h4>2. Temporal Dead Zone :</h4><p>The temporal zone is the zone in which the time between the variable (let or cost) entering the block scope and being declared where they are unable to access.</p><p><strong><em>For Example :</em></strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2dc447e990b71874a81f9cc2308ca6cd/href">https://medium.com/media/2dc447e990b71874a81f9cc2308ca6cd/href</a></iframe><p>The code throws <em>“ReferenceError” </em>because the variable is accessed before initialization.</p><p>The benefit of the Temporal Zone is software bugs can be found easily.</p><h3>Conclusion :</h3><p>After reading this article you will get an idea what is the variables. Don’t get confused between Hoisting and Temporal Dead Zone. If you don&#39;t understand you can read this article one more time.</p><p>Apply what you learned from this article. For more detail, you can go to the official documentation of <a href="https://devdocs.io/javascript/">JavaScript</a> or go to<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript"> MDN web docs</a>.</p><p>— <strong><em>I hope you enjoyed this detailed article, feel free to comment if anything is incorrect, and ask the questions.</em></strong></p><p>Don’t forget to follow The Lean Programmer Publication for more such articles, and subscribe to our newsletter <a href="http://tinyletter.com/TheLeanProgrammer">tinyletter.com/TheLeanProgrammer</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6674eeb79fe5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theleanprogrammer/javascript-deep-dive-into-variables-6674eeb79fe5">JavaScript: Deep Dive Into Variables</a> was originally published in <a href="https://medium.com/theleanprogrammer">TheLeanProgrammer</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn HTML In One Article]]></title>
            <link>https://nitin-nitingutte-gutte.medium.com/learn-html-in-one-article-a481121136d?source=rss-b0854263ff28------2</link>
            <guid isPermaLink="false">https://medium.com/p/a481121136d</guid>
            <category><![CDATA[html-basic]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[learn-html]]></category>
            <category><![CDATA[html-css]]></category>
            <dc:creator><![CDATA[Nitin Gutte]]></dc:creator>
            <pubDate>Sat, 30 Jan 2021 14:17:42 GMT</pubDate>
            <atom:updated>2021-01-30T14:17:42.571Z</atom:updated>
            <content:encoded><![CDATA[<h4>Want to learn HTML? Then this article is helpful for you. As you go through this article you will be capable of understanding the basics of HTML.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pUi3vkj06Vqp_sXeiI-UbQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@jstrippa?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">James Harrison</a> on <a href="https://unsplash.com/s/photos/programming?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>There is a lot to learn to become a successful web developer.</p><p>HTML is one of them, HTML is the first skill to learn followed by CSS and JavaScript.</p><h3>What is HTML?</h3><p>HTML stands for Hypertext Markup Language. HTML was created by Tim Berners Lee in late 1991.</p><p>HTML is easy to learn and it helps you to add the content or information to the webpage.</p><p>Programming languages use logic where HTML uses tags. Tags are used to differentiate between text and HTML text. There is no limit to use tags, you can use as many tags as you want.</p><p>There are various types of Markup Languages.</p><ol><li>HTML — Hyper-text Markup language</li><li>SGML — Standard Generalized Markup Language</li><li>XML — Extensible Markup Language</li><li>ASN.1 — Abstract Syntax Notation One</li><li>MathML — Mathematical Markup Language</li><li>KML — Keyhole Markup Language</li></ol><h4>History</h4><ol><li>HTML — Late 1991</li><li>HTML 2.0 — November 24, 1995</li><li>HTML 3 — January 14, 1997</li><li>HTML 4 — December 18, 1998</li><li>XHTML — May 2000</li><li>HTML — October 28,2014</li></ol><h3>Basic Structure of HTML</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*YGn2252QkqWFUBvOXJ7aTw.png" /></figure><p>Don’t be afraid of this snippet, I will explain you line by line.</p><ol><li><strong><em>&lt;!DOCTYPE html&gt; Tag</em></strong></li></ol><p>The &lt;!DOCTYPE&gt; tag is the first element and this element is used only once.</p><p>&lt;!DOCTYPE&gt; tag declare document type i.e. HTML 5</p><p>This tag is not case-sensitive.</p><p><em>Syntax:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*CjMRutM6AZW1kwQRf3NWyA.png" /></figure><p><strong><em>2. &lt;html&gt; Tag</em></strong></p><p>&lt;html&gt; tag is the root element of the HTML. Every Other element is enclosed within this tag.</p><p><em>Syntax:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*cbh_d24K-KMC07Bxghwoig.png" /></figure><p><strong><em>3. &lt;head&gt; Tag</em></strong></p><p>This tag contains the metadata or information on the web page. Such as Title, Script, Link, etc</p><p><em>Syntax:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/1*mnqFnwcy0g02-l7PBH00uA.png" /></figure><p><strong><em>4. &lt;title&gt; Tag</em></strong></p><p>&lt;title&gt; tag displays the title of the web page at the top of the browser.</p><p><em>Syntax:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*39Z6bEAAO9HmR-OnAi68BA.png" /></figure><p><strong><em>5. &lt;body&gt; Tag</em></strong></p><p>The content of the web page is wrapped in the body element.</p><p>i.e. Headings, Paragraphs, Images, Links</p><p><em>Syntax:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*N84omfy6lKOqnr-nz1xUMQ.png" /></figure><h3>Heading Tag in HTML</h3><p>HTML headings provide useful information for the user. Search engines like Google, Yahoo, Duck-Duck Go uses headings to index the structure and content of webpages.</p><p>There are total six types of HTML headings</p><p>&lt;h1&gt;, &lt;h2&gt;, &lt;h3&gt;, &lt;h4&gt;, &lt;h5&gt; and &lt;h6&gt;</p><p>Where &lt;h1&gt; is the largest heading and &lt;h6&gt; is the smallest heading.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*Yz5GoBhk_EtIjTEYrvJovA.png" /></figure><h3>Paragraph Tag in HTML</h3><p>A paragraph is the collection of sentences that are used to provide short or long information on the page to the visitors.</p><p>&lt;p&gt; tad defines a paragraph. Internet browsers add an empty line or margin before and after a paragraph.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*OYp1rcgvOfnW4jbowrCiFA.png" /></figure><h3>Image Tag in HTML</h3><p>Images are used to attract the users and it helps to rank the website in search engines.</p><p>The &lt;img&gt; tag is used to insert images in the webpages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*_syz_SZba7QOK5SWOGZfOA.png" /></figure><h4>Attributes</h4><ol><li><strong><em>Src</em></strong></li></ol><p><em>Src is nothing but the source. The source is used to add the location of the image.</em> <em>Alt</em></p><p>2.<strong> <em>Alt</em></strong></p><p>Alt stands for Alternative text. To display the image, you have to add some Alternative text.</p><p>An alternative is also useful for ranking the website.</p><p>3. <strong><em>Width and Height</em></strong></p><p>To define the image size, use the width and height attributes.</p><p>Image attribute values specified in Pixels.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*ISfofTKPPfDkxn2vvUDh9Q.png" /></figure><h3>Link Tag In HTML</h3><p>HTML uses Hyperlinks.</p><p>Links in HTML is used to direct the user to the new web page.</p><p>The links are any type of image, video, audio, program, and HTML document.</p><p><em>Syntax:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*Gz7zVX6Px63tLo9NgwOMyg.png" /></figure><h4>Attributes</h4><ol><li><strong><em>href</em></strong></li></ol><p>The href attribute is used to add the destination address of the link.</p><p>2. <strong><em>Target</em></strong></p><p>The target attribute is used to open the link in the current window or new tab.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*cB4Jmwut62HmgABhhIzMzQ.png" /></figure><h3>List Tag in HTML</h3><p>A list is a collection of information or items.</p><ol><li><strong><em>Ordered List</em></strong></li></ol><p>An ordered list is grouped in ascending order.</p><p>In this list, numbers are used to list items.</p><p>It starts with &lt;ol&gt;</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*hZGKg8t-dp9vgw0jl73vKg.png" /></figure><p>2. <strong><em>Unordered List</em></strong></p><p>Bullet points are used to list items.</p><p>It starts with &lt;ul&gt;</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*lsx6IIQ6O9aROb5JJuIOWQ.png" /></figure><h3>Table Tag in HTML</h3><p>Tables are a collection of rows and columns.</p><p>&lt;table&gt; defines a table in HTML.</p><p>&lt;tr&gt; tag is used to define a row.</p><p>&lt;th&gt; tag is used to define a header.</p><p>&lt;td&gt; tag is used to define a data/cell.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*nUVSQAff8mopKmsBQjAUug.png" /></figure><h4>Attributes</h4><p><strong><em>1.Border</em></strong></p><p>CSS border property is used to add a border to the table.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*FQr7_TW2s2MUoeCSE2AEog.png" /></figure><p><strong><em>2. Collapsed Border</em></strong></p><p>CSS border-collapse property is used to collapse borders into one border.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*tK6KklOYeK-cPOuQ76JXxQ.png" /></figure><p><strong><em>3.Cell padding</em></strong></p><p>Cell padding provides space in between the cell or data content and with its border.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*VQNDGE2a6Mw2BGMHF7xVJQ.png" /></figure><p><strong><em>4.Left Align Headings</em></strong></p><p>CSS text-align property is used to align the table heading to left.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*jx-6um1wuCOGMJpmTtViyg.png" /></figure><p><strong><em>5.Border spacing</em></strong></p><p>CSS border-spacing property is used to add the spacing between cells or data.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*1m14OegRCeI_k_ELgA0MoA.png" /></figure><h3>Form Tag in HTML</h3><p>HTML forms are used to collect information from the user such as photos, email, text, etc.</p><p>The &lt;form&gt; tag defines forms.</p><h4>Attributes</h4><ol><li><strong><em>Label</em></strong></li></ol><p>The &lt;label&gt; defines a label for form elements.</p><p><strong><em>2.Input</em></strong></p><p>The &lt;input&gt; element is form element.</p><p>Depending on the type of attribute, it can be used in many ways.</p><p><em>Example:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*Rc2xEuNkQfPQSOJG-_fgVA.png" /></figure><p><strong>Congratulations!<em> You just learned the basics of HTML.</em></strong></p><p><strong><em>Just go to the other resources to learn more about HTML in detail. Practice a lot because practice is the mother of learning.</em></strong></p><h4>Thanks for reading my article.</h4><h4>Happy Coding!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a481121136d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>