Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sagatun committed Jun 4, 2024
1 parent 93bebb7 commit d4bc445
Show file tree
Hide file tree
Showing 771 changed files with 1,542 additions and 1,538 deletions.
4 changes: 2 additions & 2 deletions 404.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appinventor.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appinventor/KlaskEnMuldvarp/README.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appinventor/KlaskEnMuldvarp/klaskenmuldvarp.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appinventor/introduksjon/introduksjon.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appinventor/lag_din_egen_app/README.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appinventor/lag_din_egen_app/lag_din_egen_app.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appinventor/spaceinvaders/README.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appinventor/spaceinvaders/spaceinvaders.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appinventor/ta_ballen/README.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appinventor/ta_ballen/ta_ballen.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions arduino.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions arduino/7_segment_display/7_segment_display.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="shortcut icon" href="/icons-bfd76/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/icons-bfd76/favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="/icons-bfd76/favicon-32x32.png"><link rel="manifest" href="/icons-bfd76/manifest.json"><meta name="mobile-web-app-capable" content="yes"><meta name="theme-color" content="#fff"><meta name="application-name" content="Lær Kidsa Koding"><link rel="apple-touch-icon" sizes="57x57" href="/icons-bfd76/apple-touch-icon-57x57.png"><link rel="apple-touch-icon" sizes="60x60" href="/icons-bfd76/apple-touch-icon-60x60.png"><link rel="apple-touch-icon" sizes="72x72" href="/icons-bfd76/apple-touch-icon-72x72.png"><link rel="apple-touch-icon" sizes="76x76" href="/icons-bfd76/apple-touch-icon-76x76.png"><link rel="apple-touch-icon" sizes="114x114" href="/icons-bfd76/apple-touch-icon-114x114.png"><link rel="apple-touch-icon" sizes="120x120" href="/icons-bfd76/apple-touch-icon-120x120.png"><link rel="apple-touch-icon" sizes="144x144" href="/icons-bfd76/apple-touch-icon-144x144.png"><link rel="apple-touch-icon" sizes="152x152" href="/icons-bfd76/apple-touch-icon-152x152.png"><link rel="apple-touch-icon" sizes="167x167" href="/icons-bfd76/apple-touch-icon-167x167.png"><link rel="apple-touch-icon" sizes="180x180" href="/icons-bfd76/apple-touch-icon-180x180.png"><link rel="apple-touch-icon" sizes="1024x1024" href="/icons-bfd76/apple-touch-icon-1024x1024.png"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="apple-mobile-web-app-title" content="Lær Kidsa Koding"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)" href="/icons-bfd76/apple-touch-startup-image-320x460.png"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)" href="/icons-bfd76/apple-touch-startup-image-640x920.png"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" href="/icons-bfd76/apple-touch-startup-image-640x1096.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" href="/icons-bfd76/apple-touch-startup-image-750x1294.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)" href="/icons-bfd76/apple-touch-startup-image-1182x2208.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)" href="/icons-bfd76/apple-touch-startup-image-1242x2148.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)" href="/icons-bfd76/apple-touch-startup-image-748x1024.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)" href="/icons-bfd76/apple-touch-startup-image-768x1004.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" href="/icons-bfd76/apple-touch-startup-image-1496x2048.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" href="/icons-bfd76/apple-touch-startup-image-1536x2008.png"><meta name="msapplication-TileColor" content="#fff"><meta name="msapplication-TileImage" content="/icons-bfd76/mstile-144x144.png"><meta name="msapplication-config" content="/icons-bfd76/browserconfig.xml">


<link href="/main.571e32.css" rel="stylesheet">
<link href="/main.cebb2b.css" rel="stylesheet">

