Programming Courses | Courses | archita phukan | Love Babbar | Coding Ninja | Durgasoft | ChatGPT prompt AI Prompt
3.71K subscribers
762 photos
16 videos
1 file
177 links
Programming
Coding
AI Websites

๐Ÿ“กNetwork of #TheStarkArmyยฉ

๐Ÿ“ŒShop : https://t.me/TheStarkArmyShop/25

โ˜Ž๏ธ Paid Ads : @ReachtoStarkBot

Ads policy : https://bit.ly/2BxoT2O
Download Telegram
Best Trending AI in Different Module.

@CodingCoursePro
Shared with Love
โž•
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ’ผ Starting an online business is practically free:

1. Bubble - Create apps

2. Figma - Design your website

3. Notion - Project Management

4. Tally form - Create free forms and surveys

5. Zapier - Automate repetitive tasks between apps

@CodingCoursePro
Shared with Love
โž•
Please open Telegram to view this post
VIEW IN TELEGRAM
โค1
โœ… 20 Medium-Level Web Development Interview Questions (with Detailed Answers)

1. What is the difference between HTML, CSS, and JavaScript
โ€ข HTML: Structures content
โ€ข CSS: Styles content
โ€ข JavaScript: Adds interactivity and dynamic behavior

2. What is responsive web design
Designing websites that adapt to different screen sizes and devices using flexible grids, media queries, and fluid layouts.

3. What are semantic HTML elements
Elements that clearly describe their meaning (e.g., <article>, <section>, <nav>, <header>). Improves accessibility and SEO.

4. What is the DOM
Document Object Model โ€” a tree-like structure representing HTML elements. JavaScript can manipulate it to update content dynamically.

5. What is the difference between GET and POST methods
โ€ข GET: Sends data via URL, used for fetching
โ€ข POST: Sends data in body, used for submitting forms securely

6. What is the box model in CSS
Every HTML element is a box:
Content โ†’ Padding โ†’ Border โ†’ Margin

7. What is the difference between relative, absolute, and fixed positioning in CSS
โ€ข Relative: Moves element relative to its normal position
โ€ข Absolute: Positions element relative to nearest positioned ancestor
โ€ข Fixed: Stays in place even when scrolling

8. What is the difference between == and === in JavaScript
โ€ข ==: Compares values with type coercion
โ€ข ===: Strict comparison (value and type)

9. What is event bubbling in JavaScript
Events propagate from child to parent elements. Can be controlled using stopPropagation().

10. What is the difference between localStorage and sessionStorage
โ€ข localStorage: Persistent across sessions
โ€ข sessionStorage: Cleared when tab is closed

11. What is a RESTful API
An architectural style for designing networked applications using HTTP methods (GET, POST, PUT, DELETE) and stateless communication.

12. What is the difference between frontend and backend development
โ€ข Frontend: Client-side (UI/UX, HTML/CSS/JS)
โ€ข Backend: Server-side (databases, APIs, authentication)

13. What are common HTTP status codes
โ€ข 200 OK
โ€ข 404 Not Found
โ€ข 500 Internal Server Error
โ€ข 403 Forbidden
โ€ข 301 Moved Permanently

14. What is a promise in JavaScript
An object representing the eventual completion or failure of an async operation.
States: pending, fulfilled, rejected

15. What is the difference between synchronous and asynchronous code
โ€ข Synchronous: Executes line by line
โ€ข Asynchronous: Executes independently, doesnโ€™t block the main thread

16. What is a CSS preprocessor
Tools like SASS or LESS that add features to CSS (variables, nesting, mixins) and compile into standard CSS.

17. What is the role of frameworks like React, Angular, or Vue
They simplify building complex UIs with reusable components, state management, and routing.

18. What is the difference between SQL and NoSQL databases
โ€ข SQL: Structured, relational (e.g., MySQL)
โ€ข NoSQL: Flexible schema, document-based (e.g., MongoDB)

