Git Product home page Git Product logo

javascript30day1's Introduction

Front-End 'Noob' Starter

Use of this starter template assumes that you have a 'complete dev environment' setup - a terminal, Node, VS Code, at least. If not, you may want to start here.


What's Included

  • code style: prettier
  • Code Style. I have adjusted this slightly as per this commit. More may be forthcoming as feedback and PRs trickle in.
  • Stylelint for CSS linting. I am including the 'standard configuration' with some additional rules to keep things alphabetical, indented with 2 spaces, etc.
  • husky will check over code quality with the linters b4 there is a successful commit.
  • webpack to allow the use of modern EcmaScript Modules
  • Various VS Code 'settings' and 'extensions.' Look in the bottom right when you open this up in VS Code to install them.
  • For 'nice' fonts, I recommend using Victor Mono.
  • Kite ๐Ÿช is also included. I personally recommend it, but it's certainly not compulsory to set this up.
  • Probably some other stuff I'm 4getting about for now ๐Ÿคท๐Ÿฝโ€โ™‚๏ธ

How To Use

Run npm i to get all the things installed.

npm run serve will ๐Ÿ”ฅ up an instance of browser-sync. You just write your front-end code and watch things update on your 'local web server.' ๐Ÿฆ„

Meanwhile, you will get alerted whenever there is something 'bad' in your code based on the aforementioned ๐Ÿ‘†๐Ÿฝ linting. ๐Ÿฆ„

๐ŸŽถ

  • For fonts, I set 'Victor Mono' by default. You might also install: 'Inconsolata' or 'Source Code Pro' - or completely change that in .vscode/settings.json, if you know what you are doing! โš ๏ธ
  • As you get more comfortable, of course you can modify all the things as you C fit.
  • One of the included VS Code Extensions allows us to easily alphabetize some parts of our code; for instance, CSS ๐Ÿ’„ rules. Just highlight the appropriate block of rules and press 'F9.' See more deets here.

Questions/Issues

Reach me on Twitter for โ“s or discussion.

If it's an actual issue... open 1.

javascript30day1's People

Contributors

serenarh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.