Welcome to the Speed and Ping Test project! This is a web application designed to measure internet speed and ping times in real-time. The project features two primary functionalities: a speed test and a ping test, both presented with dynamic charts for visual representation.
- Speed Test: Measures download speed in Mbps and provides real-time data visualization.
- Ping Test: Measures ping times in milliseconds with real-time updates and average calculations.
- Page Transitions: Smooth and visually appealing transitions between the speed test and ping test pages using flip animations.
- Responsive Design: Ensures a seamless experience across various devices and screen sizes.
- HTML/CSS: For the structure and styling of the web pages.
- JavaScript: Handles the core functionality, including fetching data and updating the charts.
- Chart.js: A simple and flexible JavaScript charting library used for creating dynamic charts.
- Fetch API: Used to simulate data fetching for speed and ping tests.
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/speed-ping-test.git
- Navigate to the project directory:
cd speed-ping-test
- Open
index.phpin a browser: You can use a local PHP server to serve theindex.phpfile, such as:
php -S localhost:8000
Then open http://localhost:8000 in your browser.
- Click on the "Start Speed Test" button to begin the test.
- The test will measure your internet speed and display the average and runtime speed in Mbps.
- Click "Stop Test" to end the speed test.
- Click on the "Go to Ping Test" button to switch to the ping test page.
- Click on the "Start Ping Test" button to begin the test.
- The test will measure the ping times and display the average ping in milliseconds.
- Click "Stop Test" to end the ping test.
If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes and commit them (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or feedback, feel free to reach out to me at kndnsow@gmail.com.
