@@ -51,10 +51,10 @@ <h3 class="mt-10">HTML</h3>
5151 class ="html-source overflow-x-scroll lg:rounded-lg shadow-lg bg-gray-800 text-gray-100 p-5 mt-5 -mx-2 "
5252 > </ pre >
5353 < template >
54- < div class ="js-mirroring ">
55- < input class ="src border " placeholder ="Type something " />
56- < p class ="dest "> </ p >
57- </ div >
54+ < div class ="js-mirroring ">
55+ < input class ="src border " placeholder ="Type something " />
56+ < p class ="dest "> </ p >
57+ </ div >
5858 </ template >
5959 < h3 class ="mt-10 "> Result</ h3 >
6060 < div class ="result border rounded-lg p-5 mt-5 "> </ div >
@@ -102,16 +102,16 @@ <h2 class="text-lg font-medium">Event delegation example</h2>
102102 pattern.
103103 </ p >
104104 < template >
105- < div class ="js-delegation ">
106- < button class ="btn border rounded p-2 m-2 "> btn</ button >
107- < p >
108- The event handler is bound to wrapper div (.delegation-example), but
109- the handler is only triggered when the event targeted to '.btn'
110- element.
111- </ p >
112- < hr class ="my-3 " />
113- < div class ="result "> </ div >
114- </ div >
105+ < div class ="js-delegation ">
106+ < button class ="btn border rounded p-2 m-2 "> btn</ button >
107+ < p >
108+ The event handler is bound to wrapper div (.delegation-example), but
109+ the handler is only triggered when the event targeted to '.btn'
110+ element.
111+ </ p >
112+ < hr class ="my-3 " />
113+ < div class ="result "> </ div >
114+ </ div >
115115 </ template >
116116 < h3 class ="mt-10 "> JS</ h3 >
117117 < pre
@@ -174,8 +174,7 @@ <h2 class="text-lg font-medium">Prevent default example</h2>
174174 '.e' prop.
175175 </ p >
176176 < template >
177- < a href ="https://google.com " class ="js-prevent-default-example underline "
178- > Link</ a >
177+ < a href ="https://google.com " class ="js-prevent-default-example underline "> Link</ a >
179178 </ template >
180179 < h3 class ="mt-10 "> JS</ h3 >
181180 < pre
0 commit comments