<?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>Forem: Shrishti Srivastava</title>
    <description>The latest articles on Forem by Shrishti Srivastava (@shrishti_srivastava_).</description>
    <link>https://forem.com/shrishti_srivastava_</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%2F1663866%2F2f350c12-e291-4048-b83b-0b75c064e1e6.jpg</url>
      <title>Forem: Shrishti Srivastava</title>
      <link>https://forem.com/shrishti_srivastava_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/shrishti_srivastava_"/>
    <language>en</language>
    <item>
      <title>DAY 9 PROJECT: TEMPERATURE CONVERTER</title>
      <dc:creator>Shrishti Srivastava</dc:creator>
      <pubDate>Sat, 24 Aug 2024 20:54:01 +0000</pubDate>
      <link>https://forem.com/shrishti_srivastava_/day-9-project-temperature-converter-5a8c</link>
      <guid>https://forem.com/shrishti_srivastava_/day-9-project-temperature-converter-5a8c</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;TEMPERATURE CONVERTER&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F57tcnyjwo1xz09sy2thz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F57tcnyjwo1xz09sy2thz.png" alt="Image description" width="559" height="506"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxhe1n22f1av8lfsbsozn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxhe1n22f1av8lfsbsozn.png" alt="Image description" width="542" height="491"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Introduction&lt;/p&gt;

&lt;p&gt;Creating a Temperature Converter is a great beginner project to practice web development. This project will help you understand how HTML structures content, CSS styles the page, and JavaScript adds interactivity. By the end of this guide, you will be able to convert temperatures between Celsius, Fahrenheit, and Kelvin with ease.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: HTML for Structuring the Page&lt;/strong&gt;&lt;br&gt;
HTML (HyperText Markup Language) is used to create the basic structure and layout of our webpage. Think of HTML as the skeleton of the page—it determines what elements will appear on the page, such as buttons, text boxes, and drop-down menus.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In our temperature converter, HTML will be used to:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create input fields: Users will be able to enter a temperature value that they want to convert.&lt;/li&gt;
&lt;li&gt;Create dropdown menus: These will allow users to select which unit they want to convert from and which unit they want to convert to (e.g., Celsius, Fahrenheit, Kelvin).&lt;/li&gt;
&lt;li&gt;Create a button: This button will trigger the temperature conversion when clicked.&lt;/li&gt;
&lt;li&gt;Display the result: Once the conversion is complete, the result will be shown in an output field.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fesxcvsflc3q52nusgay7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fesxcvsflc3q52nusgay7.png" alt="Image description" width="799" height="606"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: CSS for Styling the Converter&lt;/strong&gt;&lt;br&gt;
CSS (Cascading Style Sheets) is used to make your webpage look visually appealing. It handles the colors, fonts, layout, and overall design of the page.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In the context of our temperature converter, CSS will:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Style the input fields and dropdown menus: CSS will make sure these elements are neatly aligned and easy to interact with.&lt;/li&gt;
&lt;li&gt;Design the button: CSS will be used to make the button stand out. For example, we can give it a color, rounded corners, and a hover effect when the user places their cursor over it.&lt;/li&gt;
&lt;li&gt;Layout the page: CSS will center the converter on the screen and add padding, margins, and spacing so that everything is easy to read and interact with.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhq1wfdfp5d4nunqevqg9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhq1wfdfp5d4nunqevqg9.png" alt="Image description" width="573" height="846"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Overall, CSS turns a plain HTML structure into a visually engaging webpage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 3: JavaScript for Adding Functionality&lt;/strong&gt;&lt;br&gt;
JavaScript is a programming language that allows you to add dynamic and interactive behavior to your website. It's what makes your webpage respond to user actions, such as clicking a button.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In our temperature converter, JavaScript will be responsible for:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Capturing user input: When the user enters a temperature and selects the units, JavaScript will capture those values.&lt;/li&gt;
&lt;li&gt;Performing the conversion: JavaScript will use mathematical formulas to convert the temperature from one unit to another. For example, if the user wants to convert Celsius to Fahrenheit, JavaScript will apply the correct formula.&lt;/li&gt;
&lt;li&gt;Displaying the result: Once the calculation is complete, JavaScript will update the page to show the converted temperature in the output field.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6g2rlg0a7cff2i4v41en.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6g2rlg0a7cff2i4v41en.png" alt="Image description" width="577" height="621"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;_JavaScript essentially acts as the brain of the application, processing data and updating the interface based on user interactions.&lt;/p&gt;

&lt;p&gt;In this project, HTML serves as the building blocks, CSS beautifies the structure, and JavaScript makes the page come to life with functionality. This simple yet practical project is an excellent way to enhance your web development skills while understanding how these three languages work together.&lt;/p&gt;

&lt;p&gt;Happy coding!&lt;br&gt;
Shrishti Srivastava&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>DAY 8 PROJECT: FEEDBACK UI PAGE</title>
      <dc:creator>Shrishti Srivastava</dc:creator>
      <pubDate>Thu, 25 Jul 2024 14:39:20 +0000</pubDate>
      <link>https://forem.com/shrishti_srivastava_/day-8-project-feedback-ui-page-2546</link>
      <guid>https://forem.com/shrishti_srivastava_/day-8-project-feedback-ui-page-2546</guid>
      <description>&lt;p&gt;&lt;strong&gt;PROJECT NAME - FEEDBACK PAGE USING HTML CSS AND JAVASCRIPT&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Creating a feedback UI page is not just about functionality but also about user experience. In this project, we'll build a simple yet effective Feedback UI Page using HTML for structure, CSS for styling, and JavaScript for interactivity. Let's dive into how you can accomplish this step by step.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwbqidxr0imt7x65bkppv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwbqidxr0imt7x65bkppv.png" alt="Image description" width="800" height="582"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fapztnzj6a3pir674ezrz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fapztnzj6a3pir674ezrz.png" alt="Image description" width="800" height="578"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;HTML FOR THE BASIC STRUCTURE:&lt;br&gt;
