This project compresses a given URL to a shorter, more user-friendly form.
The CodeClause URL Shortener is a simple web application that allows users to create custom shortened URLs using the Shrtcode API. The primary purpose is to provide a quick and convenient way to generate shortened links for easier sharing.
- URL Shortening: Enter a long URL in the provided input field and click the "Compress the link" button to generate a shortened URL.
- Copy to Clipboard: After generating a shortened URL, click the "Copy link" button to copy the shortened URL to the clipboard.
The project utilizes an inline JavaScript script within an HTML file to execute the necessary functions. The JavaScript code interacts with the Shrtcode API to perform the URL shortening.
- Open the
index.html
file in a web browser. - Enter a long URL in the input field.
- Click the "Compress the link" button to generate a shortened URL.
- Click the "Copy link" button to copy the shortened URL to the clipboard.
- HTML
- JavaScript
- Shrtcode API
To make changes to the code:
- Open the project in a code editor.
- Modify the HTML or JavaScript files as needed.
- Test locally to ensure functionality.
- Commit and push changes to the repository.
Contributions to enhance or fix issues are welcome. Feel free to open an issue or submit a pull request.
Feel free to add more sections or customize it further based on your project's unique features and requirements.