Code Monkey home page Code Monkey logo

tech-doc's Introduction

ES6 Technical Documentation

Description

This website is a reference for some of ES6's new features. It is a project required by freeCodeCamp's Responsive Web Design curriculum. It fulfills the user stories listed here.

Demo

Check out the live site here: https://eunicode.github.io/tech-doc/

Tech stack

  • HTML, CSS, JavaScript

Features

  • Responsive, mobile-first layout with progressive enhancement

Lessons learned

  • How to position items with grid lines
  • How to position items with grid-areas and grid-template-areas
  • How to make a sticky footer with Grid
  • How to use AJAX (XHR API) to load JSON from local files
  • AJAX requests only work through a web server
  • You can't get JavaScript or JavaScript files with XHR/Fetch; use JSON
  • How to use AJAX with promises
  • How to make HTTP requests with Fetch API
  • How to chain promises (then()), handle errors(reject/reject(), onRejected, ), and catch errors (catch())
  • How to extract JSON from Response object (HTTP response) -Body.json()
  • How to export/import promises with ES6 modules
  • How to generate DOM elements from data
  • How to use relative paths with HTTP requests and ES6 modules

Set Up

Download/clone repo

Move to project folder

cd portfolio-js

Install dependencies

npm install

Run the default gulp command to start the live server

gulp

When finished developing, stop the server

Ctrl + C

To deploy to GitHub Pages, run npm script

npm run deploy

To audit/update npm packages

npm audit
npm audit fix

npm update
npm outdated

tech-doc's People

Contributors

eunicode avatar

Stargazers

Roman 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.