<style type="text/css">.App__appContainer__3y6aN{display:flex;overflow-x:hidden;min-height:100vh;flex-direction:column;font-family:Helvetica,Arial,sans-serif}.App__appContainerDyslexia__jcEYV{display:flex;overflow-x:hidden;min-height:100vh;flex-direction:column;font-family:"OpenDyslexic-Regular",Helvetica,Arial,sans-serif}.App__stickyFooter__T7wwy{flex:1}
.NavBar__navbarWrapper__35BW9 .navbar>.container-fluid{padding:0}.NavBar__navbarWrapper__35BW9 .navbar>.container-fluid .navbar-header{margin:0}.NavBar__navbarWrapper__35BW9 .navbar>.container-fluid .navbar-collapse{margin:0;padding:0}.NavBar__navbarWrapper__35BW9 .navbar-nav{margin:0}.NavBar__navbarWrapper__35BW9 .navbar-brand{padding:0 10px}.NavBar__navbarWrapper__35BW9 .navbar-default{background-color:#f2f2f2}.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav{background-color:transparent}.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>li>a{color:#444}.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>li>a:focus{color:#0fbe7c;background-color:transparent}.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>li>a:hover{color:#0fbe7c;background-color:transparent}.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>.active>a,.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>.active>a:focus,.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>.active>a:hover{color:#0fbe7c;background-color:transparent}.NavBar__navbarWrapper__35BW9 .navbar-toggle.navbar-toggle{float:none;border:0;border-radius:0;margin:0;width:100%;color:white;font-size:1.2em}.NavBar__navbarWrapper__35BW9 .navbar-toggle.navbar-toggle,.NavBar__navbarWrapper__35BW9 .navbar-toggle.navbar-toggle:focus{background-color:#3a3a3a}.NavBar__navbarWrapper__35BW9 .navbar-toggle.navbar-toggle:hover{background-color:#0fbe7c}.NavBar__navbarWrapper__35BW9 .navbar-toggle.navbar-toggle .icon-bar{background-color:white}@media (max-width: 767px){.NavBar__navbarWrapper__35BW9 .navbar-header{text-align:center}.NavBar__navbarWrapper__35BW9 .navbar-brand{float:none;display:inline-block;padding:0}.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav{background-color:#3a3a3a}.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>li>a{color:white}.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>li>a:focus{color:white;background-color:#3a3a3a}.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>li>a:hover{color:white;background-color:#0fbe7c}.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>.active>a,.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>.active>a:focus,.NavBar__navbarWrapper__35BW9 .navbar-default .navbar-nav>.active>a:hover{color:white;background-color:#0fbe7c}}.NavBar__toggleContent__1tzFa{display:inline-block;padding:0 5px}.NavBar__navContainer__3KRmh{background-color:#3a3a3a;padding:0 20px}.NavBar__logo__6osKq{height:127px}.NavBar__spacing__2FOa3{width:100%;height:77px}@media (max-width: 767px){.NavBar__spacing__2FOa3{height:0;width:0}}.NavBar__widgets__9B6hC{display:inline-block;width:100%;min-height:50px;font-weight:300;border-radius:0;margin-bottom:-7px}.NavBar__widgetStudent__2MyCf{color:#265732;background-color:#b1daae}.NavBar__widgetTeacher__2mxrU{color:#215651;background-color:#a3cccb}.NavBar__gadgetGroup__2VPWF{display:inline;float:right;padding:4px 0}
Expand Down Expand Up @@ -145,6 +145,6 @@
...
</code></pre> <ul> <li> <p>Dersom <code>tall == 0</code> vil koden i både <code>case 0</code> og <code>case 1</code> kjøres, altså faller den gjennom fra <code>case 0</code> til <code>case 1</code>.</p> </li> <li> <p>Dersom <code>tall == 1</code> kjøres kun koden i <code>case 1</code>.</p> </li> <li> <p>Dersom <code>tall != 0 &amp;&amp; tall != 1</code> kjøres koden i default.</p> </li> </ul> <p>Hvis verdien av <code>tall</code> ikke matcher noen <code>case</code> linjene vil vi eksekvere koden i <code>default</code>.</p> <p>Så i vår kode, når <code>tall</code> er 4 vil vi treffe <code>default</code>, sette tall til 0 og så tegne 0. Dette er grunnen til at vi begynner på igjen på 0 etter vi har telt til 3.</p> </section> <section class="Content__challenge__1YzAN"> <h3 class="Content__challenge__1YzAN">Utfordringer</h3> <ul class="Content__task-list__3UDth"> <li class="Content__task-list-item__2un2C"> <p><input type="checkbox" id="cbx_14"><label for="cbx_14"> Klarer du å utvide til å telle til '9'?</label></p> </li> <li class="Content__task-list-item__2un2C"> <p><input type="checkbox" id="cbx_15"><label for="cbx_15"> Klarer du å hindre at vi &quot;går rundt&quot; i tellingen, slik at å trykke på knappen når du allerede er på '9' ikke gjør noe?</label></p> </li> <li class="Content__task-list-item__2un2C"> <p><input type="checkbox" id="cbx_16"><label for="cbx_16"> Klarer du å få punktumet til å lyse når du trykker inn knappen?</label></p> </li> <li class="Content__task-list-item__2un2C"> <p><input type="checkbox" id="cbx_17"><label for="cbx_17"> Klarer du å legge til en ekstra knapp som teller nedover, så én knapp teller oppover, og den andre nedover?</label></p> </li> </ul> </section> </section> </section> </div><div class="LessonPage__license__IHSfi">Lisens: <a href="http://creativecommons.org/licenses/by-sa/4.0/deed" target="_blank" rel="noopener">CC BY-SA 4.0</a></div><div class="ImprovePage__container__iUWQm"><div class="ImprovePage__student__142Kp ImprovePage__improvePageBox__nZgO6"><div class="ImprovePage__improvePageBox__nZgO6"><div class="ImprovePage__textRowStudent__SLWiX"><h2>Forbedre denne siden</h2><p>Funnet en feil? Kunne noe vært bedre?<!-- --> <br/>Hvis ja, vennligst gi oss tilbakemelding ved å lage en sak på Github eller fiks feilen selv om du kan. Vi er takknemlige for enhver tilbakemelding!</p></div><div class="ImprovePage__linkRow__1GeNe"><div><a href="https://github.com/kodeklubben/oppgaver/issues/new/?title=Problem med &#x27;Arduino: 7 segment display&#x27;&amp;body=Oppgave: https://oppgaver.kidsakoder.no/arduino/7_segment_display/7_segment_display%0AOppgavens kildekode: https://github.com/kodeklubben/oppgaver/tree/master/src/arduino/7_segment_display/7_segment_display.md%0A%0ABeskriv ditt problem her. Ta gjerne med operativsystem, nettleser og eventuell kode du har skrevet.%0A" target="_blank" rel="noopener" class="btn btn-white-grey">Rapporter et problem</a></div><div><a href="https://forum.kidsakoder.no/c/oppgaver" target="_blank" rel="noopener" class="btn btn-guide">Gå til forumet</a></div><div><a href="https://github.com/kodeklubben/oppgaver/tree/master/src/arduino/7_segment_display/7_segment_display.md" target="_blank" rel="noopener" class="btn btn-orange">Vis koden og fiks selv</a></div></div></div></div></div></div></div></div><div class="Footer__containerStudent__3Yr5f Footer__container__1SZrv" role="contentinfo"><a href="https://github.com/kodeklubben/oppgaver/wiki" target="_blank" rel="noopener"><img class="Footer__svg__29r7H" src="/CCV-assets/github.2bbaee.png" alt="GitHub"/><p class="Footer__contribute__1mAk4">Lag egne oppgaver</p></a><div class="Footer__centerSwitch__2siUB"><label for="switch" class="DyslexiaSwitch__container__22KcF"><span class="DyslexiaSwitch__text__1r9C2">Skrift for dyslektikere</span><div style="position:relative;display:inline-block;text-align:left;opacity:1;direction:ltr;border-radius:14px;-webkit-transition:opacity 0.25s;-moz-transition:opacity 0.25s;transition:opacity 0.25s;touch-action:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none"><div class="react-switch-bg" style="height:28px;width:56px;margin:0;position:relative;background:#888888;border-radius:14px;cursor:pointer;-webkit-transition:background 0.25s;-moz-transition:background 0.25s;transition:background 0.25s"><div style="height:28px;width:30px;position:relative;opacity:0;pointer-events:none;-webkit-transition:opacity 0.25s;-moz-transition:opacity 0.25s;transition:opacity 0.25s"><svg height="100%" width="100%" viewBox="-2 -5 17 21" style="position:absolute;top:0"><path d="M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0" fill="#fff" fill-rule="evenodd"></path></svg></div><div style="height:28px;width:30px;position:absolute;opacity:1;right:0;top:0;pointer-events:none;-webkit-transition:opacity 0.25s;-moz-transition:opacity 0.25s;transition:opacity 0.25s"><svg viewBox="-2 -5 14 20" height="100%" width="100%" style="position:absolute;top:0"><path d="M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12" fill="#fff" fill-rule="evenodd"></path></svg></div></div><div class="react-switch-handle" style="height:26px;width:26px;background:#ffffff;display:inline-block;cursor:pointer;border-radius:50%;position:absolute;transform:translateX(1px);top:1px;outline:0;border:0;-webkit-transition:background-color 0.25s, transform 0.25s, box-shadow 0.15s;-moz-transition:background-color 0.25s, transform 0.25s, box-shadow 0.15s;transition:background-color 0.25s, transform 0.25s, box-shadow 0.15s"></div><input type="checkbox" role="switch" style="border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px" id="switch"/></div></label></div><div class="Footer__divider__LJrti"></div><div class="Footer__sponsors__Ns03J"><a href="https://www.sparebank1.no" target="_blank" rel="noopener"><img class="Footer__img__25Ink" src="/CCV-assets/smn.098a83.jpg" alt="SpareBank1"/></a><a href="https://ibok.no/" target="_blank" rel="noopener"><img class="Footer__img__25Ink" src="/CCV-assets/ibok.06cd44.jpg" alt="Ibok"/></a><a href="https://www.teknograd.no/" target="_blank" rel="noopener"><img class="Footer__img__25Ink" src="/CCV-assets/teknograd.03c75e.png" alt="Teknograd"/></a><a href="https://www.tekna.no/" target="_blank" rel="noopener"><img class="Footer__img__25Ink" src="/CCV-assets/tekna.41a4f5.jpg" alt="Tekna"/></a><a href="https://www.ntnu.edu/idi/" target="_blank" rel="noopener"><img class="Footer__img__25Ink" src="/CCV-assets/ntnu_idi.5179a4.png" alt="NTNU institutt for datateknologi og informatikk"/></a><a href="http://www.ntnu.edu/web/excited" target="_blank" rel="noopener"><img class="Footer__img__25Ink" src="/CCV-assets/excITEd.915706.png" alt="excited"/></a><a href="http://www.mn.uio.no/ifi/" target="_blank" rel="noopener"><img class="Footer__img__25Ink" src="/CCV-assets/uio_ifi.37ef13.png" alt="UIO institutt for informatikk"/></a><a href="https://www.samsung.com/no/innovation/" target="_blank" rel="noopener"><img class="Footer__img__25Ink" src="/CCV-assets/samsung.bec12f.png" alt="Samsung"/></a></div></div></div></div></div>

<script src="/main.571e32.js" async></script>
<script src="/main.cebb2b.js" async></script>
</body>
</html>
Loading

0 comments on commit d4bc445

Please sign in to comment.