diff --git a/config.yaml b/config.yaml index 212cb4b7c..b0b4b81ea 100644 --- a/config.yaml +++ b/config.yaml @@ -58,7 +58,7 @@ contact: 'team@carpentries.org' # - another-learner.md # Order of episodes in your lesson -episodes: +episodes: - 01-run-quit.md - 02-variables.md - 03-types-conversion.md @@ -81,13 +81,13 @@ episodes: - 20-feedback.md # Information for Learners -learners: +learners: # Information for Instructors -instructors: +instructors: # Learner Profiles -profiles: +profiles: # Customisation --------------------------------------------- # @@ -95,6 +95,6 @@ profiles: # sandpaper and varnish versions) should live -url: 'https://swcarpentry.github.io/python-novice-gapminder' +url: 'https://domonik.github.io/python-novice' analytics: carpentries lang: en diff --git a/episodes/01-run-quit.md b/episodes/01-run-quit.md index 54763a8d0..8f109c01f 100644 --- a/episodes/01-run-quit.md +++ b/episodes/01-run-quit.md @@ -568,3 +568,4 @@ Practice closing and restarting the JupyterLab server. :::::::::::::::::::::::::::::::::::::::::::::::::: + diff --git a/episodes/02-variables.md b/episodes/02-variables.md index 561406f8a..15b125889 100644 --- a/episodes/02-variables.md +++ b/episodes/02-variables.md @@ -3,6 +3,7 @@ title: Variables and Assignment teaching: 10 exercises: 10 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/03-types-conversion.md b/episodes/03-types-conversion.md index f20125577..2417f2dbb 100644 --- a/episodes/03-types-conversion.md +++ b/episodes/03-types-conversion.md @@ -3,6 +3,7 @@ title: Data Types and Type Conversion teaching: 10 exercises: 10 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/04-built-in.md b/episodes/04-built-in.md index e11685be7..fa9a55e6a 100644 --- a/episodes/04-built-in.md +++ b/episodes/04-built-in.md @@ -3,6 +3,7 @@ title: Built-in Functions and Help teaching: 15 exercises: 10 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/05-coffee.md b/episodes/05-coffee.md index 366017b40..6d8c523e8 100644 --- a/episodes/05-coffee.md +++ b/episodes/05-coffee.md @@ -4,6 +4,7 @@ teaching: 0 exercises: 0 break: 15 --- + ## Reflection exercise diff --git a/episodes/06-libraries.md b/episodes/06-libraries.md index b6d23d4b4..595729402 100644 --- a/episodes/06-libraries.md +++ b/episodes/06-libraries.md @@ -3,6 +3,7 @@ title: Libraries teaching: 10 exercises: 10 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/07-reading-tabular.md b/episodes/07-reading-tabular.md index d4cc4c37e..cd4fb1abf 100644 --- a/episodes/07-reading-tabular.md +++ b/episodes/07-reading-tabular.md @@ -3,6 +3,7 @@ title: Reading Tabular Data into DataFrames teaching: 10 exercises: 10 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/08-data-frames.md b/episodes/08-data-frames.md index b57e4ff6d..957f12bff 100644 --- a/episodes/08-data-frames.md +++ b/episodes/08-data-frames.md @@ -3,6 +3,7 @@ title: Pandas DataFrames teaching: 15 exercises: 15 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/09-plotting.md b/episodes/09-plotting.md index fad27e001..37bbc34e0 100644 --- a/episodes/09-plotting.md +++ b/episodes/09-plotting.md @@ -3,6 +3,7 @@ title: Plotting teaching: 15 exercises: 15 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/10-lunch.md b/episodes/10-lunch.md index f786db36a..f1df9a9ba 100644 --- a/episodes/10-lunch.md +++ b/episodes/10-lunch.md @@ -4,6 +4,7 @@ teaching: 0 exercises: 0 break: 45 --- + Over lunch, reflect on and discuss the following: diff --git a/episodes/11-lists.md b/episodes/11-lists.md index a7b07e5a0..882c67489 100644 --- a/episodes/11-lists.md +++ b/episodes/11-lists.md @@ -3,6 +3,7 @@ title: Lists teaching: 10 exercises: 10 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/12-for-loops.md b/episodes/12-for-loops.md index c73f9ced2..5a2569433 100644 --- a/episodes/12-for-loops.md +++ b/episodes/12-for-loops.md @@ -3,6 +3,7 @@ title: For Loops teaching: 10 exercises: 15 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/13-conditionals.md b/episodes/13-conditionals.md index 217eca25b..da56763a8 100644 --- a/episodes/13-conditionals.md +++ b/episodes/13-conditionals.md @@ -3,6 +3,7 @@ title: Conditionals teaching: 10 exercises: 15 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/14-looping-data-sets.md b/episodes/14-looping-data-sets.md index 94d7ddbe4..2eca1fb41 100644 --- a/episodes/14-looping-data-sets.md +++ b/episodes/14-looping-data-sets.md @@ -3,6 +3,7 @@ title: Looping Over Data Sets teaching: 5 exercises: 10 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/15-coffee.md b/episodes/15-coffee.md index 2cb1ddc11..a793a18e1 100644 --- a/episodes/15-coffee.md +++ b/episodes/15-coffee.md @@ -4,6 +4,7 @@ teaching: 0 exercises: 0 break: 15 --- + ## Reflection exercise diff --git a/episodes/16-writing-functions.md b/episodes/16-writing-functions.md index a2f599d0f..a9861b258 100644 --- a/episodes/16-writing-functions.md +++ b/episodes/16-writing-functions.md @@ -3,6 +3,7 @@ title: Writing Functions teaching: 10 exercises: 15 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/17-scope.md b/episodes/17-scope.md index afa533b98..f2a3412f4 100644 --- a/episodes/17-scope.md +++ b/episodes/17-scope.md @@ -3,6 +3,7 @@ title: Variable Scope teaching: 10 exercises: 10 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/18-style.md b/episodes/18-style.md index 886093885..6bbf9d5dc 100644 --- a/episodes/18-style.md +++ b/episodes/18-style.md @@ -3,6 +3,7 @@ title: Programming Style teaching: 15 exercises: 15 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/19-wrap.md b/episodes/19-wrap.md index e6cfdf074..52ebc64cc 100644 --- a/episodes/19-wrap.md +++ b/episodes/19-wrap.md @@ -3,6 +3,7 @@ title: Wrap-Up teaching: 20 exercises: 0 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/20-feedback.md b/episodes/20-feedback.md index 37e3060dd..0c64707b1 100644 --- a/episodes/20-feedback.md +++ b/episodes/20-feedback.md @@ -3,6 +3,7 @@ title: Feedback teaching: 0 exercises: 15 --- + ::::::::::::::::::::::::::::::::::::::: objectives diff --git a/episodes/files/additional.js b/episodes/files/additional.js new file mode 100644 index 000000000..dfb4d0ac5 --- /dev/null +++ b/episodes/files/additional.js @@ -0,0 +1,17 @@ +console.log("JS loaded") + +window.onload = function() { + console.log("Running function") + const dropdownButton = document.getElementById('dropdownMenu1'); + dropdownButton.disabled = true; + + console.log("FOOOOO") + console.log(dropdownButton) + if (dropdownButton && dropdownButton.innerText.trim() === 'Learner View') { + const buttons = document.querySelectorAll('.solution-button'); + buttons.forEach(button => { + button.disabled = true; + button.style.opacity = '0.5'; + }); + } +};