19. What is version control and why is Git important
Version control tracks changes in code. Git allows collaboration, branching, and rollback. Platforms: GitHub, GitLab, Bitbucket

20. How do you optimize website performance
โ€ข Minify CSS/JS
โ€ข Use lazy loading
โ€ข Compress images
โ€ข Use CDN
โ€ข Reduce HTTP requests

@CodingCoursePro
Shared with Love
โž•
Please open Telegram to view this post
VIEW IN TELEGRAM
Web Development Roadmap
|
|-- Fundamentals
| |-- Web Basics
| | |-- Internet and HTTP/HTTPS Protocols
| | |-- Domain Names and Hosting
| | |-- Client-Server Architecture
| |
| |-- HTML (HyperText Markup Language)
| | |-- Structure of a Web Page
| | |-- Semantic HTML
| | |-- Forms and Validations
| |
| |-- CSS (Cascading Style Sheets)
| | |-- Selectors and Properties
| | |-- Box Model
| | |-- Responsive Design (Media Queries, Flexbox, Grid)
| | |-- CSS Frameworks (Bootstrap, Tailwind CSS)
| |
| |-- JavaScript (JS)
| | |-- ES6+ Features
| | |-- DOM Manipulation
| | |-- Fetch API and Promises
| | |-- Event Handling
| |
|-- Version Control Systems
| |-- Git Basics
| |-- GitHub/GitLab
| |-- Branching and Merging
|
|-- Front-End Development
| |-- Advanced JavaScript
| | |-- Modules and Classes
| | |-- Error Handling
| | |-- Asynchronous Programming (Async/Await)
| |
| |-- Frameworks and Libraries
| | |-- React (Hooks, Context API)
| | |-- Angular (Components, Services)
| | |-- Vue.js (Directives, Vue Router)
| |
| |-- State Management
| | |-- Redux
| | |-- MobX
| |
|-- Back-End Development
| |-- Server-Side Languages
| | |-- Node.js (Express.js)
| | |-- Python (Django, Flask)
| | |-- PHP (Laravel)
| | |-- Ruby (Ruby on Rails)
| |
| |-- Database Management
| | |-- SQL Databases (MySQL, PostgreSQL)
| | |-- NoSQL Databases (MongoDB, Firebase)
| |
| |-- Authentication and Authorization
| | |-- JWT (JSON Web Tokens)
| | |-- OAuth 2.0
| |
|-- APIs and Microservices
| |-- RESTful APIs
| |-- GraphQL
| |-- API Security (Rate Limiting, CORS)
|
|-- Full-Stack Development
| |-- Integrating Front-End and Back-End
| |-- MERN Stack (MongoDB, Express.js, React, Node.js)
| |-- MEAN Stack (MongoDB, Express.js, Angular, Node.js)
| |-- JAMstack (JavaScript, APIs, Markup)
|
|-- DevOps and Deployment
| |-- Build Tools (Webpack, Vite)
| |-- Containerization (Docker, Kubernetes)
| |-- CI/CD Pipelines (Jenkins, GitHub Actions)
| |-- Cloud Platforms (AWS, Azure, Google Cloud)
| |-- Hosting (Netlify, Vercel, Heroku)
|
|-- Web Performance Optimization
| |-- Minification and Compression
| |-- Lazy Loading
| |-- Code Splitting
| |-- Caching (Service Workers)
|
|-- Web Security
| |-- HTTPS and SSL
| |-- Cross-Site Scripting (XSS)
| |-- SQL Injection Prevention
| |-- Content Security Policy (CSP)
|
|-- Specializations
| |-- Progressive Web Apps (PWAs)
| |-- Single-Page Applications (SPAs)
| |-- Server-Side Rendering (Next.js, Nuxt.js)
| |-- WebAssembly
|
|-- Trends and Advanced Topics
| |-- Web 3.0 and Decentralized Apps (dApps)
| |-- Motion UI and Animations
| |-- AI Integration in Web Apps
| |-- Real-Time Applications
๐Ÿ‘2โค1๐Ÿคฏ1
SQL vs Python Programming: Quick Comparison โœ

