{"schemaVersion":1,"contentVersion":"3.4.0","id":"intermediate.18","languages":{"javascript":{"id":"intermediate.18","title":"Optional: markup objects","moduleName":"Optional extensions","tips":"","concept":"<p class=\"lead\">Edit the inside of an element or remove its tags deliberately.</p><p><strong>Before this lesson:</strong> Paired objects.</p><p>These are HTML fragments in every example-language setting. it names an element’s contents; at includes its opening and closing tags. Start inside the intended element. Nested elements make the intended pair important; markup practice is optional.</p><h3>Example</h3><p>From inside &lt;em&gt;draft&lt;/em&gt;, cit then final then Esc keeps the em tags. cat replaces the whole element.</p><p>Use Reset to try again.</p>","teaches":["textobject:it","textobject:at"],"introduces":["textobject"],"constraints":[],"drills":[{"task":"In this optional HTML fragment, replace the intended element as shown. Preserve the outer structure and archive.","hint":"Compare the complete target, including spaces, delimiters and protected lines. Undo is available.","mode":"jsx","start":"<section><p><em>old note</em></p><p>Keep archive</p></section>","startCursor":{"line":0,"ch":17},"paths":[{"keys":["c","i","t","new note","<Esc>"],"tier":"idiomatic","technique":"textobject:it","core":["textobject:it"],"note":"The inside form preserves the selected element’s tags; around includes those tags."}],"target":"<section><p><em>new note</em></p><p>Keep archive</p></section>","language":"markup","specialization":"markup","evidence":"guided","canonicalKey":"intermediate.18#0","canonicalFingerprint":"fwgxku"},{"task":"In this optional HTML fragment, replace the intended element as shown. Preserve the outer structure and archive.","hint":"Compare the complete target, including spaces, delimiters and protected lines. Undo is available.","mode":"jsx","start":"<section><p><em>old note</em></p><p>Keep archive</p></section>","startCursor":{"line":0,"ch":17},"paths":[{"keys":["c","a","t","new note","<Esc>"],"tier":"idiomatic","technique":"textobject:at","core":["textobject:at"],"note":"The inside form preserves the selected element’s tags; around includes those tags."}],"target":"<section><p>new note</p><p>Keep archive</p></section>","language":"markup","specialization":"markup","evidence":"guided","canonicalKey":"intermediate.18#1","canonicalFingerprint":"1apxfap"}]},"python":{"id":"intermediate.18","title":"Optional: markup objects","moduleName":"Optional extensions","tips":"","concept":"<p class=\"lead\">Edit the inside of an element or remove its tags deliberately.</p><p><strong>Before this lesson:</strong> Paired objects.</p><p>These are HTML fragments in every example-language setting. it names an element’s contents; at includes its opening and closing tags. Start inside the intended element. Nested elements make the intended pair important; markup practice is optional.</p><h3>Example</h3><p>From inside &lt;em&gt;draft&lt;/em&gt;, cit then final then Esc keeps the em tags. cat replaces the whole element.</p><p>Use Reset to try again.</p>","teaches":["textobject:it","textobject:at"],"introduces":["textobject"],"constraints":[],"drills":[{"task":"In this optional HTML fragment, replace the intended element as shown. Preserve the outer structure and archive.","hint":"Compare the complete target, including spaces, delimiters and protected lines. Undo is available.","mode":"jsx","start":"<section><p><em>old note</em></p><p>Keep archive</p></section>","startCursor":{"line":0,"ch":17},"paths":[{"keys":["c","i","t","new note","<Esc>"],"tier":"idiomatic","technique":"textobject:it","core":["textobject:it"],"note":"The inside form preserves the selected element’s tags; around includes those tags."}],"target":"<section><p><em>new note</em></p><p>Keep archive</p></section>","language":"markup","specialization":"markup","evidence":"guided","canonicalKey":"intermediate.18#0","canonicalFingerprint":"fwgxku"},{"task":"In this optional HTML fragment, replace the intended element as shown. Preserve the outer structure and archive.","hint":"Compare the complete target, including spaces, delimiters and protected lines. Undo is available.","mode":"jsx","start":"<section><p><em>old note</em></p><p>Keep archive</p></section>","startCursor":{"line":0,"ch":17},"paths":[{"keys":["c","a","t","new note","<Esc>"],"tier":"idiomatic","technique":"textobject:at","core":["textobject:at"],"note":"The inside form preserves the selected element’s tags; around includes those tags."}],"target":"<section><p>new note</p><p>Keep archive</p></section>","language":"markup","specialization":"markup","evidence":"guided","canonicalKey":"intermediate.18#1","canonicalFingerprint":"1apxfap"}]},"text":{"id":"intermediate.18","title":"Optional: markup objects","moduleName":"Optional extensions","tips":"","concept":"<p class=\"lead\">Edit the inside of an element or remove its tags deliberately.</p><p><strong>Before this lesson:</strong> Paired objects.</p><p>These are HTML fragments in every example-language setting. it names an element’s contents; at includes its opening and closing tags. Start inside the intended element. Nested elements make the intended pair important; markup practice is optional.</p><h3>Example</h3><p>From inside &lt;em&gt;draft&lt;/em&gt;, cit then final then Esc keeps the em tags. cat replaces the whole element.</p><p>Use Reset to try again.</p>","teaches":["textobject:it","textobject:at"],"introduces":["textobject"],"constraints":[],"drills":[{"task":"In this optional HTML fragment, replace the intended element as shown. Preserve the outer structure and archive.","hint":"Compare the complete target, including spaces, delimiters and protected lines. Undo is available.","mode":"jsx","start":"<section><p><em>old note</em></p><p>Keep archive</p></section>","startCursor":{"line":0,"ch":17},"paths":[{"keys":["c","i","t","new note","<Esc>"],"tier":"idiomatic","technique":"textobject:it","core":["textobject:it"],"note":"The inside form preserves the selected element’s tags; around includes those tags."}],"target":"<section><p><em>new note</em></p><p>Keep archive</p></section>","language":"markup","specialization":"markup","evidence":"guided","canonicalKey":"intermediate.18#0","canonicalFingerprint":"fwgxku"},{"task":"In this optional HTML fragment, replace the intended element as shown. Preserve the outer structure and archive.","hint":"Compare the complete target, including spaces, delimiters and protected lines. Undo is available.","mode":"jsx","start":"<section><p><em>old note</em></p><p>Keep archive</p></section>","startCursor":{"line":0,"ch":17},"paths":[{"keys":["c","a","t","new note","<Esc>"],"tier":"idiomatic","technique":"textobject:at","core":["textobject:at"],"note":"The inside form preserves the selected element’s tags; around includes those tags."}],"target":"<section><p>new note</p><p>Keep archive</p></section>","language":"markup","specialization":"markup","evidence":"guided","canonicalKey":"intermediate.18#1","canonicalFingerprint":"1apxfap"}]}}}