- create a fork of this repository
- write all of your code in a directory named
lab-+<your name>e.g.lab-brian - push to your repository
- submit a pull request to this repository
- submit a link to your PR in canvas
- write a question and observation on canvas
- Install the following webpack and webpack-dev-server dependencies
webpack@1.14.0webpack-dev-server@1.16.2
.eslintrc.gitignorepackage.json- create an npm
watchscript for runningwebpack-dev-server --inline --hot - create an npm
lintscript for linting your JS witheslint
- create an npm
- ignore the build directory
webpack.config.js
- Create a cowsay application with same criteria as today's lecture demo:
- Create an app/index.html file that contains your HTML markup
- hint: be sure to include the
ng-appdirective to point to your default angular module
- hint: be sure to include the
- Create an app/entry.js to house your application logic
- require in your app/scss/main.scss
- Setup an angular module and create a controller for your application logic
- In your
index.htmlfile, include aninputandpretag that will be used to dynamically update the text of your cow - The
pretag should be a preview, showing the result of what was typed into theinputfield (two way data-binding) - Add custom styles (no wireframe based requirements - just be creative!)
- 1pt add a button that uses the
ng-clickdirective to populate a secondpretag with the currentpretag's state - 1pt add an additional button that uses the
ng-clickdirective to reset the secondpretag with the content it last showed
