Coding Challenge #84: Word Definition Extension

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=GWDx1GnxhOw



Duration: 26:35
38,746 views
993


In this coding challenge, I attempt to make a chrome extension that looks up a selected word’s definition using the Wordnik API. Code: https://thecodingtrain.com/challenges/84-word-definition-chrome-extension

πŸŽ₯ Previous video: https://youtu.be/IXXNIcQQLU8?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Next video: https://youtu.be/FWSR_7kZuYg?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
πŸ”€ Programming from A to Z: http://shiffman.net/a2z
πŸ“š chrome.extension reference: https://developer.chrome.com/extensions/extension
πŸ”  Wordnik: https://www.wordnik.com/

Videos:
πŸš‚ My video on Cross Browser Extensions: https://youtu.be/RJtjp-Vtwjs
πŸ”Œ Chrome Extensions Playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bL9VOMT65ahNEri9uqLWfS
πŸ”΄ Coding Train Live 107: https://youtu.be/h3p0U8yWrMU?t=6484s

Related Coding Challenges:
πŸš‚ #82 Image Chrome Extension - The Ex-Kitten-sion!: https://youtu.be/8zMMOdI5SOk
πŸš‚ #83 Chrome Extension with p5.js Sketch - Doodle Chrome Extension: https://youtu.be/IXXNIcQQLU8

Timestamps:
00:00 Welcome to a Coding Challenge!
00:53 Content Script, Background Script and Pop-ups
04:08 Get the selected text in the Content Script
07:34 Send the selected text to the Background Script
08:57 Receive the selected text in the Background Script
10:38 Store the word in a global variable in the Background Page
11:47 Get the word in the Pop-up from the Background Page
13:10 Set the variable to window to make it globally accessible
15:04 Get the definition of the word from the Wordnik API
23:23 Final Output and adding Styles

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

πŸš‚ Website: http://thecodingtrain.com/
πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: https://github.com/CodingTrain
πŸ’¬ Discord: https://thecodingtrain.com/discord
πŸ’– Membership: http://youtube.com/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— p5.js Web Editor: https://editor.p5js.org/
πŸ”— Processing: https://processing.org

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#chromeextensions #bookmarklets #wordnikapi #definition #javascript







Tags:
JavaScript (Programming Language)
live
programming
daniel shiffman
creative coding
coding challenge
tutorial
coding
challenges
coding train
the coding train
live stream
chrome extensions
chrome add-ons
create chrome extensions
how-to chrome extensions
chrome script
cool chrome extensions
google chrome
extension
extensions
chrome
browser
add-ons
addons
wordnik
wordnik definitition
word definition popup
word definition extension
challenge
dictionnary extension