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!

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

HTML Introduction to HTML and CSS Getting Familiar with HTML and CSS Building Web Pages with HTML and CSS

Is there a keyboard shortcut for replacing the closing tag content after the opening tag is changed?

The video showed an instantaneous replacement when the instructor clicked on it. What am I missing?

2 Answers

brandon downs
brandon downs
11,577 Points

if you figure one out let me know!

I'm pretty sure that some text editors have that functionality as an extension that you can install. And I know that the website CodePen does that automatically, if you change either the opening or closing tag the other corresponding tag will be changed for you. however I havent figured out how to do that in the treehouse workspaces or on their challenges.

sometimes it seems like they might be doing some editing of the video just to keep things moving along and not waste too much time finding the closing tag and changing that too. But I am not sure exactly


Thanks Brandon. I am also looking for shortcuts in general. Like when inserting new tags or attributes. Don't know if that would only be a function of the specific editor being used to write the html file. Any tips are appreciated.