๐Ÿ“Œ SQL Programming

โ€ข Query data from databases
โ€ข Filter, join, aggregate rows

Best fields
โ€ข Data Analytics
โ€ข Business Intelligence
โ€ข Reporting and MIS
โ€ข Entry-level Data Engineering

Job titles
โ€ข Data Analyst
โ€ข Business Analyst
โ€ข BI Analyst
โ€ข SQL Developer

Hiring reality
โ€ข Asked in most analyst interviews
โ€ข Used daily in analyst roles

India salary range
โ€ข Fresher: 4โ€“8 LPA
โ€ข Mid-level: 8โ€“15 LPA

Real tasks
โ€ข Monthly sales report
โ€ข Top customers by revenue
โ€ข Duplicate removal

๐Ÿ“Œ Python Programming

โ€ข Clean and analyze data
โ€ข Automate workflows
โ€ข Build models

Where you work
โ€ข Notebooks
โ€ข Scripts
โ€ข ML pipelines

Best fields
โ€ข Data Science
โ€ข Machine Learning
โ€ข Automation
โ€ข Advanced Analytics

Job titles
โ€ข Data Scientist
โ€ข ML Engineer
โ€ข Analytics Engineer
โ€ข Python Developer

Hiring reality
โ€ข Common in mid to senior roles
โ€ข Strong demand in AI teams

India salary range
โ€ข Fresher: 6โ€“10 LPA
โ€ข Mid-level: 12โ€“25 LPA

Real tasks
โ€ข Churn prediction
โ€ข Report automation
โ€ข File handling CSV, Excel, JSON

โš”๏ธ Quick comparison

โ€ข Data source
SQL stays inside databases
Python pulls data from anywhere

โ€ข Speed
SQL runs fast on large tables
Python slows with raw big data

โ€ข Learning
SQL is beginner-friendly
Python needs coding basics

๐ŸŽฏ Role-based choice

โ€ข Data Analyst
SQL required
Python adds value

โ€ข Data Scientist
Python required
SQL used to fetch data

โ€ข Business Analyst
SQL works for most roles
Python helps automate work

โ€ข Data Engineer
SQL for pipelines
Python for processing

โœ… Best career move
โ€ข Learn SQL first for entry
โ€ข Add Python for growth
โ€ข Use both in real projects

Which one do you prefer?

SQL ๐Ÿ‘
Python โค๏ธ
Both ๐Ÿ™
None ๐Ÿ˜ฎ
โค2
๐Ÿ“š Languages used in:

1โƒฃ Web Development
๐Ÿ”ข Software Development
๐Ÿ”ข Machine Learning

@CodingCoursePro
Shared with Love
โž•
Please open Telegram to view this post
VIEW IN TELEGRAM
โœ… 8-Week Beginner Roadmap to Learn Web Development ๐ŸŒโœจ

๐Ÿ—“๏ธ Week 1: Build a Strong Foundation
โฆ Learn HTML: structure web content with tags, lists, tables, forms
โฆ Learn CSS: style webpages using selectors, properties, layouts
โฆ Practice on interactive platforms like freeCodeCamp or The Odin Project

๐Ÿ—“๏ธ Week 2: Dive into JavaScript Basics
โฆ Understand variables, functions, loops, conditionals, events
โฆ Get familiar with making pages interactive (e.g., to-do list, calculator)
โฆ Use small projects to solidify learning

๐Ÿ—“๏ธ Week 3: Advanced CSS & Responsive Design
โฆ Learn Flexbox, Grid, media queries for responsive layouts
โฆ Explore CSS frameworks like Bootstrap or Tailwind CSS
โฆ Practice building mobile-friendly web pages

๐Ÿ—“๏ธ Week 4: Front-End Frameworks Basics
โฆ Choose one: React.js (most popular), Vue.js (easy for beginners), or Angular
โฆ Learn component-based architecture and state management basics
โฆ Build small UI components (buttons, forms, modals)

๐Ÿ—“๏ธ Week 5: Version Control with Git & GitHub
โฆ Learn Git basics: init, add, commit, branch, merge, push
โฆ Host projects on GitHub and understand collaboration workflows
โฆ Practice by pushing your previous week projects

๐Ÿ—“๏ธ Week 6: Back-End Basics
โฆ Understand what servers and APIs are
โฆ Learn a backend language like Node.js (JavaScript) or Python (recommended for beginners)
โฆ Explore databases basics (SQL or NoSQL) and CRUD operations

๐Ÿ—“๏ธ Week 7: Building Full-Stack Applications
โฆ Combine front-end and back-end skills in simple projects
โฆ Learn about RESTful APIs, authentication & authorization basics
โฆ Deploy projects on platforms like Heroku, Netlify, or Vercel

๐Ÿ—“๏ธ Week 8: Capstone Project + Deployment
โฆ Build a complete web app (e.g., blog, to-do list, portfolio) from scratch
โฆ Make sure itโ€™s responsive, interactive, and connected to a database
โฆ Deploy and share it online (GitHub + hosting platform)

๐Ÿ’ก Tips:
โฆ Code daily and build small projects to practice concepts
โฆ Use resources like freeCodeCamp, The Odin Project, or YouTube tutorials

๐Ÿ’ฌ Tap โค๏ธ for the detailed explanation of each topic!

@CodingCoursePro
Shared with Love
โž•
Please open Telegram to view this post
VIEW IN TELEGRAM
โœ…Meta interview questions : Most asked in last 30 days

1. 1249. Minimum Remove to Make Valid Parentheses

2. 408. Valid Word Abbreviation

3. 215. Kth Largest Element in an Array

4. 314. Binary Tree Vertical Order Traversal

5. 88. Merge Sorted Array

6. 339. Nested List Weight Sum

7. 680. Valid Palindrome II

8. 973. K Closest Points to Origin

9. 1650. Lowest Common Ancestor of a Binary Tree III

10. 1. Two Sum

11. 791. Custom Sort String

12. 56. Merge Intervals

13. 528. Random Pick with Weight

14. 1570. Dot Product of Two Sparse Vectors

15. 50. Pow(x, n)

16. 65. Valid Number

17. 227. Basic Calculator II

18. 560. Subarray Sum Equals K

19. 71. Simplify Path

20. 200. Number of Islands

21. 236. Lowest Common Ancestor of a Binary Tree

22. 347. Top K Frequent Elements

23. 498. Diagonal Traverse

24. 543. Diameter of Binary Tree

25. 1768. Merge Strings Alternately

26. 2. Add Two Numbers

27. 4. Median of Two Sorted Arrays

28. 7. Reverse Integer

29. 31. Next Permutation

30. 34. Find First and Last Position of Element in Sorted Array

31. 84. Largest Rectangle in Histogram

32. 146. LRU Cache

33. 162. Find Peak Element

34. 199. Binary Tree Right Side View

35. 938. Range Sum of BST

36. 17. Letter Combinations of a Phone Number
37. 125. Valid Palindrome

38. 153. Find Minimum in Rotated Sorted Array

39. 283. Move Zeroes

40. 523. Continuous Subarray Sum

41. 658. Find K Closest Elements

42. 670. Maximum Swap

43. 827. Making A Large Island

44. 987. Vertical Order Traversal of a Binary Tree

45. 1757. Recyclable and Low Fat Products

46. 1762. Buildings With an Ocean View

47. 2667. Create Hello World Function

48. 5. Longest Palindromic Substring

49. 15. 3Sum

50. 19. Remove Nth Node From End of List

51. 70. Climbing Stairs

52. 80. Remove Duplicates from Sorted Array II

53. 113. Path Sum II

54. 121. Best Time to Buy and Sell Stock

