Skip to content

World-of-Code/code-mode

Repository files navigation

> CodeMode

CodeMode overview

CodeMode is a Google Chrome extension that turns any Youtube coding tutorial into an interactive learning platform. Activate CodeMode by installing the extension on the Chrome Web Store.

CodeMode intro gif

Why CodeMode?

Youtube has invaluable educational videos and active communities of content creators and students. Unfortunately, for those students to practice what they're learning, they have to find the video's sample code somewhere else on the web (if the content creator has made it available), open a separate tab or program to work, and constantly switch between these windows in order to follow along.

CodeMode simplifies this process and makes practice easier.

CodeMode benefits

How does it work?

CodeMode dramatically simplifies the process of coding along to Youtube videos by adding a drawer to the bottom of the video's page. Users can toggle this drawer open and code inside of its code editor. CodeMode keeps track of questions assigned to individual videos so viewers can practice the skills they are learning without having to leave the page. Finally, content creators can contribute to the videos and questions in the CodeMode database.

CodeMode demonstration

Learn more

You can view the CodeMode product demo on Youtube to learn more about how we created CodeMode.

CodeMode product demo on Youtube

For developers

How to run CodeMode locally

  • Open your terminal window, navigate to your desired directory, and type the following:
> git clone [email protected]:World-of-Code/code-mode.git
> cd code-mode
> yarn
> yarn run start-dev
  • Open up Chrome and go to chrome://extensions.
  • Make sure the 'Developer Mode' checkbox is on
  • Click 'Load unpacked extension...'
  • Navigate to the folder with CodeMode's manifest.json file and click 'Select'
  • Now you should be able to navigate to any Youtube video and see the CodeMode drawer at the bottom of the page!

Known issues

  • When multiple Youtube videos are open in separate tabs, CodeMode forces each page to reload continuously.

Style guide

  • Pay attention to the linter
  • Do not use semicolons
  • use const or let over var
  • Use require and module.exports in .js files
  • Use import and export in .jsx files
  • Put import statements at top
  • Put the default export at bottom
  • Consider splitting up any file larger than 100 lines
  • Name files using lowercase-and-dashes instead of camelCase or PascalCase, except for when the default export is a class
  • Define React components as pure functions (instead of classes) whenever possible

Technologies

React Redux PostgreSQL Express Node Mocha/Chai

Acknowledgements

Made with ❤ by

Special thanks to the team at Fullstack Academy for making this team and project possible.

Releases

No releases published

Packages

No packages published

Languages