Giter Site home page Giter Site logo

calculatorandstopwatch's Introduction

Calculator Web Application

This project is a simple calculator web application designed using jQuery and arrow functions. It has two pages, a Login Page, and a Calculator Page.

Login Page

The Login Page contains four fields:

  1. Email
  2. User Name
  3. Password
  4. Confirm Password

The page enforces the following validations:

  • Null checks
  • Special character checks for the fields
  • Length checks (minimum and maximum length)
  • Displays specific error messages for each field
  • The email field only accepts northeastern.edu email addresses
  • Displays error messages in red below the fields

Upon successful validation, the application redirects to the Calculator Page.

Calculator Page

The Calculator Page includes two input fields for numbers and four operation buttons:

  1. Add
  2. Subtract
  3. Multiply
  4. Divide

The page enforces the following validations for the input fields:

  • Only numbers are allowed
  • Null checks
  • Special character checks
  • Infinite value checks
  • Displays error messages in red below the fields

All four operations (Add, Subtract, Multiply, and Divide) are performed using a single arrow function.

Basic CSS is applied to both pages for improved styling.


Stopwatch Web Application

This project is a simple stopwatch web application designed using Async, Await, Promises, Set Interval, and Clear Interval in JavaScript.

The application is a single-page stopwatch with the following features:

  • Displays the time in "HH:MM:SS" format, initially set to 00:00:00
  • Displays the current date and allows the selection of past and future dates
  • Includes three buttons: Start, Stop, and Reset
  • Clicking the Start button starts the timer
  • Clicking the Stop button pauses the timer
  • Clicking the Reset button resets the timer to 00:00:00

Basic CSS styling is applied to improve the appearance of the application.

calculatorandstopwatch's People

Contributors

bindal007 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.