Project template for single page websites with HTML, SASS and JS (with jQuery).
- Just created;
- Almost perfect.
- Index file on pure html;
- SASS styles:
- Layout parts (header, modal, footer);
- Resources (breakpoints, colors, fonts, null style);
- Mixin for responsive font sizes;
- JavaScript:
- Import jQuery;
- Burger menu function;
- Function for a modal window with a form;
- PHP:
- Import PHPMailer;
- Configuration file for sending emails.
- Create and fill
.html
files; - Write styles in
style.scss
; - Make some magic with your godlike JS;
- Fill all necessary fields in
send.php
; - Check TODO to make sure you've done your best;
- ???
- Get cash and enjoy!
- WebStorm doesn't understand
-webkit-fill-available
inheader.scss
, but it's alright; - Webstorm reports a reference to a variable, mixin, or function that is declared in another file but this file isn't
explicitly imported in the current file:
Element '$variable' is resolved only by name without use of explicit imports
.
Go toFile
>Settings
>Editor
>Inspections
>Sass/SCSS
and uncheckMissing import
(orResolved by name only
on older versions) - Some styles are overwritten, but that's done for better reliability in cross-platform
- Make better content example (with lots of useful JS libraries)
- Make React starter-kit in new branch