Code Monkey home page Code Monkey logo

roadmap-review's Introduction

Instructions:

  • fork
  • run json-server --watch db.json
  • run open solution.html
  • click around in the app, click on the animals, create a new one, update an animal
  • after understanding the features of this app, try to recreate this app
  • use the empty index.html file and index.js file to recreate from scratch
  • check out solution.html and solution.js
  • hot tip: when adding an image for a new animal, right click and "copy image URL" from an image you'd like to use, and make sure the image size isn't too big

Objectives:

  • understand how to slap something small on the DOM
  • iterate to slap multiple things on the dom
  • try working with static data from an array first (such as an array of animals)
  • work with events
  • make our data bigger: slap divs on the dom from objects
  • move to fetching from our db.json
  • understand promises in more detail
  • understand when to use headers
  • understand optimistic/pessimistic rendering

-CRUD: -be able to read things from api/db on the DOM -be able to create a new thing and send it to api/db and to dom -be able to update and delete -modularize and refactor code

Fun little tidbits:

  • when to use += and = with innerHTML
  • try your hand at async await
  • check out ES6 destructuring
  • use the very useful name attribute in forms
  • understand when to use headers
  • use ES6 object property value shorthand
  • work with dataset id's, and understand how to query select using using data-id

roadmap-review's People

Contributors

yberdysh avatar sylwiavargas avatar

Watchers

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