Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

goodluck!

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.