55. 127. Word Ladder

56. 128. Longest Consecutive Sequence

57. 133. Clone Graph

58. 138. Copy List with Random Pointer

59. 140. Word Break II

60. 142. Linked List Cycle II

61. 145. Binary Tree Postorder Traversal

62. 173. Binary Search Tree Iterator

63. 206. Reverse Linked List

64. 207. Course Schedule

65. 394. Decode String

66. 415. Add Strings

67. 437. Path Sum III

68. 468. Validate IP Address

70. 691. Stickers to Spell Word

71. 725. Split Linked List in Parts

72. 766. Toeplitz Matrix

73. 708. Insert into a Sorted Circular Linked List

74. 1091. Shortest Path in Binary Matrix

75. 1514. Path with Maximum Probability

76. 1609. Even Odd Tree

77. 1868. Product of Two Run-Length Encoded Arrays

78. 2022. Convert 1D Array Into 2D Array

@CodingCoursePro
Shared with Love
โž•
Please open Telegram to view this post
VIEW IN TELEGRAM
โค1
โŒจ๏ธ Built-in Functions in JavaScript!!

JavaScript includes a variety of built-in functions that allow developers to perform common operations on data, manipulate strings and arrays, and work with dates and times. Here are some examples of built-in functions in JavaScript.
Please open Telegram to view this post
VIEW IN TELEGRAM
ChatGPT 5 | Gemini 3 | Nano Banana:
๐Ÿš€ Project 1: Personal Portfolio Website Beginner to Professional

A Personal Portfolio Website is one of the best beginner projects because it introduces you to real-world web development while helping you build your personal brand. 

Even if you're a beginner with no professional experience, you can still create an impressive portfolio showcasing your learning journey and projects.

๐ŸŽฏ Project Goal 
Build a fully responsive portfolio website that contains: 

๐Ÿ  Home Page, 
๐Ÿ‘จ About Section, 
๐Ÿ’ป Skills, 
๐Ÿ“‚ Projects, 
๐Ÿ“„ Resume Download Button sample PDF, 
๐Ÿ“ž Contact Form, 
๐ŸŒ™ Dark Mode Optional, 
๐Ÿ“ฑ Mobile Responsive Design

๐Ÿ›  Technologies Used 
Frontend: HTML5, CSS3, JavaScript 
Optional: React, Bootstrap / Tailwind CSS 
Deployment: GitHub, GitHub Pages / Netlify / Vercel

๐Ÿ“‚ Project Folder Structure 
portfolio-website/ 
โ”œโ”€โ”€ index.html 
โ”œโ”€โ”€ style.css 
โ”œโ”€โ”€ script.js 
โ”œโ”€โ”€ images/ 
โ”‚     โ”œโ”€โ”€ project1.png 
โ”‚     โ”œโ”€โ”€ project2.png 
โ”‚     โ””โ”€โ”€ profile.png 
โ””โ”€โ”€ resume.pdf 

๐ŸŽจ Website Layout 
Logo Home About Projects 
Welcome / I am a Web Developer / [View Projects] 
About Me 
Skills: HTML, CSS, JavaScript, React 
Projects: Project Cards 
Resume: Download Resume 
Contact Form: Name, Email, Message, Submit 
Footer

๐Ÿ“Œ Features 
โœ… Home Section 
Displays Welcome message, Profession, Short introduction, Call-to-action button 

Example:

<section id="home">
    <h1>Hello, I'm a Web Developer</h1>
    <p>I build responsive websites using HTML, CSS and JavaScript.</p>
    <button>View Projects</button>
</section>


โœ… About Section 
Explain Who you are, What you're learning, Career goals 

Example:

<section id="about">
    <h2>About Me</h2>
    <p>I am passionate about web development and enjoy building responsive websites and solving real-world problems through code.</p>
</section>


โœ… Skills Section 
Display skills as cards. 

Example:

