Results: 1021
Shows the current version of NPM
npm --version
Short version of the above command
npm -v
what is NPM used for
install/uninstall modules/packages
create & share modules
use packages created by other developers
manage dependencies & versioning
Starts the process
git bisect start
We can add part of changes (from the same file) to the staging area and not to add the rest of the changes
git add -p
It will ask us interactively whether we want to add each individual changes to the staging area or not
y
means yes,
n
means no
git log --graph
Draw a text-based graphical representation of the commit history on the left hand side of the output. This may cause extra lines to be printed in between commits, in order for the graph history to be drawn properly
git log --oneline --all --graph
When --graph is not used, all history branches are flattened which can make it hard to see that the two consecutive commits do not belong to a linear branch
Deletes the last 3 commits
git reset --hard HEAD~3
Deletes all commits after the specified commit and moves HEAD to that commit (this will get rid of changes so we should be careful)
git reset --hard 004caa3
$spaceamounts: (1, 2, 3, 4, 5);

@each $space in $spaceamounts {
    .m-#{$space} {
        margin: #{$space}rem;
    }
}
$sizes: 40px, 50px, 80px;

@each $size in $sizes {
  .icon-#{$size} {
    font-size: $size;
    height: $size;
    width: $size;
  }
}
Setting text color using the container's background-color:
// set text color based on bg
@function set-text-color($color) {
    @if (lightness($color) > 70) {
        @return #333;
    } @else {
        @return #fff;
    }
}

// set bg color & text color
@mixin set-background($color) {
    background-color: $color;
    color: set-text-color($color);
}
Use the mixin - "set-background"
h1 {
    @include set-background($primary-color);
}
Changing bg-color effect on text-color: https://youtu.be/nu5mdN2JIwM?t=2333
Results: 1021