Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Latest commit

 

History

History
34 lines (19 loc) · 2.37 KB

word-count-screencast.md

File metadata and controls

34 lines (19 loc) · 2.37 KB

How to Make a Word Count Tool

In this walkthrough, we'll learn how to build a basic "Word Count" Goodie Instant Answer. You can find the code on Github to follow along.

We've done it as a screencast for those who enjoy learning from video tutorials.

Set Up Your Development Environment

To follow along with this screencast, we'll first need to set up our development environment. There are three main steps:

  1. Fork the Goodie repository on github.com. (How?)
  2. Set up the DuckDuckHack environment on Codio.com (How?)
  3. Clone your Github fork onto the Codio environment. (How?)

If this is your first time developing an Instant Answer, check out our detailed, step-by-step guide to getting your development environment set up.

Create the Instant Answer Page

If you're just using this walkthrough to learn and practice for now, you can skip this step. This is important only if you plan to submit what you're working on.

Every Instant Answer on DuckDuckGo.com has its very own Instant Answer Page. These are the home base for planning, collaboration, and metadata. Instant Answer pages also show any Github issues and let you know what stage the Instant Answer is in.

When done coding, you'll use the URL of your Instant Answer page when submitting your contribution.

Now let's start coding!

Hit Play

Once this is done, you're ready to go! Make sure to click "full screen" and "HD".

<iframe src="https://player.vimeo.com/video/146960913?byline=0" width="757" height="425" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>