Mackoyokcam / 26-react-cowsay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

401 JS -- Lab 26 Cowsay

Submission Instructions

  • Work in a fork of this repository
  • Work in a branch on your fork
  • Write all of your code in a directory named lab- + <your name> e.g. lab-duncan
  • Submit a pull request to this repository
  • Submit a link to your pull request on canvas
  • Submit a question, observation, and how long you spent on canvas

Resources

Requirements

Configuration

Your lab directory must include

  • README.md -- with a documention about your lab
  • .gitignore -- with a robust gitignore
  • .eslintrc -- with the class .eslintrc file
  • .eslintignore -- with the class .eslintignore
  • .babelrc -- with all dependencies and dev-dependencies
  • package.json -- with all dependencies and dev-dependencies
  • webpack.config.js -- with webpack config
  • src/ -- conating the froned code
  • src/main.js -- containing the entire app
  • src/style -- containing your sass
  • src/style/main.scss -- containing the styles

Feature Tasks

Create the following component

App
  • Should contain the entire application's view and state
  • Should have a property on the state called content
  • Should create a view with the following display
    • A heading with the title "Generate Cowsay Lorem"
    • A Button that displays "click me"
      • onClick the button should generate new content on the app state using cowsay and faker
    • A pre tag that displays the App's state's content

Documentation

Write a description of the project in your README.md

Bonus

  • 1pt add an input that allows you to dynamicly change the cowsay speach bubble text
  • 1pt add a select menu that enables you to change the type of cowfile currently being used

About


Languages

Language:JavaScript 96.7%Language:HTML 3.3%