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 trial

JavaScript

ricky ebanks
ricky ebanks
1,212 Points

Not getting updated HTML in console during Display the Value of a String on a Page?

The console only shows the body but not the whole html update? but if i type document.querySelector('main'); then enter it does?? Everything went well just wanted to know why it doesnt update in the element section of my console like it does for the teacher. Might not be a big deal but had to ask? Thanks

1 Answer

Steven Parker
Steven Parker
231,007 Points

If you're using the workspace, to see any changes you make you must first save the edits (with the menu or the control-S shortcut) and then refresh your browser.

It the instructor uses keyboard shortcuts for the saving and/or refresh, it might not be obvious in the video.