The application allows users to enter a sentence or a block of text and calculates the total number of vowels and consonants when the count button is clicked. It recognizes both uppercase and lowercase vowels and uses conditional statements to identify and classify characters. Spaces are ignored during the counting process.
The project was developed using HTML5 for structuring the webpage, CSS3 for styling the interface and JavaScript for implementing the counting logic, handling user input and dynamically displaying the results through DOM manipulation.
Through this project, I gained practical experience in using nested while loops, boolean flags, conditional statements, string traversal and DOM manipulation. The primary focus was on developing the counting logic manually rather than relying on advanced built in JavaScript methods.
This project helped strengthen my understanding of loops and character comparison while improving my logical thinking and problem solving skills. It also provided practical experience in translating a simple programming problem into an interactive web application.
