<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CSS on CoderDojo Linz</title>
    <link>https://linz-preview.coderdojo.net/categories/css/</link>
    <description>Recent content in CSS on CoderDojo Linz</description>
    <generator>Hugo</generator>
    <language>de-AT</language>
    <atom:link href="https://linz-preview.coderdojo.net/categories/css/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Erste Schritte mit CSS</title>
      <link>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/erste-schritte-mit-css/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/erste-schritte-mit-css/</guid>
      <description>&lt;h1 id=&#34;erste-schritte-mit-css&#34;&gt;Erste Schritte mit CSS&lt;/h1&gt;&#xA;&lt;h2 id=&#34;ziel-der-übung&#34;&gt;Ziel der Übung&lt;/h2&gt;&#xA;&lt;p&gt;In dieser Übung lernst du &lt;em&gt;Cascading Style Sheets&lt;/em&gt; (kurz CSS) kennen. Unser Ziel ist es, eine HTML-Seite mit CSS zu formatieren und hübsch zu gestalten. Wenn du nach dieser Übung mehr über CSS lernen willst oder während der Übung Detailfragen hast, kannst du einen Blick auf &lt;a href=&#34;http://www.w3schools.com/css/css_intro.asp&#34; target=&#34;_blank&#34;&gt;die CSS Einführung auf w3schools.com&lt;/a&gt; werfen.&lt;/p&gt;&#xA;&lt;p&gt;Falls du noch überhaupt keine Erfahrung mit HTML hast, wende dich an eine CoderDojo Mentorin oder einen Mentor. Sie werden dir die HTML-Basics erklären oder dir eine Übung für HTML-Grundlagen zeigen.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced CSS Styles</title>
      <link>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/css-advanced-styles/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/css-advanced-styles/</guid>
      <description>&lt;h1 id=&#34;advanced-css-styles&#34;&gt;Advanced CSS Styles&lt;/h1&gt;&#xA;&lt;p&gt;Für diese Übung starten wir mit einer existierenden Webseite, die nur HTML enthält, aber noch gar keine Styles.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#00f&#34;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;html lang=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;en&amp;#34;&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;head&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;meta charset=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;UTF-8&amp;#34;&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;meta name=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;viewport&amp;#34;&lt;/span&gt; content=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;width=device-width, initial-scale=1.0&amp;#34;&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;title&amp;gt;Scratch - Fang mich&amp;lt;/title&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/head&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;body&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;div class=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;content&amp;#34;&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &amp;lt;h1&amp;gt;Scratch Fang-Mich &amp;lt;span class=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;version&amp;#34;&lt;/span&gt;&amp;gt;Scratch 3.0&amp;lt;/span&amp;gt;&amp;lt;/h1&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &amp;lt;div class=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;intro&amp;#34;&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &amp;lt;img src=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;images/endgame.png&amp;#34;&lt;/span&gt; alt=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;Endgame&amp;#34;&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &amp;lt;p&amp;gt;In diesem Spiel bist du ein Fisch, der dem großen Haifisch entkommen muss. Schaffst du es?&amp;lt;/p&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &amp;lt;/div&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        ...&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Ihr könnt das initiale Projekt mit allen Bildern aber ohne Styles hier herunterladen: &lt;a href=&#34;initial-project.zip&#34;&gt;Startprojekt&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fraktal Baum mit snap.svg</title>
      <link>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/svg-fraktalbaum/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/svg-fraktalbaum/</guid>
      <description>&lt;h1 id=&#34;zeichne-einen-fraktal-baum-mit-snapsvg&#34;&gt;Zeichne einen Fraktal Baum mit snap.svg&lt;/h1&gt;&#xA;&lt;h2 id=&#34;ziel-der-übung&#34;&gt;Ziel der Übung&lt;/h2&gt;&#xA;&lt;p&gt;Zeichne einen Baum in SVG. Starte dazu mit einer vertikalen Linie als Stamm.&lt;/p&gt;&#xA;&lt;p&gt;Am oberen Ende der Linie zeichne zwei weitere Linien - eine etwas nach links und eine etwas nach rechts geneigt.&#xA;Die neuen beiden Linien sind etwas kürzer als die erste Linie für den Stamm. In dieser zweiten Ebene erhältst du so zwei Zweige.&lt;/p&gt;&#xA;&lt;p&gt;Am jeweils oberen Ende der beiden neuen Linie zweichne wieder jeweils zwei neue nach links und rechts geneigte Linien die etwas kürzer als die vorige Linie sind.&#xA;In dieser dritten Ebene erhältst du so jetzt vier Zweige.&lt;/p&gt;</description>
    </item>
    <item>
      <title>HTML &amp; CSS Hands On</title>
      <link>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/html-css-hands-on/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/html-css-hands-on/</guid>
      <description>&lt;h1 id=&#34;html--css-hands-on&#34;&gt;HTML &amp;amp; CSS Hands On&lt;/h1&gt;&#xA;&lt;p&gt;Die folgenden Übungen kannst du direkt online in &lt;a href=&#34;https://jsfiddle.net/&#34; target=&#34;_blank&#34;&gt;JSFiddle&lt;/a&gt; machen. Du brauchst dafür kein installiertes Tool. Für jede Übung wird das gewünschte Ergebnis dargestellt und du findest jeweils einen Link zur Ausgangsbasis für das Beispiel.&lt;/p&gt;&#xA;&lt;h2 id=&#34;html&#34;&gt;HTML&lt;/h2&gt;&#xA;&lt;h3 id=&#34;basic-tags&#34;&gt;Basic Tags&lt;/h3&gt;&#xA;&lt;p&gt;Im ersten Beispiel werden die am häufigsten verwendeten HTML Element verwendet.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://jsfiddle.net/karin112358/qmgvrodt/#fork&#34; target=&#34;_blank&#34;&gt;Startprojekt öffnen&lt;/a&gt;&lt;/p&gt;&#xA;&lt;script async src=&#34;//jsfiddle.net/karin112358/noLwuvk4/embed/result/dark/&#34;&gt;&lt;/script&gt;&#xA;&lt;h3 id=&#34;formatierung-mit-tags&#34;&gt;Formatierung mit Tags&lt;/h3&gt;&#xA;&lt;p&gt;In diesem Beispiel geht es um die verschiedenen Optionen, um Text direkt durch HTML Elemente zu formatieren.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Space Invaders</title>
      <link>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/space-invaders/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/space-invaders/</guid>
      <description>&lt;h1 id=&#34;space-invaders&#34;&gt;Space Invaders&lt;/h1&gt;&#xA;&lt;p&gt;We will follow another amazing Tutorial by &lt;a href=&#34;https://www.youtube.com/channel/UC5DNytAJ6_FISueUfzZCVsw&#34; target=&#34;_blank&#34;&gt;Ania Kubów&lt;/a&gt; to build our very own Space Invaders game.&#xA;If you didn&amp;rsquo;t do so yet head to her Youtube channel and subscribe or give her a like because her content is amazing.&lt;/p&gt;&#xA;&lt;h2 id=&#34;set-up-our-files&#34;&gt;Set up our files&lt;/h2&gt;&#xA;&lt;p&gt;As usual we will use &lt;a href=&#34;https://codesandbox.io/&#34; target=&#34;_blank&#34;&gt;codesandbox.io&lt;/a&gt; for our implementation. The entrypoint for our website is our &lt;code&gt;index.html&lt;/code&gt; file.&#xA;In this file we need to add a link to our &lt;code&gt;styles.css&lt;/code&gt; and a reference to our &lt;code&gt;app.js&lt;/code&gt;. In order to check that our linking&#xA;works fine I will add some dummy code to show an alert in our JavaScript file &lt;code&gt;alert(&amp;quot;Hey Space Invaders&amp;quot;)&lt;/code&gt; and a &lt;code&gt;body { background-color: hotpink }&lt;/code&gt; to our CSS file.&#xA;Now when we refresh or open our HTML file we should see a pink background a pop up greeting the Space Invaders.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SVG Schreibtrainer</title>
      <link>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/svg-schreibtrainer/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/svg-schreibtrainer/</guid>
      <description>&lt;h1 id=&#34;svg-schreibtrainer&#34;&gt;SVG Schreibtrainer&lt;/h1&gt;&#xA;&lt;h2 id=&#34;ziel-der-übung&#34;&gt;Ziel der Übung&lt;/h2&gt;&#xA;&lt;p&gt;Du baust ein Spiel das dir hilft, deine Tipp-Geschwindigkeit zu verbessern.&lt;/p&gt;&#xA;&lt;p&gt;Am oberen Spielfeldrand erscheinen Kreise mit Buchstaben, die nach unten fallen. Tippe den Buchstaben, bevor er den unteren&#xA;Rand des Spielfelds berührt.&lt;/p&gt;&#xA;&lt;p&gt;Auf Wikipedia findest du eine Grafik zum&#xA;&lt;a href=&#34;https://de.wikipedia.org/wiki/Zehnfingersystem#/media/File:QWERTZ-10Finger-Layout.svg&#34; target=&#34;_blank&#34;&gt;Zehnfingersystem&lt;/a&gt;, die erklärt, welche Taste&#xA;mit welchem Finger gedrückt werden soll.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;     &#xA;    &#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;div class=&#34;row&#34;&gt;&#xA;    &lt;div class=&#34;col&#34;&gt;&#xA;        &lt;p&gt;&lt;/p&gt;&#xA;    &lt;/div&gt;&#xA;    &lt;div class=&#34;col-12 col-md-12&#34;&gt;&#xA;    &lt;img src=&#34;https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/svg-schreibtrainer/img/schreibtrainer.png&#34; alt=&#34;(.Get 1)&#34; class=&#34;mx-auto &#34; style=&#34;display: block; width: auto&#34; /&gt;&#xA;    &lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;grundgerüst-der-html-seite&#34;&gt;Grundgerüst der HTML Seite&lt;/h2&gt;&#xA;&lt;p&gt;Erstelle als erstes eine neue HTML Seite mit dem Namen &lt;code&gt;schreibtrainer.html&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tetris</title>
      <link>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/tetris/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://linz-preview.coderdojo.net/uebungsanleitungen/programmieren/web/tetris/</guid>
      <description>&lt;h1 id=&#34;tetris&#34;&gt;Tetris&lt;/h1&gt;&#xA;&lt;p&gt;In this session we will impelment a version of the TETRIS game based on a video by the amazin Ania Kubów. Check out her youtube channel &lt;a href=&#34;https://www.youtube.com/channel/UC5DNytAJ6_FISueUfzZCVsw&#34; target=&#34;_blank&#34;&gt; &amp;ndash;&amp;gt; here &amp;lt;&amp;ndash; &lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;project-setup-and-file-linking&#34;&gt;Project setup and file linking&lt;/h2&gt;&#xA;&lt;p&gt;We will need three files - a index.html that contains the markup of our website, an app.js file that contains our logic and a styles.css for styling.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#00f&#34;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;html&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;head&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &amp;lt;meta charset=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;utf-8&amp;#34;&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &amp;lt;script src=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;app.js&amp;#34;&lt;/span&gt;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &amp;lt;link rel=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;stylesheet&amp;#34;&lt;/span&gt; type=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;text/css&amp;#34;&lt;/span&gt; href=&lt;span style=&#34;color:#a31515&#34;&gt;&amp;#34;styles.css&amp;#34;&lt;/span&gt;/&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &amp;lt;title&amp;gt;Tetris&amp;lt;/title&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;/head&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;body&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;/body&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/html&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In order to verify that our linking works out properly we put an &lt;code&gt;alert(&#39;Hello Tetris&#39;)&lt;/code&gt; to the app.js file and a &lt;code&gt;body { background: hotpink; }&lt;/code&gt; to the styles.css file.&#xA;We should now see a popup containing the text &amp;ldquo;Hello Tetris&amp;rdquo; when we reload the page and the pages background should have a specified color.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