First, let's set up the basic structure of our Feedback UI Page using HTML. We'll include sections for the form and the feedback results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs6sgxm2yo6utdriessap.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs6sgxm2yo6utdriessap.png" alt="Image description" width="800" height="329"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;CSS FOR THE USER INTERFACE:&lt;br&gt;
Now, let's style our Feedback UI Page to make it visually appealing and user-friendly. Create a styles.css file and add the following CSS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3g9ccd5wvd8pewq1cweh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3g9ccd5wvd8pewq1cweh.png" alt="Image description" width="589" height="940"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjw7k0rqn7bqn0widu2qm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjw7k0rqn7bqn0widu2qm.png" alt="Image description" width="316" height="496"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;JAVASCRIPT FOR INTERACTIVITY&lt;br&gt;
Lastly, let's add JavaScript (script.js) to handle form submission and display feedback dynamically.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpjzv3yndkhay5y7g3m5f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpjzv3yndkhay5y7g3m5f.png" alt="Image description" width="660" height="658"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Variables:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ratings: A NodeList of all elements with the class rating.&lt;/li&gt;
&lt;li&gt;ratingsContainer: The container element that holds the ratings.&lt;/li&gt;
&lt;li&gt;sendBtn: The button to submit feedback.&lt;/li&gt;
&lt;li&gt;panel: The element where the feedback response will be displayed.&lt;/li&gt;
&lt;li&gt;selectedRating: A variable holding the currently selected rating, initialized to 'Satisfied'.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Event Listeners:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ratingsContainer Click Event:Listens for clicks on the ratings. It checks if the clicked element or its parent is a rating, then updates the UI to highlight the selected rating and stores the rating's value in selectedRating.&lt;/li&gt;
&lt;li&gt;sendBtn Click Event:When the "Send" button is clicked, the panel displays a thank-you message and shows the selected rating.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Function removeActive&lt;/strong&gt;:Removes the active class from all rating elements, ensuring that only the currently selected rating is highlighted.&lt;/p&gt;

&lt;p&gt;The code enables users to select a rating visually and provides feedback upon submission.&lt;br&gt;
With this project, you've created a Feedback UI Page using HTML, CSS, and JavaScript. Users can enter their feedback, which is dynamically added to the page without refreshing. This project not only enhances your front-end development skills but also demonstrates how to create a responsive and interactive user interface. Feel free to expand on this project by adding validation, additional styling, or integrating with a backend for storing feedback data. &lt;/p&gt;

&lt;p&gt;Happy coding!&lt;br&gt;
Shrishti Srivastava&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>DAY 7 PROJECT: NETFLIX MOBILE NAVIGATION</title>
      <dc:creator>Shrishti Srivastava</dc:creator>
      <pubDate>Tue, 23 Jul 2024 23:45:39 +0000</pubDate>
      <link>https://forem.com/shrishti_srivastava_/day-7-project-netflix-mobile-navigation-1d5m</link>
      <guid>https://forem.com/shrishti_srivastava_/day-7-project-netflix-mobile-navigation-1d5m</guid>
      <description>&lt;p&gt;Creating a Netflix-Inspired Mobile Navigation Website&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwaaxgu96vac3e27x0cf0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwaaxgu96vac3e27x0cf0.png" alt="Image description" width="800" height="383"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Netflix has revolutionized how we consume entertainment, and their user-friendly mobile navigation is a key part of their success. In this tutorial, we'll walk through how to recreate a similar navigation experience using HTML, CSS, and JavaScript.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;br&gt;
Before we begin, ensure you have a basic understanding of HTML, CSS, and JavaScript. You'll need a text editor and a web browser to follow along.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML (HyperText Markup Language)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Overview:&lt;/strong&gt;&lt;br&gt;
HTML is the standard language used to create and design the structure of web pages. It provides the basic building blocks of a website by defining elements like headings, paragraphs, links, images, and other types of content.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgcsq1maatiw22lkwl1hm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgcsq1maatiw22lkwl1hm.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftzc31lchh3c66fgc4y4u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftzc31lchh3c66fgc4y4u.png" alt="Image description" width="800" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS (Cascading Style Sheets)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Overview:&lt;/strong&gt;&lt;br&gt;
CSS is used to control the appearance and layout of HTML elements. It separates content from design, allowing you to style and layout web pages more efficiently.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvtky2uakzg37jvqbmfhn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvtky2uakzg37jvqbmfhn.png" alt="Image description" width="800" height="798"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi7rx30e2t4fprg0ayhdz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi7rx30e2t4fprg0ayhdz.png" alt="Image description" width="654" height="819"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuy8knegug98mzf5dnbe5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuy8knegug98mzf5dnbe5.png" alt="Image description" width="330" height="689"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JavaScript (JS)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Overview:&lt;/strong&gt;&lt;br&gt;
JavaScript is a scripting language that enables interactive features on websites. It allows you to manipulate HTML and CSS dynamically, handle events, and create rich web applications.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2w52nczs9hz32qo3vt8l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2w52nczs9hz32qo3vt8l.png" alt="Image description" width="556" height="201"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This JavaScript code snippet handles the functionality for toggling a navigation menu's visibility using two buttons: an "open" button and a "close" button.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Element Selection:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;open_btn and close_btn are assigned to the buttons responsible for opening and closing the menu, respectively.&lt;/li&gt;
&lt;li&gt;nav selects all elements with the class nav, which represent the menu items or sections to be shown or hidden.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Open Button Functionality:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When the open_btn is clicked, it triggers an event listener that loops through all nav elements and adds the visible class to each. This class is typically used in CSS to make the navigation menu visible, such as by changing its display property.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Close Button Functionality:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When the close_btn is clicked, it triggers an event listener that loops through all nav elements and removes the visible class from each. This hides the navigation menu, as defined by CSS rules associated with the visible class.&lt;/p&gt;

