Hello,
A student said her lines of code are too long to fit onto the page in portrait view for her pdf, even with a 10 point font. Is it OK to use landscape view for the Create PT?
She could cut lines of code into multiple lines.
// break long function calls up by putting each parameter
// on a separate line with an indent. Also, break up long
// comments across multiple lines.
someFunction(
someParameter,
someOtherParameter,
yetAnotherParameter);
// Break up long strings across lines with +
console.log("Some very very very very very very"
+ " very very long string: "
+ someVariable
+ ".");
2 Likes