Skip to content

AlizayAyesha/Copy-To-Clipboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copy-To-Clipboard-jQuery

This project demonstrates a simple implementation of copy-to-clipboard functionality using jQuery and SASS (SCSS). It provides a straightforward way to copy text from a <textarea> element to the user's clipboard with a click of a button.

Features

Copy Text: Allows users to copy text from a <textarea> by clicking a dedicated button.
Visual Feedback: Displays a brief confirmation message when text is successfully copied. image

Technologies Used

jQuery: Used for DOM manipulation and handling click events.
SASS (SCSS): Enhances CSS with variables, nesting, and more, compiled into standard CSS for styling.

Usage Notes

Ensure compatibility with modern browsers, especially for the Clipboard API used in main.js.
Customize styles and behavior as needed for your specific application.

Credits

FontAwesome: Utilized for the copy icon (ensure to include the correct CDN link in index.html).
Google Fonts: Used for typography (Montserrat and Playfair Display).

License

This project is licensed under the MIT License. See the LICENSE file for details.