&lt;p&gt;By following these steps, you've created a responsive Netflix-inspired mobile navigation website using HTML, CSS, and JavaScript. Feel free to customize further and add additional features to enhance the user experience!&lt;/p&gt;

&lt;p&gt;THANK YOU!&lt;br&gt;
SHRISHTI SRIVASTAVA&lt;br&gt;
HAPPY CODING!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>DAY 6 PROJECT: POLL SYSTEM</title>
      <dc:creator>Shrishti Srivastava</dc:creator>
      <pubDate>Sun, 30 Jun 2024 05:08:54 +0000</pubDate>
      <link>https://forem.com/shrishti_srivastava_/day-6-project-poll-system-47n0</link>
      <guid>https://forem.com/shrishti_srivastava_/day-6-project-poll-system-47n0</guid>
      <description>&lt;h2&gt;
  
  
  Building a Poll System with HTML, CSS, and JavaScript
&lt;/h2&gt;

&lt;p&gt;This project is a simple, interactive poll system built using HTML, CSS, and JavaScript. It allows users to vote for their favourite programming language from options like JavaScript, Python, Java, and C++. &lt;br&gt;
The results are dynamically displayed with visual bars, providing an engaging way to visualize preferences. This project is perfect for learning about web development fundamentals and how to create interactive user interfaces.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Elements:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Radio Buttons: Each option for voting is a radio button, ensuring only one choice can be selected.&lt;/li&gt;
&lt;li&gt;Submit Button: Calls the submitVote() function to process the user's selection.&lt;/li&gt;
&lt;li&gt;Results Div: Displays the poll results dynamically.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Benefits of the Poll System Project
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Interactive Learning&lt;/strong&gt;: Gain hands-on experience with HTML, CSS, and JavaScript.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User Engagement&lt;/strong&gt;: Provides an engaging way for users to participate and see real-time results.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic Updates&lt;/strong&gt;: Teaches how to manipulate the DOM and update content dynamically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Visualization&lt;/strong&gt;: Visual representation of data through percentage bars enhances understanding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customization&lt;/strong&gt;: Easily customizable to include more options or different topics.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffe41nryusftq5iclqtfm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffe41nryusftq5iclqtfm.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tools used&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML&lt;/strong&gt;&lt;br&gt;
The HTML code sets up a poll interface with radio buttons for selecting a favorite programming language, a submit button to cast votes, and a div to display results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffp3tlim0p14orq3iv2di.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffp3tlim0p14orq3iv2di.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS&lt;/strong&gt;&lt;br&gt;
The CSS styles the poll system with a centered container, colorful labels, and animated elements, enhancing user interaction and visual appeal.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7azlbr7rxslsqygd8mf2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7azlbr7rxslsqygd8mf2.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxkkxkj08h10u6cl3fkzg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxkkxkj08h10u6cl3fkzg.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7o8f2aehrhsd8k34frog.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7o8f2aehrhsd8k34frog.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foav7u8pcxmfyqcn0yfky.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foav7u8pcxmfyqcn0yfky.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JAVASCRIPT&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data Structure: An array of objects stores poll options and their vote counts.&lt;/li&gt;
&lt;li&gt;Vote Submission: submitVote() checks for a selected option, increments votes, and calls displayResult() to update the results.&lt;/li&gt;
&lt;li&gt;Dynamic Results: displayResult() calculates percentages and updates the results display with a progress bar for each option.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2s412lnsjijio0mvr177.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2s412lnsjijio0mvr177.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7z11e8hm5ip4gg6qhp15.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7z11e8hm5ip4gg6qhp15.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Options Array&lt;/strong&gt;: Stores poll options, each with an ID, text, and vote count.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;submitVote Function&lt;/strong&gt;: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Checks if a poll option is selected.&lt;/li&gt;
&lt;li&gt;Increments the vote count for the selected option.&lt;/li&gt;
&lt;li&gt;Calls &lt;code&gt;displayResult()&lt;/code&gt; to update the poll results.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;displayResult Function&lt;/strong&gt;: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Calculates the percentage of total votes for each option.&lt;/li&gt;
&lt;li&gt;Dynamically creates and displays result bars and percentages in the &lt;code&gt;#result&lt;/code&gt; div.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;getTotalVotes Function&lt;/strong&gt;: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Computes the total number of votes across all options.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;refreshPage Function&lt;/strong&gt;: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Refreshes the page when called, effectively resetting the poll.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;SO,&lt;/p&gt;

&lt;p&gt;This poll system project provides an engaging way to learn and apply HTML, CSS, and JavaScript. It allows users to vote and see dynamic results, reinforcing concepts like DOM manipulation and data visualization. This foundational project can be easily customized and expanded, making it a great starting point for further web development exploration.&lt;/p&gt;

