• Skip to primary navigation
  • Skip to main content

Code the Dream

Real Talent. Real Experience. Real Impact.

  • About
    • Who We Are & What We Do
    • Job Openings
    • CTD Voices
    • Code The Dream’s Impact
    • In The Media
    • Board
    • Contact Us
  • Get Involved
    • Volunteer
    • Senior Dev Fellowship
    • E-Newsletter
    • Thank You CTD Volunteers
  • Services
    • Portfolio
    • Need an App?
  • Class Info
    • Class Info
    • Apply Now
  • Blog
  • Donate
  • Show Search
Hide Search

Advanced Pre-Work Assignment

General Instructions > Part 1 > Part 2 > Submission

Part 2: Build and Test

Now that you’ve planned and researched, start writing your code! We recommend working in small pieces, making frequent commits so you can get back to a working version easily, and checking/testing as you go and again at the end of your project. Always keep an eye on your console and do your best to make it error-free. Here are some tasks that can help you work through the build and test part:

  1. Build your code
  2. Test your site
  3. DOUBLE CHECK YOUR WORK!!!

The next and final step will be to copy the link to your work and submit it.


Build your code: Task 1 of 3

Start with GitHub. If you don’t have an account on GitHub, please create one now as your project is required to be on a public GitHub repository in your personal account.

Build your file structure to start with, and don’t worry too much about having all your content in place. Just get your files in, basic, and make sure they’re working together. As a reminder, here are the requirements for Structure:

  • A public GitHub repository containing your project
  • An HTML document for the page
  • A CSS document to style the HTML page
  • A JavaScript file that retrieves data from one of several public API sources to display the data on your HTML page
  • A README file that includes the instructions for running the webpage

Once you have your files built, start small with your API call. Just get one model to display on your page. Once the one model is working, you’ll be able to duplicate and revise your code to retrieve other models.

Make frequent commits. Committing your work often when you’re at a point of building that you know all your code is working makes it easier to step back to the most recent working version if you run into major problems. And speaking of…

Don’t forget to allow yourself time for running into errors and having to research problems that may arise along the way.


Test your site: Task 2 of 3

Testing your work should really happen at frequent intervals. Build some code, make sure it does what you want it to, build some more, check again. This is also why making frequent commits can be so important!

During building keep an eye on your console and terminal for any errors that arise and research how to resolve them as they come up. It’s easier to research one or two errors than get to the end and discover you have several errors to resolve.

When building is complete test your work and have friends test it out too! Sometimes you work so closely on your code, and have had the same idea in your mind from the beginning, you don’t take into account how someone else might interact with your page. Can they find the navigation easily? Do features work like they expect?

Do your best, and if there are some errors you just can’t resolve, do not worry or stress out too much. We know applicants will not always have perfect code – after all you came to us learn! If you had perfect code what would we teach you? Focus on making your project as close to how you want and expect to it look and perform as possible.


Double check your work: Task 3 of 3

Double check your work. Be sure the site has all the requirements (listed below) and that it looks/acts how you expect/want it to.  Make sure that the link to your repository is accurate when you go to submit it, and that any and all code is merged to the main branch of your repository so there aren’t any changes you made that aren’t included in the main branch.

As a reminder, here are the project requirements:

STRUCTURE:

  • A public GitHub repository containing your project
  • An HTML document for the page
  • A CSS document to style the HTML page
  • A JavaScript file that retrieves data from one of several public API sources to display the data on your HTML page
  • A README file that includes the instructions for running the webpage

CONTENT:

  • Display the data for at least 2 of the models in the API
  • Include navigation from each model’s page to the other models that are displayed
  • Issue new GET requests for the linked data to display in the linked pages.

FUNCTIONALITY:

  • Be sure that we can get the code to run without issues by following the instructions in the README file
  • Be sure navigation between the different models behaves properly and is not slowed down by requesting more data than needs to be displayed
  • Be sure your code is readable and well structured
  • If including a user-interactive feature like a search field, be sure that you appropriately handle error cases
  • Be thoughtful about what type of styling is used (example: font-sizes are not too small or large, colors are not too dark/light to be easily seen, etc.)

Congratulations! The hard part is done! Now, you’ll just need to copy the link to your work and submit it. Use the link below for instructions and the form to submit your work to us…

CLICK HERE TO SUBMIT YOUR PRE-WORK ASSIGNMENT

Big thanks to @SASsoftware for inviting CTD apprentices to tour the campus and meet the team! pic.twitter.com/pPIORpgnZs

About 5 months ago

Vamos helps farmworker organizations plan, implement, and track outreach to workers in those hard-to-find locations. Find more info at codethedream.org/vamos

About 6 months ago

Apprentices and staff also visited #Texas to present at the Midwest Stream Forum! pic.twitter.com/pZZt6XfR3P

About 6 months ago

CTD is sharing Vamos, our outstanding farmworker outreach app, with the world! Our team presented at the NC Farmworker Institute in #Durham. pic.twitter.com/gFUrD3XED7

About 6 months ago

Thanks to the @TheOfficialACM, the Mays Center, and the Dreamer Resource Center at @TAMUSanAntonio for inviting CTD Apprentice Asaia Palacios to inspire #Dreamers and other students to pursue careers in #tech! Big shout out to CTD intern Janet Zulu for making the connection! pic.twitter.com/eWkvniWQwJ

About 6 months ago

Follow @CodeTheDream

Copyright © 2023 Code the Dream · All Rights Reserved · Website by Code the Dream & Tomatillo Design