contents wip

master
km0 3 years ago
parent 0c1ef90c40
commit a5bf221448

@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}

@ -1,3 +1,3 @@
# pimp-soup # Pimp my Soupboat
Little workshop on how to customize the soupboat Hello this is a little workshop to cover the basics of HTML + CSS + JS in order to customize our Soupboat⛵

@ -1,22 +1,23 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Pimp My Soupboat</title> <title>Pimp My Soupboat</title>
</head> </head>
<body> <body>
<!-- TODO: number headings --> <!-- TODO: number headings -->
<main>
<h1>Pimp my Soupboat 🍜</h1> <h1>Pimp my Soupboat 🍜</h1>
<p> <p>
Hello this is a little workshop to cover the basics of HTML + CSS + JS in order to customize our Soupboat⛵ Hello this is a little workshop to cover the basics of HTML + CSS + JS in order to
customize our Soupboat⛵
</p> </p>
<h2>Table of contents</h2> <h2>Table of contents</h2>
<ol> <ol>
<li>Workspace, or: where do we code</li> <li>Workspace, or: where do we code</li>
@ -27,28 +28,74 @@
<li>References</li> <li>References</li>
</ol> </ol>
<div class="chapter">
<h2>Workspace, or: where do we code</h2> <h2>Workspace, or: where do we code</h2>
<p> <h3>Coding in Jupiter editor</h3>
Coding in <ul>
</p> <li class="pro">Fast and easy</li>
<li class="pro">You don't need to replace files all the time</li>
<li class="pro">
The page is already hosted on the Soupboat, so it is online!
</li>
<li class="cons">You need to be connected to edit your files</li>
<li class="cons">
Less code editing features (code completion, helps, templates, formatting)
</li>
</ul>
<h3>Coding in a text editor (example: VS Code)</h3>
<ul>
<li class="pro">Code editing features!</li>
<li class="pro">Plugins! Extensions!</li>
<li class="pro">You can work offline</li>
<li class="cons">You need to install the editor</li>
<li class="cons">You need to keep up to date the files on the Soupboat</li>
</ul>
</div>
<div class="chapter">
<h2>Files in the Soupboat</h2> <h2>Files in the Soupboat</h2>
<h2>HTML (for marking up contents)</h2> <p>
In Jupiter Lab everyone has 2 main folders: <code>public_html</code> and
<code>shared</code>. The former takes you to your personal page, while the
latter permits you to access to the common areas of the Soupboat.
</p>
<p>Remember that web URLs are just like paths on your computer.</p>
</div>
<div class="chapter">
<h2>HTML (for marking up contents)</h2>
</div>
<div class="chapter">
<h2>CSS (for styling our website)</h2> <h2>CSS (for styling our website)</h2>
</div>
<div class="chapter">
<h2>JS (for making things dynamic, i.e. magic)</h2> <h2>JS (for making things dynamic, i.e. magic)</h2>
</div>
<div class="chapter">
<h2>References</h2> <h2>References</h2>
<ul> <ul>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML">MDN Web Docs (boring but really complete) </a> <li>
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML"
>MDN Web Docs (boring but really complete)
</a>
</li>
<li>
<a href="https://www.w3schools.com/"
>w3school documentation, anything you need to know</a
>
</li>
<li>
<a href="https://scrimba.com/learn/htmlcss"
>HTML/CSS Crash Course on Scrimba</a
>
</li>
<li>
<a href="https://css-tricks.com/">CSS tricks for more guided css-styling</a>
</li> </li>
<li><a href="https://www.w3schools.com/">w3school documentation, anything you need to know</a></li>
<li><a href="https://scrimba.com/learn/htmlcss">HTML/CSS Crash Course on Scrimba</a></li>
<li><a href="https://css-tricks.com/">CSS tricks for more guided css-styling</a></li>
</ul> </ul>
</div>
</main>
</body> </body>
</html> </html>

@ -0,0 +1,39 @@
html,
body {
margin: 0;
padding: 24px;
font-size: 24px;
font-family: Arial, Helvetica, sans-serif;
line-height: 1.6;
color: #333;
}
main {
max-width: 1200px;
margin: 0 auto;
}
h1 {
text-align: center;
}
a {
color: #333;
}
.pro {
color: green;
}
.cons {
color: tomato;
}
.chapter {
padding: 24px;
margin: 32px 0;
background-color: #c6e2ff;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Onigiri</title>
</head>
<body>
<h1>Onigiri is...</h1>
<img src="./assets/pandagiri.jpg" alt="Cute panda or tasty onigiri" />
<p>
Onigiri, also known as omusubi, nigirimeshi, or rice ball, is a Japanese food made from
white rice formed into triangular or cylindrical shapes and often wrapped in nori.
</p>
</body>
</html>

@ -0,0 +1,4 @@
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 24px;
}
Loading…
Cancel
Save