&lt;p&gt;THANK YOU!&lt;br&gt;
HAPPY CODING!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>DAY 5 PROJECT : CASH CALCULATOR</title>
      <dc:creator>Shrishti Srivastava</dc:creator>
      <pubDate>Sat, 29 Jun 2024 09:08:20 +0000</pubDate>
      <link>https://forem.com/shrishti_srivastava_/day-5-project-cash-calculator-a7p</link>
      <guid>https://forem.com/shrishti_srivastava_/day-5-project-cash-calculator-a7p</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Building a Cash Calculator: A Practical Guide&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In today's fast-paced world, managing finances efficiently is crucial. Whether you're planning a budget or calculating expenses, having a tool that simplifies these tasks can be invaluable. This blog post explores the creation of a cash calculator using HTML, CSS, and JavaScript, offering a user-friendly solution for financial calculations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;User Interface (UI)&lt;/strong&gt;: A clean and intuitive interface designed using HTML and styled with CSS to ensure clarity and ease of use.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Functionality&lt;/strong&gt;: JavaScript will power the calculator's logic, enabling real-time calculation based on user inputs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Benefits of the Cash Calculator&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Simplicity&lt;/strong&gt;: Users can perform financial calculations effortlessly, helping them plan budgets and manage expenses effectively.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility&lt;/strong&gt;: Being web-based, the calculator is accessible from any device with a browser, making it convenient for users on the go.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Educational Tool&lt;/strong&gt;: It can serve as an educational resource for learning basic arithmetic operations in the context of financial calculations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;TOOLS&lt;/strong&gt;-&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML Structure&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;Create a structured layout using HTML to define the calculator's components such as display area, number buttons, and operation buttons.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7oh6e7aa5awjsh4qsgc2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7oh6e7aa5awjsh4qsgc2.png" alt="Image description" width="800" height="780"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F74d40pr7z9v6cuzishag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F74d40pr7z9v6cuzishag.png" alt="Image description" width="800" height="768"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS Styling&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;Use CSS to enhance the visual appeal and usability of the calculator. Apply styles to buttons, input areas, and overall layout to ensure consistency and clarity.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foanktvxl6mx4fkivmrw6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foanktvxl6mx4fkivmrw6.png" alt="Image description" width="572" height="948"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkzd5osq24sd5ir9byvo2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkzd5osq24sd5ir9byvo2.png" alt="Image description" width="509" height="922"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft0ummb8oftpo2ixp9olw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft0ummb8oftpo2ixp9olw.png" alt="Image description" width="473" height="860"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frqqizx7zoi3hlb0170y4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frqqizx7zoi3hlb0170y4.png" alt="Image description" width="335" height="209"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JavaScript Logic&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Implement JavaScript functions to handle user interactions.&lt;/li&gt;
&lt;li&gt;Input Handling: Capture user inputs from number and operation buttons.&lt;/li&gt;
&lt;li&gt;Calculation Logic: Perform arithmetic operations based on user actions.&lt;/li&gt;
&lt;li&gt;Display Management: Update the display area with results dynamically as calculations are performed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxswagj1i2yunosbtcycn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxswagj1i2yunosbtcycn.png" alt="Image description" width="685" height="831"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffe5qnipdgqlu9a29iex2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffe5qnipdgqlu9a29iex2.png" alt="Image description" width="774" height="936"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This code sets up a cash calculator that updates values based on user input. It references input fields for different denominations (like 2000, 500, etc.) and corresponding display elements for calculated totals. When a user inputs a quantity for any denomination, the cashCalculate function multiplies it by the denomination value, updates the total for that row, and displays it. There's also a reset button to clear all inputs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjrje03syyte52oqkwzqf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjrje03syyte52oqkwzqf.png" alt="Image description" width="800" height="610"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This code calculates the total cash value from different denominations and updates the display. It adds all the individual totals to show the overall cash amount both numerically and in words. The clearData function resets all inputs and totals. The convertToWords function converts a numerical value into its word representation, handling units, teens, tens, crores, and lakhs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fomj36qac6isq1t3x05uk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fomj36qac6isq1t3x05uk.png" alt="Image description" width="584" height="858"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbp67ujff818k82p2snvv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbp67ujff818k82p2snvv.png" alt="Image description" width="314" height="144"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This code adds an event listener to each cash input field. It checks if the input value is not a number or is negative; if so, it clears the input. This ensures only valid, non-negative numbers are entered.&lt;/p&gt;

&lt;p&gt;SO,&lt;br&gt;
Creating a cash calculator with HTML, CSS, and JavaScript provides a practical tool for managing finances effectively. This project enhances user experience by ensuring accurate calculations and intuitive input handling. By converting numerical totals into words and maintaining a clear interface, the calculator becomes a valuable resource for budgeting and financial planning. &lt;/p&gt;

&lt;p&gt;Through this hands-on project, developers can also strengthen their skills in web development and user interface design.&lt;/p&gt;

&lt;p&gt;THANK YOU!&lt;br&gt;
HAPPY CODING!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>DAY 4 PROJECT : DRAG &amp; DROP</title>
      <dc:creator>Shrishti Srivastava</dc:creator>
      <pubDate>Thu, 27 Jun 2024 19:51:08 +0000</pubDate>
      <link>https://forem.com/shrishti_srivastava_/day-4-project-drag-drop-4p4p</link>
      <guid>https://forem.com/shrishti_srivastava_/day-4-project-drag-drop-4p4p</guid>
      <description>&lt;p&gt;&lt;strong&gt;PROJECT NAME : Creating a Fun Drag and Drop Color Game Using HTML, CSS, and JavaScript&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The main objective of this project is to create a game where users can drag colored boxes and drop them into designated areas. The game will include multiple colored boxes, and users can enjoy the interaction and visual appeal of dragging and dropping these elements.&lt;br&gt;
