From 050a611d36a1097ed5c03b64d38465e678844e62 Mon Sep 17 00:00:00 2001 From: Simon Hafner Date: Mon, 29 Jun 2020 20:28:23 +0200 Subject: [PATCH 01/49] Update tutorial.md I had a student get confused here, so I added a bit of information. --- js/lesson1/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lesson1/tutorial.md b/js/lesson1/tutorial.md index 38daf5e9..35553051 100644 --- a/js/lesson1/tutorial.md +++ b/js/lesson1/tutorial.md @@ -82,7 +82,7 @@ Let's move on to writing code in a file. Type the same `console.log` line into your `script.js` file. Save and reload the page in your browser so that it can read the change you made. -This time, you should just see the line that says `Hello!`, and not +This time, you should just see the line that says `Hello!` in the browser console, and not the lines that said `console.log('Hello!');` or `undefined` with arrows next to them. That's because you didn't type the JavaScript into the console this time. From a7b2ec9257706f23ce1e82089255e160105bc97e Mon Sep 17 00:00:00 2001 From: Kimberley Cook Date: Wed, 22 Jul 2020 10:09:59 +0100 Subject: [PATCH 02/49] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 766addf4..cf072cbd 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username -custom: ["https://codebar.io/donations/new"] +custom: ["https://codebar.enthuse.com/donate/#!/"] From 6c2e6d42f4191dad4ac8689adb029feb0a4dfc00 Mon Sep 17 00:00:00 2001 From: Germain Date: Thu, 11 Mar 2021 08:34:06 +0000 Subject: [PATCH 03/49] fix: call hangman API over HTTPS Browsers now enforce some stricter mixed content rules which blocks HTTP requests when the page is loaded over HTTPS --- examples/hangman/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/hangman/script.js b/examples/hangman/script.js index cb7ee61f..11e71277 100644 --- a/examples/hangman/script.js +++ b/examples/hangman/script.js @@ -1,7 +1,7 @@ function newGame() { $.ajax({ type: "POST", - url: "http://hangman-api.herokuapp.com/hangman", + url: "https://hangman-api.herokuapp.com/hangman", }).done(function(data) { $('.hangman-word').text(data.hangman); $('.token').text(data.token); @@ -14,7 +14,7 @@ function guess(token, letter) { $.ajax({ type: "PUT", dataType: 'json', - url: "http://hangman-api.herokuapp.com/hangman", + url: "https://hangman-api.herokuapp.com/hangman", data: { "token": token, "letter": letter}, beforeSend: function() { $(".letter").prop('disabled', true); @@ -42,7 +42,7 @@ function getSolution(token) { $.ajax({ type: "GET", dataType: 'json', - url: "http://hangman-api.herokuapp.com/hangman", + url: "https://hangman-api.herokuapp.com/hangman", data: { "token": token }, }).done(function(data) { var hangman_word = $('.hangman-word').text(); From ef21177f2597ce4c36c6c326ab5cc6f15df796b2 Mon Sep 17 00:00:00 2001 From: Kimberley Cook Date: Mon, 12 Apr 2021 12:21:38 +0100 Subject: [PATCH 04/49] phase 1 - restructure homepage --- _config.yml | 1 + index.html | 47 +++++++++++++++++++++++------------------- stylesheets/styles.css | 12 +++++++++-- 3 files changed, 37 insertions(+), 23 deletions(-) diff --git a/_config.yml b/_config.yml index fffe3e98..87e0749f 100644 --- a/_config.yml +++ b/_config.yml @@ -13,3 +13,4 @@ exclude: [ "node_modules" ] livereload: true +exclude: [vendor] diff --git a/index.html b/index.html index b565918f..c45ddaeb 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,9 @@

Guides

  • How to use Discord for codebar's virtual workshops
  • -

    HTML & CSS

    +

    Frontend

    + +

    HTML & CSS

    -

    JavaScript

    +

    JavaScript

    -

    Ruby

    +

    Backend

    + +

    Ruby

    -

    Python

    +

    Python

    -

    Other Recommended Python Resources

    +

    Other Recommended Python Resources

    -

    Android

    +

    PHP

    +

    If you are just getting started quickly and easily with PHP, we recommend using Cloud9, as setting up your local environment can be time consuming.

    + + + +

    Apps

    + +

    Android

    Available only at special codebar android workshops! Materials over at https://codebar.github.io/android-tutorials/

    -

    iOS

    +

    iOS

    Available only at special codebar iOS workshops! Materials over at https://codebar.github.io/ios-tutorials/

    -

    PHP

    -

    Getting your PHP environment set up can be complicated. We've summarized the - simplest solutions in our simple guide to using PHP

    +

    General

    +

    Version Control

    -

    Command Line

    +

    Command Line

    -

    Version Control

    - - -

    Other Useful Resources

    +

    Other Useful Resources

    The following resources can be helpful to continue learning. They all have content related to the topics listed above.