<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: edankhra</title>
    <description>The latest articles on DEV Community by edankhra (@edankhra).</description>
    <link>https://dev.to/edankhra</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1123765%2F86cc4f97-dccd-40fb-8e78-f12f72d92730.png</url>
      <title>DEV Community: edankhra</title>
      <link>https://dev.to/edankhra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/edankhra"/>
    <language>en</language>
    <item>
      <title>Creating Your First React Project</title>
      <dc:creator>edankhra</dc:creator>
      <pubDate>Tue, 03 Oct 2023 18:24:11 +0000</pubDate>
      <link>https://dev.to/edankhra/creating-your-first-react-project-3p0l</link>
      <guid>https://dev.to/edankhra/creating-your-first-react-project-3p0l</guid>
      <description>&lt;h3&gt;
  
  
  Introduction to React
&lt;/h3&gt;

&lt;p&gt;React is an open-source JavaScript library created by Facebook's Jordan Walke to make user interfaces for both web and mobile systems. React was first used in 2011 on Facebook's newsfeed. In 2012, it was used on Instagram, and in 2013 it was made available to the public. React is best for applications that change their data quickly and dynamically. It can show the parts of the UI that are changing without re-rendering the whole page. This makes the user experience much faster. If you are still wondering what React is all about, let’s go through the introduction to React and its related aspects.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Create a New React Application
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;First open terminal and run the following command to create a new React application:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bw3QHFVX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/78n5mejmqn8tttxmu5ps.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bw3QHFVX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/78n5mejmqn8tttxmu5ps.png" alt="Image description" width="724" height="91"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(You can use any project name instead of my-react-app)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now you need to change the project directory:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wyFwSdaX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2gdrqmsdeg40wwsg755u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wyFwSdaX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2gdrqmsdeg40wwsg755u.png" alt="Image description" width="729" height="96"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;now you are in my-react-app directory.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Run the React Application
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Start the Development Server and for that run the following command to start the development server:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--U4lQiaQK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vmh7yhcqfszzmblyjzll.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--U4lQiaQK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vmh7yhcqfszzmblyjzll.png" alt="Image description" width="721" height="87"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Structure Your React Project
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;A React project structure looks like this:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BhkZvpXh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c6ozjms0z3nxuqkyah2v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BhkZvpXh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c6ozjms0z3nxuqkyah2v.png" alt="Image description" width="715" height="352"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;u&gt;'public'&lt;/u&gt; : Contains the public assets and the main HTML&lt;br&gt;
file and you can add any images or logo of the website&lt;br&gt;
&lt;u&gt;'src'&lt;/u&gt;: Contains the React application code.&lt;br&gt;
&lt;u&gt;'package.json'&lt;/u&gt;: Configuration file for managing project dependencies.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Creating Components : In the 'src/' directory, you can create 
React components which represent different parts of your 
application. 

&lt;ul&gt;
&lt;li&gt;First create 'components' folder and in that create .js files 
and it is look like this:&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GA_nzaI2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qz6awkxtzv8glkggraf3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GA_nzaI2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qz6awkxtzv8glkggraf3.png" alt="Image description" width="229" height="231"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Styling: For styling you can create index.css file and styling your components. &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  You can add 'db.json' file as well
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;First, you need to install JSON Server globally. Open your terminal and run:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oSJ7Hb5E--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dkujv0albkczqre87xui.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oSJ7Hb5E--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dkujv0albkczqre87xui.png" alt="Image description" width="712" height="81"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a 'db.json' file and define your data structure. For example:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ighx1l3u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8cu4kvdyxi8d2pejahtq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ighx1l3u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8cu4kvdyxi8d2pejahtq.png" alt="Image description" width="715" height="325"&gt;&lt;/a&gt;&lt;br&gt;
-Navigate to the directory where your db.json is located and start the JSON Server by running: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LuFISOAy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g9zik3couumw2wp0vh4s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LuFISOAy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g9zik3couumw2wp0vh4s.png" alt="Image description" width="724" height="94"&gt;&lt;/a&gt;&lt;br&gt;
 This command starts the JSON Server and serves the db.json file on '&lt;a href="http://localhost:3001"&gt;http://localhost:3001&lt;/a&gt;'.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For Access Data in React, you need to fetch URL of db.json file in a React component.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;Now you can create a new React project. You can now start building your application by adding components, implementing functionality, and customizing the design to meet your requirements.&lt;/p&gt;

&lt;p&gt;In this blog, I have covered the basic steps to set up a React project. As you proceed on your React journey, you'll delve into more advanced concepts, explore various state management techniques, and gain insights into deploying your React applications.&lt;br&gt;
Happy coding and building! 🚀&lt;/p&gt;

</description>
      <category>react</category>
      <category>css</category>
      <category>developer</category>
    </item>
    <item>
      <title>A Beginner's Guide to HTML, CSS, and JavaScript</title>
      <dc:creator>edankhra</dc:creator>
      <pubDate>Sun, 23 Jul 2023 22:26:33 +0000</pubDate>
      <link>https://dev.to/edankhra/a-beginners-guide-to-html-css-and-javascript-2ofb</link>
      <guid>https://dev.to/edankhra/a-beginners-guide-to-html-css-and-javascript-2ofb</guid>
      <description>&lt;p&gt;Hello everyone! Myself Ekta, I am sharing basics of HTML, CSS and JavaScript.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PCIOW1E_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jewty8ah6ft49in34qtm.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PCIOW1E_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jewty8ah6ft49in34qtm.jpg" alt="Image description" width="633" height="397"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Introduction:&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Welcome to the world of web development! In this blog, we will explore the fundamental building blocks of the web: HTML, CSS, and JavaScript. These three technologies work together to create the dynamic and visually appealing websites you see every day. Whether you're a complete beginner or looking to brush up on your skills, this guide will introduce you to the basics of HTML, CSS, and JavaScript.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;1. HTML - The Structure of the Web:&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
HTML (Hypertext Markup Language) forms the backbone of any web page. It provides the structure and content of a webpage. HTML uses tags to define elements, such as headings, paragraphs, images, links, and more. Let's look at a simple example:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Gvcr1jHk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/73opdews3osnsf130y05.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Gvcr1jHk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/73opdews3osnsf130y05.png" alt="Image description" width="399" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;2. CSS - Adding Style and Design:&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
CSS (Cascading Style Sheets) is responsible for the visual presentation of a webpage. It allows you to style HTML elements, change colors, adjust layouts, and create visually appealing designs. Here's a simple CSS example:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gkVFRXvQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1tcofvt5u6ny8hwjfvzr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gkVFRXvQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1tcofvt5u6ny8hwjfvzr.png" alt="Image description" width="441" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;3. JavaScript - Adding Interactivity:&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
JavaScript brings life to web pages by adding interactivity and dynamic behavior. It enables you to respond to user actions, manipulate HTML/CSS, and fetch data from servers. Let's see a basic JavaScript example:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NL7tWzX6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fg4u8099m8q6behp9w5l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NL7tWzX6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fg4u8099m8q6behp9w5l.png" alt="Image description" width="480" height="313"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Conclusion:&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
HTML, CSS, and JavaScript are the foundational languages of the web. With HTML, you structure the content; with CSS, you add style and design; and with JavaScript, you create interactive and dynamic experiences. This is just the beginning of your web development journey. There's so much more to explore, including responsive design, frameworks, libraries, and server-side technologies. So keep learning and building, and soon you'll be crafting impressive websites and web applications! Happy coding!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>javascript</category>
      <category>css</category>
      <category>html</category>
    </item>
  </channel>
</rss>