This project is a fantastic way to learn and practice DOM manipulation, event handling, and styling in web development. Let's dive into the details of this fun and educational project!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technologies Used&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML&lt;/strong&gt;: For structuring the web page.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl43ow8by709viik3f465.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl43ow8by709viik3f465.png" alt="Image description" width="791" height="776"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS&lt;/strong&gt;: For styling the game elements.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhuwa307qrovybme0n0of.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhuwa307qrovybme0n0of.png" alt="Image description" width="517" height="879"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9wx1lofmq72l4aca1s2a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9wx1lofmq72l4aca1s2a.png" alt="Image description" width="522" height="941"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JavaScript&lt;/strong&gt;: For adding interactivity and handling the drag-and-drop functionality.&lt;/p&gt;

&lt;p&gt;The drag function enables drag-and-drop functionality for elements with the draggable attribute. It achieves this by handling mouse events (mousedown, mousemove, and mouseup) to update the position of the elements as they are dragged.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc7los5lo4z41w45d2kmf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc7los5lo4z41w45d2kmf.png" alt="Image description" width="513" height="942"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1) INITIAL SETUP&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmbliizcqfe8s1jh1a18h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmbliizcqfe8s1jh1a18h.png" alt="Image description" width="544" height="278"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;dragging: A flag to track the element currently being dragged.&lt;/li&gt;
&lt;li&gt;mouseX and mouseY: Store the mouse's initial x and y coordinates when the drag starts.&lt;/li&gt;
&lt;li&gt;eleX and eleY: Store the initial x and y coordinates of the element being dragged.&lt;/li&gt;
&lt;li&gt;boxes: Select all elements with the draggable attribute.&lt;/li&gt;
&lt;li&gt;boxes.forEach: Iterate over each draggable element and attach a mousedown event listener to initiate the drag. Also, initialize the top and left CSS properties of each element to 0.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2) STARTING THE DRAG&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frkbnfvk15r939veceuqv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frkbnfvk15r939veceuqv.png" alt="Image description" width="568" height="292"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;e.preventDefault(): Prevent default behavior to ensure smooth dragging.&lt;/li&gt;
&lt;li&gt;dragging = this: Set the dragging variable to the element that triggered the mousedown event.&lt;/li&gt;
&lt;li&gt;mouseX and mouseY: Capture the initial mouse position.&lt;/li&gt;
&lt;li&gt;eleX and eleY: Capture the initial position of the element being dragged.&lt;/li&gt;
&lt;li&gt;Attach mousemove and mouseup event listeners to the document to handle the drag and drop actions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3)HANDLING THE DRAG MOVEMENT&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fizaffzq7a7jy2anu9ty9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fizaffzq7a7jy2anu9ty9.png" alt="Image description" width="575" height="221"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnb7cw62081mkl78dgj12.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnb7cw62081mkl78dgj12.png" alt="Image description" width="528" height="292"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;deltaMouseX and deltaMouseY: Calculate the change in mouse position since the drag started.&lt;/li&gt;
&lt;li&gt;Update the left and top styles of the dragging element based on the change in mouse position and the element's initial position.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;4)ENDING THE DRAG&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9pizy0ju2oeje37t3ubq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9pizy0ju2oeje37t3ubq.png" alt="Image description" width="243" height="83"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Set dragging to false to indicate that no element is being dragged anymore.&lt;/li&gt;
&lt;li&gt;Optionally, you could remove the mousemove and mouseup event listeners here to clean up, although not strictly necessary.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;5)INITIALIZE THE DRAG FUNCTION&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi8wxwigixwts83fkzmtr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi8wxwigixwts83fkzmtr.png" alt="Image description" width="108" height="39"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All the drag function to set up the drag-and-drop functionality for all draggable elements.&lt;/p&gt;

&lt;p&gt;Creating a drag and drop game using HTML, CSS, and JavaScript is an exciting way to improve your web development skills. This project covers the essentials of DOM manipulation and event handling, providing a solid foundation for more advanced projects. Give it a try, and see how creative you can get with your own variations!&lt;/p&gt;

&lt;p&gt;THANK YOU!&lt;br&gt;
HAPPY CODING!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>DAY 3 PROJECT : VOWEL CHECKER</title>
      <dc:creator>Shrishti Srivastava</dc:creator>
      <pubDate>Tue, 25 Jun 2024 16:21:32 +0000</pubDate>
      <link>https://forem.com/shrishti_srivastava_/day-3-project-3hd2</link>
      <guid>https://forem.com/shrishti_srivastava_/day-3-project-3hd2</guid>
      <description>&lt;p&gt;&lt;strong&gt;Elevate Your Writing with the Vowel Checker Application&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcbfk16vg3vsf9zoqkb75.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcbfk16vg3vsf9zoqkb75.png" alt="Image description" width="800" height="865"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the world of web development, creating interactive applications is a great way to enhance your skills and provide value to users. One such project that is both fun and educational is building a "Vowel Checker". This simple application allows users to input text and checks whether the text contains vowels. Using HTML for structure, CSS for styling, and JavaScript for functionality, you can create a user-friendly vowel checker that works efficiently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is a Vowel Checker?&lt;/strong&gt;&lt;br&gt;
A Vowel Checker is a straightforward application that analyzes input text to determine the presence of vowels (A, E, I, O, U). It can serve various purposes, such as educational tools for young learners, linguistic analysis, or even as part of a larger text-processing system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Build a Vowel Checker?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Educational Value: It helps beginners understand the fundamentals of web development.&lt;/li&gt;
&lt;li&gt;Practical Application: It demonstrates how to manipulate and validate user input.&lt;/li&gt;
&lt;li&gt;Skill Enhancement: It allows developers to practice JavaScript logic and DOM manipulation.&lt;/li&gt;
&lt;li&gt;Interactive Learning: Provides an engaging way to learn and teach about vowels and their importance in the English language.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;TECHNOLOGIES USED&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;HTML&lt;/strong&gt;: Provides the structure of the webpage and input fields for user interaction.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3kv97ky8mu4gxkud57q5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3kv97ky8mu4gxkud57q5.png" alt="Image description" width="782" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS&lt;/strong&gt;: Styles the application to make it visually appealing and user-friendly.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frb93tjnykgrmyz76oyza.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frb93tjnykgrmyz76oyza.png" alt="Image description" width="517" height="900"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fchdyb46ivf1e3bbmrb7w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fchdyb46ivf1e3bbmrb7w.png" alt="Image description" width="406" height="708"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JAVASCRIPT&lt;/strong&gt; : Implements the core logic for checking vowels and interacting with the DOM.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F72iaedtf9ij096flsd14.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F72iaedtf9ij096flsd14.png" alt="Image description" width="453" height="483"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML Element Selection and Text Processing&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Line 1: Defines the checkVowels function which will be called to check for vowels.&lt;/li&gt;
&lt;li&gt;Line 2: Retrieves the value of the text input element with the ID inputText and assigns it to the variable text.&lt;/li&gt;
&lt;li&gt;Line 3: Initializes a counter variable vowelCount to zero, which will keep track of the number of vowels.&lt;/li&gt;
&lt;li&gt;Line 4: Converts the entire text to lowercase to ensure the vowel check is case-insensitive.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Loop Through Each Character&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Line 5: Starts a for loop that iterates through each character in the text string.&lt;/li&gt;
&lt;li&gt;Line 6: Retrieves the character at the current index i and assigns it to the variable char.&lt;/li&gt;
&lt;li&gt;Line 7: Calls the isVowel function to check if the current character is a vowel.&lt;/li&gt;
&lt;li&gt;Line 8: If isVowel returns true, increments the vowelCount by one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Display the Result&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Line 9: Selects the HTML element with the ID result.&lt;/li&gt;
&lt;li&gt;Line 10: Updates the text content of the result element to display the total number of vowels found in the input text.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Vowel Checking Function&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Line 11: Defines the isVowel function, which takes a character char as an argument.&lt;/li&gt;
&lt;li&gt;Line 12: Creates an array vowels containing all the vowel characters.&lt;/li&gt;
&lt;li&gt;Line 13: Checks if the character char is included in the vowels array and returns true if it is, and false otherwise.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The checkVowels function retrieves the text input from the user, converts it to lowercase, and iterates through each character to count the number of vowels using the helper function isVowel. The result is then displayed on the webpage. The isVowel function determines whether a given character is a vowel by checking its presence in a predefined array of vowels.&lt;/p&gt;

&lt;p&gt;Building a &lt;strong&gt;Vowel Checker&lt;/strong&gt; is an excellent way to practice fundamental skills that are essential for any aspiring web developer. It showcases how a combination of technologies can be used to create interactive and user-friendly web applications. With this project, you've taken another step towards mastering** full-stack development **and enhancing your ability to create engaging web experiences.&lt;/p&gt;

&lt;p&gt;THANK YOU!&lt;br&gt;
HAPPY CODING!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>DAY 2 PROJECT : HOVER EFFECTS</title>
      <dc:creator>Shrishti Srivastava</dc:creator>
      <pubDate>Mon, 24 Jun 2024 17:14:36 +0000</pubDate>
      <link>https://forem.com/shrishti_srivastava_/day-2-project-1de1</link>
      <guid>https://forem.com/shrishti_srivastava_/day-2-project-1de1</guid>
      <description>&lt;p&gt;&lt;strong&gt;Creating Engaging Web Interactions with Hover Effects Using HTML, CSS, and JavaScript&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the digital age, the user experience on websites has become a pivotal element in retaining and engaging visitors. One of the most effective ways to enhance user interaction is through hover effects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Are Hover Effects?&lt;/strong&gt;&lt;br&gt;
Hover effects are visual changes that occur when a user hovers their mouse over a specific element on a webpage. These changes can include transitions in color, size, shape, and other visual properties, as well as more complex animations. Hover effects help guide users’ attention, highlight important elements, and make the navigation more intuitive and enjoyable.&lt;/p&gt;

&lt;p&gt;Why Use Hover Effects?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enhanced User Experience: Hover effects provide immediate visual feedback to users, making the interaction with web elements more intuitive and engaging.&lt;/li&gt;
&lt;li&gt;Improved Navigation: They can highlight buttons, links, and other interactive elements, helping users navigate the site more efficiently.&lt;/li&gt;
&lt;li&gt;Aesthetic Appeal: Thoughtfully designed hover effects can add a level of polish and professionalism to your website, making it stand out.&lt;/li&gt;
&lt;li&gt;Interactivity: Hover effects can make a website feel more interactive and dynamic, improving user satisfaction and retention.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tools and Technologies&lt;/strong&gt;&lt;br&gt;
To create effective hover effects, we’ll be utilizing the following technologies:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML&lt;/strong&gt;: The backbone of any webpage, HTML provides the structure of the content.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6oevlrzfhrtt46l73vsx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6oevlrzfhrtt46l73vsx.png" alt="Image description" width="800" height="491"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS&lt;/strong&gt;: CSS is used to style the HTML elements, allowing us to define the appearance and behaviour of hover effects.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwss8ahspavv1hwz84o4f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwss8ahspavv1hwz84o4f.png" alt="Image description" width="345" height="931"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JavaScript&lt;/strong&gt;: While many hover effects can be achieved with CSS alone, JavaScript adds additional functionality and can be used to create more complex interactions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6k62nh7hkr81ahpjweh6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6k62nh7hkr81ahpjweh6.png" alt="Image description" width="390" height="119"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Line 1:&lt;/strong&gt; This line selects an HTML element with the class cursor and assigns it to the constant variable cursor. This element represents the custom cursor that will follow the mouse movements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Line 2&lt;/strong&gt;: This line adds an event listener to the entire document for the mousemove event. This event triggers whenever the user moves their mouse over the webpage. The event listener executes a callback function with the event object e as its parameter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lines 3-5&lt;/strong&gt;: Within the callback function:&lt;br&gt;
cursor.style.left = e.pageX + "px"; sets the horizontal position of the custom cursor. e.pageX provides the X-coordinate of the mouse pointer relative to the entire document. Adding "px" converts the coordinate into a valid CSS value for positioning.&lt;br&gt;
cursor.style.top = e.pageY + "px"; sets the vertical position of the custom cursor. e.pageY provides the Y-coordinate of the mouse pointer relative to the entire document.&lt;/p&gt;

