Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMariela Napoles
13,434 PointsUnderstanding '.responseText'
Im having a hard time understanding '.responseText'. Can someone explain what value does it return in general?Ive been trying to read from MDN and related results from a google search but I cant understand. Thank you so much.
1 Answer
Steven Parker
231,236 PointsThe responseText is just a string with the response info in it, human-readable and suitable for display.
A little experimentation can sometimes be more valuable than a lot of documentation, try logging it to the console and do a few test operations.