<section id="skills">
    <div class="skill">HTML</div>
    <div class="skill">CSS</div>
    <div class="skill">JavaScript</div>
    <div class="skill">React</div>
</section>


โœ… Projects Section 
Create project cards. 

Example:

<div class="project">
    <h3>Weather App</h3>
    <p>Weather application using OpenWeather API.</p>
    <button>View Project</button>
</div>


โœ… Resume Section 

<a href="resume.pdf" download>Download Resume</a>


Use a placeholder resume until you create your own.

โœ… Contact Form

<form>
    <input type="text" placeholder="Your Name">
    <input type="email" placeholder="Your Email">
    <textarea placeholder="Your Message"></textarea>
    <button>Send</button>
</form>


๐ŸŽจ CSS Example

body {
    font-family: Arial;
    margin: 0;
    padding: 0;
}
section {
    padding: 60px;
}
button {
    padding: 10px 20px;
    background: #0077ff;
    color: white;
    border: none;
    cursor: pointer;
}
button:hover {
    background: #0055cc;
}


โšก JavaScript Example

const button = document.querySelector("button");
button.addEventListener("click", () => {
    alert("Welcome to my Portfolio!");
});


๐Ÿ“ฑ Responsive Design

@media(max-width:768px) {
    section {
        padding: 30px;
    }
    h1 {
        font-size: 30px;
    }
}


๐ŸŒŸ Bonus Features 
Try adding Dark Mode, Smooth Scrolling, Animations, Skill Progress Bars, Image Gallery, Contact Form Validation, Social Media Icons using placeholder links, Scroll-to-Top Button, Loading Animation.

๐Ÿ’ป Skills You'll Learn 
HTML Structure, CSS Flexbox & Grid, Responsive Web Design, JavaScript DOM Manipulation, Navigation Bar, Forms, Buttons, Media Queries, Git & GitHub, Website Deployment.

๐Ÿ“š Challenges 
Make the navigation sticky, Add a dark/light mode toggle, Animate sections when scrolling, Create reusable project cards, Deploy the portfolio online.

๐ŸŽฏ Learning Outcome 
After completing this project, you will know how to:
๐Ÿ‘Œ1
๐Ÿš€ Programming Aโ€“Z Important Terms You Should Know ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ”ฅ

๐Ÿ…ฐ๏ธ Algorithm โ†’ Step-by-step solution to solve a problem

๐Ÿ…ฑ๏ธ Bug โ†’ Error or issue in a program

๐Ÿ…ฒ Compiler โ†’ Converts code into machine language

๐Ÿ…ณ Database โ†’ Stores and manages data

๐Ÿ…ด Exception โ†’ Runtime error in a program

๐Ÿ…ต Framework โ†’ Pre-built structure for development

๐Ÿ…ถ Git โ†’ Version control system for tracking code changes

๐Ÿ…ท HTML โ†’ Standard language to create web pages

๐Ÿ…ธ IDE โ†’ Software used to write & run code

๐Ÿ…น JSON โ†’ Lightweight format for data exchange

๐Ÿ…บ Keyword โ†’ Reserved word in a programming language

๐Ÿ…ป Library โ†’ Collection of reusable code/functions

๐Ÿ…ผ Machine Learning โ†’ AI technique where systems learn from data

๐Ÿ…ฝ Node.js โ†’ JavaScript runtime for backend development

๐Ÿ…พ๏ธ Object-Oriented Programming (OOP) โ†’ Programming using classes & objects

๐Ÿ…ฟ๏ธ Python โ†’ Popular language for AI, automation & backend

๐Ÿ†€ Query โ†’ Request for data from a database

๐Ÿ† Runtime โ†’ Environment where code executes

๐Ÿ†‚ Syntax โ†’ Rules for writing code correctly

๐Ÿ†ƒ Terminal โ†’ Command-line interface for running commands

๐Ÿ†„ UI (User Interface) โ†’ Visual design users interact with

๐Ÿ†… Variable โ†’ Stores data values in programming