&lt;p&gt;So,&lt;br&gt;
By combining HTML, CSS, and JavaScript, we can create dynamic and engaging web interactions that greatly enhance the user experience. &lt;br&gt;
Dive into the code, experiment with different styles and effects, and watch your web pages come to life!&lt;/p&gt;

&lt;p&gt;THANK YOU!&lt;br&gt;
HAPPY CODING!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>DAY 1 PROJECT : PASSWORD GENERATOR</title>
      <dc:creator>Shrishti Srivastava</dc:creator>
      <pubDate>Sun, 23 Jun 2024 16:57:40 +0000</pubDate>
      <link>https://forem.com/shrishti_srivastava_/day-1-project-2hg9</link>
      <guid>https://forem.com/shrishti_srivastava_/day-1-project-2hg9</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Generate Random Password: A Simple and Efficient Password Generator&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Creating secure and strong passwords is crucial in today's digital age. To help users generate robust passwords effortlessly, I've built a simple yet effective Password Generator. Let's dive into the core features and structure of this project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LANGUAGES USED: HTML , CSS and JAVASCRIPT&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HTML&lt;br&gt;
The foundation of our Password Generator is the HTML structure. Here’s a quick overview of the main elements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Title and Meta Tags: The  section includes the document's metadata and links to an external CSS file and a Google Material Icons stylesheet.&lt;/li&gt;
&lt;li&gt;Container: The main content is wrapped inside a  with a class container, ensuring everything is neatly organized.
&lt;/li&gt;
&lt;li&gt;Password Display: A disabled input box (passBox) where the generated password will be displayed, accompanied by a copy icon (copyIcon) for easy copying.&lt;/li&gt;
&lt;li&gt;Password Length Slider: An input range slider (inputSlider) allows users to select the password length, with values ranging from 1 to 30.&lt;/li&gt;
&lt;li&gt;Options: Several checkboxes let users customize the characters included in the password. Options include:&lt;/li&gt;
&lt;li&gt;Lowercase letters (lowercase)&lt;/li&gt;
&lt;li&gt;Uppercase letters (uppercase)&lt;/li&gt;
&lt;li&gt;Numbers (numbers)&lt;/li&gt;
&lt;li&gt;Symbols (symbols)&lt;/li&gt;
&lt;li&gt;Generate Button: A button (genBtn) to trigger the password generation process.
CODE: &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbopg7bmqv57wcvh3ilx2.png" alt="Image description"&gt;
&lt;/li&gt;


