Giter Site home page Giter Site logo

planetoftheweb / codeclinicjs Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 18.0 42.29 MB

Repository for my tutorial course: Code Clinic: JavaScript course on LinkedIn Learning and Lynda.com.

License: MIT License

JavaScript 9.46% CSS 59.60% HTML 30.94%
javascript html tutorial training linkedinlearning lynda-com codeclinic rayvillalobos

codeclinicjs's Introduction

Code Clinic: JavaScript

This is the repository for my course Code Clinic: JavaScript. The full course is available on LinkedIn Learning and Lynda.com

Code Clinic: JavaScript

Instructions

This repository has branches for each of the videos in the course. You can use the branch pop up menu in github to switch to a specific branch and take a look at the course at that stage. Or you can simply add /tree/BRANCH_NAME to the URL to go to the branch you want to peek at.

Branches

The branches are structured so that they correspond to the videos in the course. So, for example if I name a branch 02_03b then that branch corresponds to the second chapter and the third video in that chapter. The extra letter at the end of the name corresponds to the state of the branch. A b means that this is how the code looks at the beginning of the video, an e means that is how the code looked at the end of the video.

You may find additional branches that correspod to other states, so for example, you may see a t, which means this is a target branch. A target branch is something I use during development or updates of a course and it's for a branch that I'm working towards. For the purposes of taking a course, you may ignore any additional branches. The master branch usually has the state of the project as I'm working through it and the final state of the code when I finish the course.

Installing

  1. Make sure you have these installed
  2. Clone this repository into your local machine using the terminal (mac) or Gitbash (PC) > git clone CLONEURL
  3. CD to the folder cd FOLDERNAME
  4. Run > npm install to install the project dependencies
  5. Run > gulp to start live preview server

More Stuff

Check out some of my other courses on LinkedIn Learning and lynda.com. You can follow me on LinkedIn, read my blog, follow me on twitter, or check out my youtube channel.

codeclinicjs's People

Contributors

planetoftheweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

codeclinicjs's Issues

Sort function in getMedian() isn't sorting on value, but on text

Working through your Lynda.com course now, so thanks for that!

I noticed when testing some different sample data though: var test = [1,2,3,10,33]; that it will return 2 instead of 3 as expected since the sorted array when doing myArray.sort() is [1,10,2,3,33]. Upon reading up on Array.sort(), I found that the parameter should be the sort function, not the array you're sorting, so to correctly sort on value, the sorted variable should be more like this I think:

var sorted = myArray.sort(function(a, b) {
    return a > b;
});

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.