Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating ruby sass to node sass #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions class1.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h3>Tools</h3>
<h3>Terms</h3>
<ul>
<li>
<div><span class="green">Ruby:</span> A programming language</div><br>
<div><span class="green">Node:</span> A programming language</div><br>
</li>
<li>
<div><span class="green">Preprocessor:</span> A computer program that modifies data to conform with the input requirements of another program.
Expand Down Expand Up @@ -228,22 +228,25 @@ <h3>Command Line Tips</h3>
<!-- Install Sass -->
<section>
<h3>Installing Sass</h3>
<div class="left-align">First, we need to install <span class="red">Ruby</span>:
<div class="left-align">First, we need to install <span class="red">Node</span>:
<ul>
<li>Download for Windows: <a target="_blank" href="http://rubyinstaller.org/">rubyinstaller.org</a></li>
<li>Mac users: you're in luck! Mac OS X comes pre-installed with Ruby. Try the following command in Terminal to make sure: </li>
<li>Download for Windows and Mac: <a target="_blank" href="https://nodejs.org/en/download/">https://nodejs.org/en/download/</a></li>
<li>Check that Node installed correctly </li>
<pre><code contenteditable class ="command-line">node -v</code></pre>
<li>Check that NPM installed correctly </li>
<pre><code contenteditable class ="command-line">npm -v</code></pre>
</ul>
<pre><code contenteditable class ="command-line">ruby -v</code></pre>

</div>
</section>

<!-- Variables-->
<section>
<h3>Installing Sass</h3>
<div class = " left-align">
<p>Now that Ruby is installed, we can install the Sass gem.</p>
<p>Now that Node is installed, we can install Sass.</p>
<p>In Terminal or Git Bash:</p>
<pre><code contenteditable class ="command-line">gem install sass</code></pre>
<pre><code contenteditable class ="command-line">npm install -g sass</code></pre>
</div>
<p class="fragment"><img src="images/confetti.gif" style="border: 0; width: 600px; height: 300px; box-shadow: none;"></p>
</section>
Expand Down