File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2626 < li > < a href ="shop.html "> Shop</ a > </ li >
2727 < li > < a href ="blog.html "> Blog</ a > </ li >
2828 < li > < a href ="about.html "> About</ a > </ li >
29- < li > < a href ="contact.html "> Contact me </ a > </ li >
29+ < li > < a href ="contact.html "> Contact Us </ a > </ li >
3030 </ ul >
3131 </ nav >
3232 < div class ="header-list-icon ">
@@ -355,7 +355,7 @@ <h3>Sign Up For Newsletters</h3>
355355 < h5 > get e-mail updates about out latest shop and < span > special offers</ span > </ h5 >
356356 </ div >
357357 < div class ="form ">
358- < input type ="email " placeholder ="Your email address ">
358+ < input type ="email " placeholder ="Your email address " id =" email-address-input " >
359359 < button > Sign Up</ button >
360360 </ div >
361361 </ section >
Original file line number Diff line number Diff line change 1+ // focus the cursor on the email-address input
2+ const emailField = document . getElementById ( "email-address-input" ) ;
3+ emailField . focus ( {
4+ preventScroll : true ,
5+ } ) ;
You can’t perform that action at this time.
0 commit comments