Operation Code Challenge

Welcome to the Operation Code challenge! The goal of this challenge is to get you to easily commit your first change to a program, see the results of the change, and leave your mark on Operation Code itself! To do this we're going to take a look at a source code repository, clone the repository, make a change to a file and finally create a pull request.

  1. Firstly, visit our GitHub repository for this pageOpens in new window. GitHub is a website dedicated to hosting source code. The code for this website is publically available! Take a moment to explore GitHub. You can see the code for this specific pageOpens in new window.
  2. Secondly, fork the repository. Forking a repository takes a snapshot of the code and places that snapshot into your personal GitHub. GitHub allows you to contribute code between forks and their original repository. This process is how everybody contributes to open source. After forking, you will visit this linkOpens in new window  and click on the button near the top-right corner of the screen: screenshot of 'Fork' button on GitHub In a few moments, you will be redirected to your own copy of this website's source code.

    Congratulations! You have "forked" the "repo"!
  3. Now that you have a fork of the "repo", it's time to edit the necessary file to add your name to the list below! Go to the /public folder, then the /static folder, click on theoperationcode_challenge directory and click on the file callednames.js. On the right-hand side, you should seea button with a pencil icon. Click it.
  4. Add your name to the bottom of the list of names.
  5. Scroll to the bottom for the Commit changes form. There are two input boxes. In the input field with "Update names.js", type Add <YOUR NAME> to challenge list. You will leave the second, large input field blank. There are two "radio" buttons below the input fields. Check the one that says "Create a new branch". Your screen should now have something like this:

    screenshot of what the screen should look like on GitHub thus far

    Once you confirm the similarities, clickscreensot of the 'Propose file change' button
  6. With your changes merged into your fork (your name added to the list in your copy of the code), head back to Operation Code's front-end repositoryOpens in new window.
  7. Click on the "Pull requests" tab. It rests between the "Issues" and "Project" tabs.
  8. Click on the green "New pull request" button.
  9. You should now be at the "Open a pull request" screen. We do not wish to ask ourselves for permission to merge our new branch into our own fork! Instead,  click Opens in new window , to open Operation Code's "New pull request" interface. You should see a "Compare changes" headline. Just below that is a link within the text:  'compare across forks' - click it. Now, click on the selector that says ' head fork' at the beginning, and choose your fork. Click the next selector to the right, and choose your new branch. Now, you're comparing Operation Code's main branch with your new fork's branch, and you may clickscreenshot of the 'Create pull request' buttonto create your first Pull Request! We hope you come to love that button...
  10. NOTE: A pull request is how people throughout the world are able to contribute to open source software - like Operation Code's website! When you submit a pull request it notifies the maintainers of the project, and runs some automated checks. The maintainers then look at the new changes, and decide if they want it merged into their repository.

  11. When you're ready, click the "Create pull request" button. Our staff will be notified and a few minutes after the pull request is accepted and merged your name will show up below!
Congratulations - you've made your first open source commit!
Here is a list of the people that have completed this before you:
  1. Zeheva
  2. RickR
  3. smjparsons
  4. s_weekly
  5. phucledien
  6. Hiren
  7. Andrew Young
  8. r3c0gniz3r
  9. wheezykw
  10. Colleen
  11. rdes
  12. Rugi
  13. Keith Warren
  14. Ammo
  15. BaldwinEP - Ed
  16. fernandoylet
  17. Clardy51
  18. Drew Bragg
  19. Bryan Malloy
  20. AndrewN
  1. rsd_henry
  2. artiepolanco
  3. Rob Combs
  4. Jeff Gullidge
  5. theunmanifested
  6. KS MacLeod
  7. seanmangosing
  8. AidenEli
  9. Zabrina
  10. John Hampton
  11. Josh
  12. Kevin Moon
  13. John Carlisle
  14. John Park
  15. Adam Abundis
  16. Aria Askari
  17. Phillip Ngo
  18. Carl Rempel
  19. Tyler Sweeney
  20. Roger Terrill
  1. Rebecca Martin
  2. Anthony Cruz Rodriguez
  3. Michael Salvati
  4. Jonathan Gallo
  5. Deitrich Smikle
  6. Christopher Torres
  7. Sepideh
  8. Seanrad
  9. David Bledsoe
  10. Sairina Merino Tsui
  11. Justin Reeves
  12. Yusoof Moh
  13. Aditya Goparaju
  14. Jerry Rogers
  15. Kenneth Ofosu
  16. Nithin KS
  17. Krishna AL
  18. Vibhor Garg
  19. Akshaya Subramanian
  20. Parshwa Shah
  1. Elise Harris
  2. Ryan Diffenbaugh
  3. Ron Yonker
  4. Quan Nguyen
  5. Brian McPhillips
  6. Richard Burd
  7. Jaime Sanders
  8. Jack Toumey
  9. Jerud-Moyer
  10. Darren Bridenbeck
  11. Josh Olloqui
  12. Sean Jackson
  13. Dusty McCord
  14. Briseida Pagador
  15. Johnny Huang
  16. Paul Stevens
  17. Asher Ferri
  18. Kyle Holmberg
  19. Alexander Verhulst
  20. Christian Gonzalez
  1. Sean Mangosing
  2. Frank (franklyspeaking) Gauss
  3. Sung Paik
  4. Tri Tran
  5. Damien Richcreek
  6. Kevin Belk
  7. Andrew Lester
  8. Esther Lee
  9. Khush Makadia
  10. John Winy Ludeke