๐Ÿ†† Web Development โ†’ Creating websites & web applications

๐Ÿ†‡ XML โ†’ Markup language used for storing & transporting data

๐Ÿ†ˆ YAML โ†’ Human-readable configuration language

๐Ÿ†‰ Zero-Day Bug โ†’ Newly discovered security vulnerability

@CodingCoursePro
Shared with Love
โž•
๐Ÿ’ฌ Tap โค๏ธ if this helped you!
Please open Telegram to view this post
VIEW IN TELEGRAM
โค2
Now, let's understand the next web development project:

๐Ÿš€ Project 2: To-Do List Application Beginner to Intermediate

A To-Do List Application is one of the most common interview and portfolio projects because it teaches you how to build interactive web applications using JavaScript.

Unlike a static website, users can add, edit, delete, and manage tasks, making it a great project for learning real-world frontend development.

๐ŸŽฏ Project Goal

Build a responsive task management application where users can:

โž• Add tasks

โœ๏ธ Edit tasks

โŒ Delete tasks

โœ… Mark tasks as completed

๐Ÿ” Search tasks

๐Ÿ“‚ Filter tasks All, Active, Completed

๐Ÿ’พ Save tasks using Local Storage

๐Ÿ“ฑ Mobile Responsive Design

๐Ÿ›  Technologies Used

Frontend

HTML5, CSS3, JavaScript ES6

Optional

React, Bootstrap / Tailwind CSS

๐Ÿ“‚ Project Folder Structure

todo-app/

โ”œโ”€โ”€ index.html

โ”œโ”€โ”€ style.css

โ”œโ”€โ”€ script.js

โ””โ”€โ”€ icons/

๐ŸŽจ Application Layout

    My To-Do List


+-----------------------------+

| Enter a new task |

+-----------------------------+

[ Add Task ]

โ˜ Learn HTML

โ˜ Practice CSS

โ˜‘ Build Portfolio Website

โ˜ Learn JavaScript

All | Active | Completed

๐Ÿ“Œ Features

โœ… Add Task

Users can type a task and click the Add Task button.

Example HTML:


Add Task

โœ… Display Task List

Each task will be added dynamically using JavaScript.

โœ… Add Task Using JavaScript

const addBtn = document.getElementById("addBtn");

const taskInput = document.getElementById("taskInput");

const taskList = document.getElementById("taskList");

addBtn.addEventListener("click", () => {

const task = taskInput.value;

if(task === "") return;

const li = document.createElement("li");

li.textContent = task;

taskList.appendChild(li);

taskInput.value = "";

});

โœ… Delete Task

Each task should have a Delete button.

Example:

โ€ข
Learn JavaScript
Delete

โœ… Mark Task as Completed

Example JavaScript

li.addEventListener("click", () => {

li.classList.toggle("completed");

});

Example CSS

.completed {

text-decoration: line-through;

opacity: .6;

}

โœ… Edit Task

Allow users to update an existing task.

Example:

const updatedTask = prompt("Edit task:");

if(updatedTask) {

li.firstChild.textContent = updatedTask;

}

โœ… Search Tasks

Filter tasks based on the entered keyword.

โœ… Filter Tasks

Create three buttons: All, Active, Completed

Users can switch between: All Tasks, Completed Tasks, Pending Tasks

โœ… Save Tasks in Local Storage

localStorage.setItem("tasks", JSON.stringify(tasks));

Load tasks when the page opens.

const savedTasks = JSON.parse(localStorage.getItem("tasks"));

This ensures tasks remain available even after refreshing the browser.

๐ŸŽจ CSS Example

body {

font-family: Arial;

background: #f4f4f4;

}

.todo-container {

max-width: 500px;

margin: auto;

padding: 20px;

}

button {

padding: 10px;

cursor: pointer;

}

๐Ÿ“ฑ Responsive Design

@media(max-width:768px) {

.todo-container {

width: 90%;

}

}