Skip to content

Discover the Text Search Web App 📄✨: Empower users to effortlessly view and search text content within .txt files, facilitating seamless navigation and content discovery.

Notifications You must be signed in to change notification settings

Shivam-0407/Text-Search-Web-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text-Search-Web-App ✨

Ever wondered how does a simple Text Search is being implemented where a person just type the text he/she wants to search and the text appears in highlighted format. This project is a small step towards this idea.

Presenting you the Text Search Web App 📄✨: Empower users to effortlessly view and search text content within .txt files, facilitating seamless navigation and content discovery.

Installation

This repository contains a Vite-powered React application. Follow the instructions below to set up and run the app locally.

Setup Instructions

  1. Clone the Repository:
    git clone https://github.com/Shivam-0407/Text-Search-Web-App.git
  2. Navigate to Project Directory :
    cd Text-Search-Web-App
  3. Install Dependencies :
    npm Install
  4. Start the Development Server :
    npm run dev
  5. Click on the link provided in your terminal to run it locally

image

Demo

demo.mp4

Features

  • Highlights the text that the user wants to search dynamically
  • Counts the total number of words present in your text file
  • Counts the total number of occurences of the searched text

Lessons Learned

This project is completely dependent on how one can use the idea of hooks provided by the React library. Two of the important hooks used in this project are -

useState() -

The useState hook is a React feature that enables functional components to manage state. It allows developers to create and update state variables within functional components, thus facilitating dynamic and interactive user interfaces.

useRef() -

The useRef hook is a React feature that provides a way to persist mutable values across component renders. It returns a mutable ref object whose .current property can hold a mutable value that persists between renders.

About

Discover the Text Search Web App 📄✨: Empower users to effortlessly view and search text content within .txt files, facilitating seamless navigation and content discovery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published