How to learn to code: Tell everyone, then ask questions

The second you decide to learn to code, let everyone - your parents, your grandparents, your Twitter followers - know. Coding might be portrayed as a loner activity in the media, but I've found that when coding your best friend is the universal coding community.

I built my first portfolio site with the help of learn.knightlab.com last fall. The feat took me a year to complete. In hindsight, I realize that part of the reason I was so slow was that I could never think of myself as a developer and certainly not one talented enough to seek help publicly and online. But a whole world of coders exists out there – on Twitter, on GitHub – and I could see from laptop in my lamp-lit dorm room at 2:00 a.m. that they were always talking to each other.

There was no way I was smart or cool enough to talk to them and be a member of that community.

I finally began building my portfolio site in late summer. It was minimalistic – in part because I wanted to start small, and in part because I admired the then-design of Knight Lab fellow Suyeon Son’s portfolio site, the color scheme, and the basic JQuery functions she used. If only I could find out how she built it.

I first accessed the coding community at my fingertips in my favorite coffeeshop with a high school friend who had just returned from her internship at Google. My website was painfully bare — some scrawny HTML on a sea of whiteness. But then I positioned a div and it looked great. I wanted to make a div toggle-slide. I wanted to make the mail icon open up my Mail app.

“You should check out Suyeon's GitHub repo,” my friend suggested.

The rest ran like water.

I warmed up to the coding community by, for the first time ever, looking at Suyeon's repo. It helped that Suyeon and I were friends so I didn't have to worry about sounding stupid when I asked her questions. I looked at her code and it wasn’t a jumble of characters to me – it was the story of how Suyeon built her site. Though I wasn’t talking to her, being able to copy her code made me a participant in the coding community.

I learned from my mistakes by asking for help on Twitter. I wanted to use SoundCite in my portfolio to showcase my audio pieces, but didn’t understand that it wouldn’t work locally. I tweeted at former Knight Lab fellow Tyler Fisher who responded immediately, kindly informing me that everything was working just the way it should.

Portfolio complete, I moved on to building an audio site with Tarbell, a spreadsheet-based CMS. I was still shy about reaching out strangers for assistance. When I couldn’t install Tarbell after three tries, I tweeted at Heather Billings and David Eads both of whom worked then at Chicago Tribune and responded with advice the next morning. When it still wouldn’t work, Joe Germuska taught me how to submit an issue on GitHub.

Joe encouraged me to suggest to Eads that a step could be added to the instructions of Tarbell. “Though I guess it might be a step that’s intuitive to most,” I added humbly in my Gist.

Eads responded, “LOL it isn’t obvious to anybody!” and “Thanks for struggling through this, because now we know it’s necessary.”

Coders are a community. And I learned that in our community, when you receive help, you might also be contributing.

About the author

Anne Li

Undergraduate Fellow

Anne is something between an audio reporter and a numbers snoop. Her spirit emoji is a frog sipping tea.

Latest Posts

  • A Big Change That Will Probably Affect Your Storymaps

    A big change is coming to StoryMapJS, and it will affect many, if not most existing storymaps. When making a storymap, one way to set a style and tone for your project is to set the "map type," also known as the "basemap." When we launched StoryMapJS, it included options for a few basemaps created by Stamen Design. These included the "watercolor" style, as well as the default style for new storymaps, "Toner Lite." Stamen...

    Continue Reading

  • Introducing AmyJo Brown, Knight Lab Professional Fellow

    AmyJo Brown, a veteran journalist passionate about supporting and reshaping local political journalism and who it engages, has joined the Knight Lab as a 2022-2023 professional fellow. Her focus is on building The Public Ledger, a data tool structured from local campaign finance data that is designed to track connections and make local political relationships – and their influence – more visible. “Campaign finance data has more stories to tell – if we follow the...

    Continue Reading

  • Interactive Entertainment: How UX Design Shapes Streaming Platforms

    As streaming develops into the latest age of entertainment, how are interfaces and layouts being designed to prioritize user experience and accessibility? The Covid-19 pandemic accelerated streaming services becoming the dominant form of entertainment. There are a handful of new platforms, each with thousands of hours of content, but not much change or differentiation in the user journeys. For the most part, everywhere from Netflix to illegal streaming platforms use similar video streaming UX standards, and...

    Continue Reading

  • Innovation with collaborationExperimenting with AI and investigative journalism in the Americas.

    Lee este artículo en español. How might we use AI technologies to innovate newsgathering and investigative reporting techniques? This was the question we posed to a group of seven newsrooms in Latin America and the US as part of the Americas Cohort during the 2021 JournalismAI Collab Challenges. The Collab is an initiative that brings together media organizations to experiment with AI technologies and journalism. This year,  JournalismAI, a project of Polis, the journalism think-tank at...

    Continue Reading

  • Innovación con colaboraciónCuando el periodismo de investigación experimenta con inteligencia artificial.

    Read this article in English. ¿Cómo podemos usar la inteligencia artificial para innovar las técnicas de reporteo y de periodismo de investigación? Esta es la pregunta que convocó a un grupo de siete organizaciones periodísticas en América Latina y Estados Unidos, el grupo de las Américas del 2021 JournalismAI Collab Challenges. Esta iniciativa de colaboración reúne a medios para experimentar con inteligencia artificial y periodismo. Este año, JournalismAI, un proyecto de Polis, la think-tank de periodismo...

    Continue Reading

  • AI, Automation, and Newsrooms: Finding Fitting Tools for Your Organization

    If you’d like to use technology to make your newsroom more efficient, you’ve come to the right place. Tools exist that can help you find news, manage your work in progress, and distribute your content more effectively than ever before, and we’re here to help you find the ones that are right for you. As part of the Knight Foundation’s AI for Local News program, we worked with the Associated Press to interview dozens of......

    Continue Reading

Storytelling Tools

We build easy-to-use tools that can help you tell better stories.

View More