Share Selected Text with JavaScript
Using JavaScript, learn how to implement a feature which gives users the option to easily share selected text, in this case to Twitter but could be any social media or even additional options such as to copy to clipboard or convert selected text-to-speech so that user can listen to it! The feature of sharing selected text is quite common, especially in Blog sites and it helps websites gain exposure, grow traffic and increase search engine rankings! In the first few minutes of this video, we build the structure and add the content and styling with HTML and CSS. After deciding which areas of our page should allow for sharing selected text, we proceed to JavaScript in order to access the selected text, display the share button to the appropriate position and share the selected text upon a click event over the share button. Enjoy 🙂 Don’t forget to share, like, subscribe and would love to hear your thoughts in the comment section below! Code for this Project: https://codepen.io/Coding_Journey/pen... Support the Channel 💙☕🙏 PayPal: https://paypal.me/CodingJourney Suggested Videos: Colorful Background with linear-gradient: • Colorful Background with linear-gradient Font Awesome 5 Icons: • Font Awesome 5 Icons Voice Search with JavaScript (Web Speech API): • Voice Search with JavaScript (Web Speech API) HTML Drag and Drop API: • HTML Drag and Drop API Codepen: https://codepen.io/Coding_Journey/ Twitter: / codingjrney Email: [email protected] Subscribe 💖 / @codingjourney

Voice Search with JavaScript (Web Speech API)

Modal with HTML, CSS and JavaScript

CSS box-shadow Editor

Animated Intro (HTML & CSS)

HTML & CSS Tutorial - Ways to code images...and how to do it well

Modern JavaScript Tutorial #2 - Syntax Basics & Types

Image Comparison Slider (HTML, CSS and JavaScript)

divs, ids, classes and loops

HTML Forms and Inputs | HTML5 Tutorial for Beginners

Learn JavaScript in 12 Minutes

Smooth Scroll with JavaScript

Data Visualization with Chart.js

Typing Effect with HTML, CSS and JavaScript

Build a Single Page Application with JavaScript (No Frameworks)

HTML Drag and Drop API

Learn HTML5 and CSS3 For Beginners - Crash Course

Form Styling Essentials | The basics to modern CSS tips & tricks

Currency Converter with HTML, CSS and JavaScript (Part 1)

How To Make Autocomplete Search Box For Website Using HTML CSS & JavaScript

