Code Print
Code Print
A one-stop shopping browser tool for preparing your code to submit for the AP CSP Performance Tasks.
If you can print a PDF from the browser, this should be everything you need.
▸ Update: nov 13, 2018 (click to expand)
(1) Type (or paste) your code into the big box below. Add titles if you like. Click this button Prettify if you don't see the code being laid out prettily below.
Project Title: U.S. National Park GeneratorOther Text:
var index;
if (category === "small" && filteredSmallNames.length > 0) {
index = randomNumber(0, filteredSmallNames.length - 1);
return {
name: filteredSmallNames[index],
location: filteredSmallLocations[index],
description: filteredSmallDescriptions[index],
image: filteredSmallImages[index]
};
} else if (category === "large" && filteredLargeNames.length > 0) {
index = randomNumber(0, filteredLargeNames.length - 1);
return {
name: filteredLargeNames[index],
location: filteredLargeLocations[index],
description: filteredLargeDescriptions[index],
image: filteredLargeImages[index]
};
(2) Set font size and draw shapes on the code. (3) Hide the controls. (4) Print to PDF from the browser.
Font Size: 12px | Draw Shape: Rect Clear Rect Clear All
Hide/Show Controls Print