&lt;p&gt;CSS:&lt;br&gt;
The CSS (Cascading Style Sheets) file is responsible for styling our HTML elements, ensuring a visually appealing and user-friendly design. Below, I'll explain the main sections of the CSS code used in this project.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Body and Container Styling&lt;/li&gt;
&lt;li&gt;The body is styled with a light background color (#f4f4f4) and centered content using flexbox. This ensures that the generator appears in the middle of the screen, regardless of the screen size.&lt;/li&gt;
&lt;li&gt;The .container class defines the main box, giving it a white background, padding, rounded corners (border-radius: 8px), and a subtle shadow (box-shadow) to make it stand out.&lt;/li&gt;
&lt;li&gt;Header and Text Styling&lt;/li&gt;
&lt;li&gt;The h1 element, which contains the title "Password Generator," is styled with a bottom margin and a larger font size to make it prominent.&lt;/li&gt;
&lt;li&gt;Input Box and Copy Icon&lt;/li&gt;
&lt;li&gt;The .inputBox class positions the password input box and the copy icon together. The copy icon (#copyIcon) is positioned absolutely to align it to the right of the input box.&lt;/li&gt;
&lt;li&gt;The .passBox class styles the disabled input box where the generated password is displayed, giving it full width, padding, and a border.&lt;/li&gt;
&lt;li&gt;Password Indicator and Slider&lt;/li&gt;
&lt;li&gt;The .pass-indicator class is a simple div styled to act as a visual indicator for password strength. It’s given a fixed height and a background color.&lt;/li&gt;
&lt;li&gt;The range input slider (input[type="range"]) is styled to take the full width, providing a clear and interactive way for users to select the password length.&lt;/li&gt;
&lt;li&gt;Row Layout and Labels&lt;/li&gt;
&lt;li&gt;The .row class uses flexbox to align elements horizontally and space them out evenly, ensuring labels and checkboxes are well-aligned.&lt;/li&gt;
&lt;li&gt;The label elements are styled with a smaller font size for a cleaner look.&lt;/li&gt;
&lt;li&gt;Generate Button&lt;/li&gt;
&lt;li&gt;The .genBtn class styles the "Generate Password" button with a blue background (#007bff), white text, and padding. The button changes color slightly on hover, providing a visual cue to the user.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Enhancing the Password Generator with JavaScript&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To bring our Password Generator to life, I've added some JavaScript. This code handles user interactions, generates random passwords based on user preferences, and provides feedback on password strength. Let's walk through the key parts of the script.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Element Selection and Constants
We start by selecting all the necessary HTML elements using getElementById and defining character sets for different types of characters.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbivaufug2dsyp4mwksm5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbivaufug2dsyp4mwksm5.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Slider Input Event
We display the current value of the slider (password length) and generate a new password whenever the slider value changes.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnjoxe8bbkegf5ta8kj6q.png" alt="Image description"&gt;
&lt;/li&gt;
&lt;li&gt;Generate Password Function
-This function builds the password based on selected options and updates the password box.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpuw92izwh7bblasjqodc.png" alt="Image description"&gt;
&lt;/li&gt;
&lt;li&gt;Update Password Indicator
This function updates the visual indicator of password strength based on its length.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjwtr8wbrey87nxpjkshf.png" alt="Image description"&gt;
&lt;/li&gt;
&lt;li&gt;Initial Load Event
Ensures the password strength indicator is updated when the page loads.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fox3kdpqrcbhpxt13kzg6.png" alt="Image description"&gt;
&lt;/li&gt;
&lt;li&gt;Copy Password Functionality
Allows users to copy the generated password to the clipboard and provides visual feedback.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy2xckntecz%250Aduop1n7cxx.png" alt="Image description"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With this JavaScript code, our Password Generator becomes fully interactive:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Users can dynamically adjust the password length using a slider.&lt;/li&gt;
&lt;li&gt;They can include or exclude various character types.&lt;/li&gt;
&lt;li&gt;The password's strength is visually indicated, and the generated password can be copied to the clipboard with a single click.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;This combination of HTML, CSS, and JavaScript results in a powerful, user-friendly tool for generating secure passwords.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Feel free to customize and expand upon this project—whether it's adding more features, improving the UI, or optimizing the JavaScript code. The knowledge and experience gained here will undoubtedly serve you well in future endeavors. &lt;/p&gt;

&lt;p&gt;Happy coding!&lt;/p&gt;

&lt;p&gt;THANK YOU!&lt;/p&gt;


&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>My First Blog</title>
      <dc:creator>Shrishti Srivastava</dc:creator>
      <pubDate>Fri, 21 Jun 2024 18:51:19 +0000</pubDate>
      <link>https://forem.com/shrishti_srivastava_/my-first-blog-3e9k</link>
      <guid>https://forem.com/shrishti_srivastava_/my-first-blog-3e9k</guid>
      <description>&lt;p&gt;&lt;strong&gt;Welcome to my first blog post!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you're here, you're probably pondering one of two questions: "Which domain should I go into?" or "How do I really delve into web development?" Today, I’ll tackle both!&lt;/p&gt;

&lt;p&gt;Which Domain to Choose?&lt;br&gt;
You chose B.Tech to land a job in the IT sector or maybe your dream company like MANG or FANG. Each company requires specific skills, which are usually aligned with your interests. Tech and coding are vast oceans, and you might feel lost if you're navigating through something uninteresting to you. Boredom is your enemy, so it’s crucial to find your passion.&lt;/p&gt;

&lt;p&gt;Try different domains for at least a month each. It's not a waste of time if it helps you discover what truly excites you. Dive into areas like Artificial Intelligence, Machine Learning, Web Development, Cybersecurity, and more. Find your niche and embrace it. Remember, it’s about YOUR TECH journey!&lt;/p&gt;

&lt;p&gt;How to Get into Web Development?&lt;br&gt;
If you're here, you're probably as excited about web development as I am. Whether you’re a total newbie or looking to brush up on the basics, you’re in the right place. Let’s dive into the essentials of web development and unravel the mysteries of HTML, CSS, and JavaScript. Ready to turn your ideas into interactive websites? Let’s get started!&lt;/p&gt;

&lt;p&gt;HTML: The Skeleton of the Web&lt;br&gt;
Learn the basics of HTML and how it structures your content.&lt;br&gt;
Quick tip: Always ensure your HTML is clean and semantic.&lt;br&gt;
CSS: Adding Style to Your Site&lt;/p&gt;

&lt;p&gt;Discover how CSS makes your websites look fabulous.&lt;br&gt;
From colors to layouts: understanding selectors, properties, and values.&lt;br&gt;
Quick tip: Use Flexbox and Grid for modern, responsive designs.&lt;br&gt;
JavaScript: Bringing Your Site to Life&lt;/p&gt;

&lt;p&gt;Understand the role of JavaScript in making your websites interactive.&lt;br&gt;
Basics you need to know: variables, functions, and events.&lt;br&gt;
Quick tip: Practice DOM manipulation to dynamically update your content.&lt;br&gt;
Putting It All Together&lt;/p&gt;

&lt;p&gt;Build a simple project combining HTML, CSS, and JavaScript.&lt;br&gt;
Step-by-step guide to creating your first interactive webpage.&lt;br&gt;
Quick tip: Use debugging tools effectively.&lt;/p&gt;

&lt;p&gt;Conclusion:&lt;br&gt;
Remember, every coding journey starts with a single line of code. Stay curious, keep experimenting, and don’t be afraid to make mistakes. Happy coding, and see you in the next post where we’ll dive deeper into advanced tech skills!&lt;/p&gt;

&lt;p&gt;Hope you like my ideas... Thank you!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
