This forum is now read-only. Please use our new forums at

The NPR API Forum

View Course » View Exercise

448 points
Submitted by
Darin Hoover
almost 4 years ago

19/34 section 03 Instruction question

Question: What does "Escape it" mean in the third section of the instructions?

Here's how it's written:
03 Write a statement to check if feed_title has a value. If so, escape it, add it to '&title=', and then add the whole thing to end of url.

I've seen working code that does not add feed_title to the end of the url, but seems to work anyway.

3 votes


Use the quote() to capture it to prevent any spaces or special characters from causing issues.

686 points
Submitted by
David Rickman
over 3 years ago