Posting Work

How to Turn in an Assignment

You've completed an assignment and need to post it to your website. What now?

STEP 1: Find your class website folder on your local computer
  • You should have a copy of your class website somewhere on your computer. If you haven't created a website yet, follow the steps here to make one.
  • Open the folder. If you follow the template, it will be called 140.
STEP 2: Get the link to your p5.js sketch
  • After you've created a sketch in the p5 editor, make sure you've logged in and saved it.
  • After saving the file, share it.


  • Copy the link in the "Present" field.


STEP 3: Add the link to your homepage
  • Paste the link into your index.html page for the class.
  • To do this, first open your index.html file in a text editor (like Sublime, Brackets, BBEdit, etc...).


  • Then add a line of code similar to the one below in the body tag. Paste the link between the quotes after href.
    <a href="https://editor.p5js.org/playfulsystems/present/iEnE8ARLX">1.0 Exercise</a><br>
  • Save the html page.
  • Open the index.html page in a browser and make sure the link works.
STEP 5: Update your site via FTP
  • Use Cyberduck or some other FTP program to update your class site on mywebspace (so it matches what you have locally). If you need help, follow the instructions here. You can skip STEP 1.


STEP 6: Test the site
  • Open a browser pointing at your class site (you can click on your name from the class website's Students page), refresh the page, and check to see if the link works.