├── .devcontainer
└── devcontainer.json
├── .gitignore
├── JavaScript
├── index.html
├── index.js
└── style.css
├── LICENSE.md
├── README.md
├── _quarto.yml
├── cover.png
├── docker
├── Dockerfile
├── build_docker.sh
└── install_dependencies.sh
├── docs
├── images
│ ├── script_tag_hello_world.gif
│ ├── vscode_container.gif
│ ├── vscode_html_template.gif
│ └── vscode_live_server.gif
├── index.html
├── references.html
├── settings.html
└── site_libs
│ ├── bootstrap
│ ├── bootstrap-icons.css
│ ├── bootstrap-icons.woff
│ ├── bootstrap.min.css
│ └── bootstrap.min.js
│ ├── clipboard
│ └── clipboard.min.js
│ ├── quarto-html
│ ├── anchor.min.js
│ ├── popper.min.js
│ ├── quarto-syntax-highlighting.css
│ ├── quarto.js
│ ├── tippy.css
│ └── tippy.umd.min.js
│ ├── quarto-nav
│ ├── headroom.min.js
│ └── quarto-nav.js
│ └── quarto-search
│ ├── autocomplete.umd.js
│ ├── fuse.min.js
│ └── quarto-search.js
├── images
├── script_tag_hello_world.gif
├── script_tag_hello_world.mov
├── vscode_container.gif
├── vscode_container.mov
├── vscode_html_template.gif
├── vscode_html_template.mov
├── vscode_live_server.gif
└── vscode_live_server.mov
├── index.log
├── index.qmd
├── index.tex
├── references.bib
├── references.qmd
├── settings.qmd
├── summary.qmd
└── tutorials.Rproj
/.devcontainer/devcontainer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "tutorials",
3 | "image": "docker.io/rkrispin/tutorial:dev.0.0.0.9000",
4 | "customizations": {
5 | "vscode": {
6 | "settings": {
7 | "python.defaultInterpreterPath": "/opt/conda/envs/tutorial/bin/python"
8 | },
9 | "extensions": [
10 | "quarto.quarto",
11 | "ms-azuretools.vscode-docker",
12 | "ms-toolsai.jupyter",
13 | "bierner.markdown-mermaid",
14 | "ms-python.python",
15 | "rdebugger.r-debugger",
16 | "ms-vscode-remote.remote-containers",
17 | "yzhang.markdown-all-in-one",
18 | "reditorsupport.r",
19 | "redhat.vscode-yaml",
20 | "REditorSupport.r",
21 | "REditorSupport.r-lsp",
22 | "RDebugger.r-debugger",
23 | "purocean.drawio-preview",
24 | "aykutsarac.jsoncrack-vscode",
25 | "ritwickdey.liveserver"
26 | ]
27 | }
28 | },
29 | "remoteEnv": {
30 | "DISABLE_AUTH": "true"
31 | },
32 | "postCreateCommand": "radian"
33 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /.quarto/
2 | .Rproj.user
3 |
--------------------------------------------------------------------------------
/JavaScript/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
83 |
84 |
115 |
116 |
128 |
129 |
130 |
131 |
159 |
160 |
161 | Preface
162 | WIP…pre spelling check
163 | This tutorial covers the basic functionality operations of the JavaScript (JS) language, covering the following topics:
164 |
165 | Setting VScode environment
166 | Basic workflow
167 | Variables
168 | Functions
169 | Data structure
170 |
171 |
172 | Prerequisites
173 | Here are the assumptions I made when I created this tutorial:
174 |
175 | No previous knowledge of JS
176 | Have basic knowledge of another programming language (e.g., Python, R, Julia, etc.), and an understanding of the use of variables assignment and functions
177 |
178 | In addition, we will use some basic HTML and CSS throughout the tutorial, don’t worry if you are unfamiliar with those languages.
179 |
180 |
181 |
182 |
183 |
184 |
185 |
318 |
319 |
320 |
321 |
322 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
--------------------------------------------------------------------------------
/docs/references.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
100 |
101 |
132 |
133 |
136 |
137 |
138 |
139 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
296 |
297 |
298 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
--------------------------------------------------------------------------------
/docs/site_libs/bootstrap/bootstrap-icons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RamiKrispin/Introduction-to-JavaScript/157ec36f807c35498d3398a14b5df2962b99b2f0/docs/site_libs/bootstrap/bootstrap-icons.woff
--------------------------------------------------------------------------------
/docs/site_libs/clipboard/clipboard.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * clipboard.js v2.0.10
3 | * https://clipboardjs.com/
4 | *
5 | * Licensed MIT © Zeno Rocha
6 | */
7 | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return o}});var e=n(279),i=n.n(e),e=n(370),u=n.n(e),e=n(817),c=n.n(e);function a(t){try{return document.execCommand(t)}catch(t){return}}var f=function(t){t=c()(t);return a("cut"),t};var l=function(t){var e,n,o,r=1