Code Monkey home page Code Monkey logo

05-form-building's Introduction

CF Lab 05: Form Building Workshop

Submission Instructions

Follow the submission instructions from Lab 01.

Resources

HighlightJS Docs

MarkedJS Docs

Configuration

Your repository must include:

05-form-building
├── .eslintrc.json
├── .gitignore
├── LICENSE
├── README.md
├── index.html
├── new.html
├── scripts
│   ├── article.js
│   ├── articleView.js
│   └── blogArticles.js
├── styles
│   ├── base.css
│   ├── fonts
│   │   ├── icomoon.eot
│   │   ├── icomoon.svg
│   │   ├── icomoon.ttf
│   │   └── icomoon.woff
│   ├── icons.css
│   ├── layout.css
│   └── modules.css
└── vendor
    └── styles
        ├── default.css
        ├── normalize.css
        └── railscasts.css

Feature Tasks

  • Continue styling the app using SMACSS practices. Take a few minutes for code review of your partner's CSS and decide how to incorporate it into your paired lab. You can choose one partner's CSS structure, or you can combine them as you see fit. Seek to optimize and organize your CSS as much as possible!

As a user, I want to be able to add new articles to my blog app so that it can stay current over time.

  • Review the image preview.png in the lab directory to get an idea of what we will be building.
  • Focus on the functionality of adding a new article through a form submission by completing the TODOs in articleView.js.
  • The new page with the form should provide a JSON string which can be copy/pasted into the data file to add articles to the blog.

As a developer, I want to make the user experience easy to understand so that the user will want to return to the blog.

  • We now have two pages in our blog app, each of which need different initialization. There is a skeleton of a method in articleView.js to get this started for the new page; be sure to examine how this is now being done for the index page.
  • The new page with the form will need event handling and a template. Where should these pieces go in the code?
  • The new page should not display any other articles

Stretch Goal

As a user, I want to add highlighting and Markdown formatting so that it is attractive to guests visiting my app.

  • We have two new libraries that we can add: HighlightJS (provides syntax highlighting of code blocks) and MarkedJS (allows use of Markdown format text). Link to (or include) these two libraries and implement them.

Documentation

Your README.md must include:

# Project Name
Form Building


**Author**: Joe Waine
**Version**: 1.0.0 (increment the patch/fix version number up if you make more commits past your first submission)

## Overview
<!-- Provide a high level overview of what this application is and why you are building it, beyond the fact that it's an assignment for a Code Fellows 301 class. (i.e. What's your problem domain?) -->
This application saves a draft of an article in our blog on a new page called new.html by giving us the opportunity to copy a json snippet. This will be useful when the next part of this project comes along (adding a persistence layer)


## Getting Started
<!-- What are the steps that a user must take in order to build this app on their own machine and get it running? -->
live server is a great package that will help you preview changes on the fly.
atom text editor is also very handy.


## Architecture
<!-- Provide a detailed description of the application design. What technologies (languages, libraries, etc) you're using, and any other relevant design information. -->
i am working on a copied directory called JOE - it copis from the starter files.

## Change Log
<!-- Use this are to document the iterative changes made to your application as each feature is successfully implemented. Use time stamps. Here's an examples:
no changes yet!


01-01-2001 4:59pm - Application now has a fully-functional express server, with GET and POST routes for the book resource.

## Credits and Collaborations
<!-- Give credit (and a link) to other people or resources that helped you build this application. -->
-->

05-form-building's People

Contributors

comradejoseph avatar joewaine avatar

Watchers

James Cloos avatar  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.