diff --git a/.canvas b/.canvas new file mode 100644 index 000000000..a8022dee8 --- /dev/null +++ b/.canvas @@ -0,0 +1,6 @@ +--- +:lessons: +- :id: 218923 + :course_id: 6602 + :canvas_url: https://learning.flatironschool.com/courses/6602/assignments/218923 + :type: assignment diff --git a/.github/workflows/canvas-sync-ruby-update.yml b/.github/workflows/canvas-sync-ruby-update.yml new file mode 100644 index 000000000..f8818dc0c --- /dev/null +++ b/.github/workflows/canvas-sync-ruby-update.yml @@ -0,0 +1,31 @@ +name: Sync with Canvas Ruby v2.7 + +on: + push: + branches: [master, main] + paths: + - 'README.md' + +jobs: + sync: + name: Sync with Canvas + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7 + + - name: Install github-to-canvas + run: gem install github-to-canvas + + # Secret stored in learn-co-curriculum Settings/Secrets + - name: Sync from .canvas file + run: github-to-canvas -a -lr + env: + CANVAS_API_KEY: ${{ secrets.CANVAS_API_KEY }} + CANVAS_API_PATH: ${{ secrets.CANVAS_API_PATH }} diff --git a/.rspec b/.rspec deleted file mode 100644 index 4e902e798..000000000 --- a/.rspec +++ /dev/null @@ -1,3 +0,0 @@ ---color ---require spec_helper ---fail-fast \ No newline at end of file diff --git a/Gemfile b/Gemfile deleted file mode 100644 index f33b65128..000000000 --- a/Gemfile +++ /dev/null @@ -1,6 +0,0 @@ -source "https://rubygems.org" - -gem 'rspec' -gem 'nokogiri' -gem 'pry' -gem 'css_parser' diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 91c92a1fe..000000000 --- a/Gemfile.lock +++ /dev/null @@ -1,42 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - addressable (2.5.2) - public_suffix (>= 2.0.2, < 4.0) - coderay (1.1.2) - css_parser (1.6.0) - addressable - diff-lcs (1.3) - method_source (0.9.0) - mini_portile2 (2.3.0) - nokogiri (1.8.2) - mini_portile2 (~> 2.3.0) - pry (0.11.3) - coderay (~> 1.1.0) - method_source (~> 0.9.0) - public_suffix (3.0.2) - rspec (3.7.0) - rspec-core (~> 3.7.0) - rspec-expectations (~> 3.7.0) - rspec-mocks (~> 3.7.0) - rspec-core (3.7.1) - rspec-support (~> 3.7.0) - rspec-expectations (3.7.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.7.0) - rspec-mocks (3.7.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.7.0) - rspec-support (3.7.1) - -PLATFORMS - ruby - -DEPENDENCIES - css_parser - nokogiri - pry - rspec - -BUNDLED WITH - 1.16.1 diff --git a/README.md b/README.md index e7545301b..0ce49cb39 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Introduction to CSS Lab +# CSS Fundamentals Lab ## Learning Goals @@ -8,16 +8,21 @@ ## Introduction In this lab, we will be adding style to our `index.html` page by linking an -external CSS file. If you open `index.html` in the browser (by either opening -the file with Google Chrome or running `httpserver` on the Learn IDE), you will -see basic HTML that has been provided. The website emulates a basic Real Estate -website (the links on it have been disabled, we will be working with only the -basic `index.html` landing page). +external CSS file. If you open `index.html` in the browser, you will see basic +HTML that has been provided. The website emulates a basic Real Estate website +(the links on it have been disabled, we will be working with only the basic +`index.html` landing page). As you can see, our basic page is rather lackluster. This is where you come in! You will be adding CSS, using selectors, to jazz the page up. All of our CSS should be written in `style.css`. +## Getting Started + +**Fork and clone** this lesson into your local environment. Navigate into its +directory in the terminal, then run `code .` to open the files in Visual Studio +Code. Run `npm test` as you work through this assignment to see your progress. + ## Link an External CSS File As usual, we need to make sure our HTML is loading our style sheet. @@ -25,43 +30,43 @@ As usual, we need to make sure our HTML is loading our style sheet. We have two options: 1. Write CSS rules inside of a `