A collection of links to the "Master the JavaScript Interview" series of medium stories by Eric Elliott.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <!-- | |
| Phone Tablet Desktop | |
| Variable em px Query Port Land Port Land | |
| ------------------------------------------------------------------------------------------------------------------ | |
| By default you should not write any media query at all. So, the first X X | X X | X | |
| CSS definitions in your CSS file will apply to all devices unless you | | | |
| have additional media queries defined afterward. | | | |
| ------------------------------------------------------------------------------------------------------------------ | |
| $sm-min-width 35.5em 568px min-width: 35.5em X | X X | X |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*================================================== | |
| = Bootstrap 3 Media Queries = | |
| ==================================================*/ | |
| /*========== Mobile First Method ==========*/ | |
| /* Custom, iPhone Retina */ | |
| @media only screen and (min-width : 320px) { | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form action="/"> | |
| <legend>A Sample Form Legend</legend> | |
| <label for="name">Name: </label> | |
| <input type="text" value="Name" name="Name" /> | |
| <label for="email">Email: </label> | |
| <input type="email" value="Email" name="Email" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |