-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
CodeCoding issuesCoding issuesenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Implement Confirmation Message Popup of Link Copied
Overview
Implement a confirmation message box in Home panel which should show {social_handle} profile copied. with a checkmark before the text.
Requirements
- Create an element in
#homepanel, which should be shown as a popup stating{social_handle} profile copied. - The element should only be visible to user, whenever use clicks the specific profile icon.
- Style
- It should appear in center bottom of the Home panel only.
- It should have the same background color as of header.
- The popup box should contain checkmark (you can use emoji ✅ or any unicode character) and the text.
- The popup should get auto hide after 3 seconds.
- The popup must have the
positionasabsoluteso it doesn't interrupt the style of home panel. - The popup must be
absoluteto#home.
- Must follow the Code Guidelines provided.
- To test the code, setup the extension by following these steps.
- The Layout should be written in
index.htmlunder#homeelement only, The design should be added instyle.cssand the functionality should be implemented inindex.jsonly.
Structure
- Structure of
showCopyMessage(key)inindex.jsfile is as follows:function showCopyMessage(key) { console.log(`Copied ${key} to clipboard!`); // Your code should be added here };
- Structure of
#homepanel inindex.htmlfile is as follows:<section id="home"> <ul id="socialLinks"> </ul> <!-- Your code should be added here --> </section>
If you have any suggestion or idea, you're welcome to share.
Let's implement SocialRepo's confirmation popup! 🙌
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CodeCoding issuesCoding issuesenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers