added links
This commit is contained in:
parent
8ca92f7373
commit
0560072392
|
@ -46,6 +46,10 @@
|
||||||
<div id="heading">Uke 6</div>
|
<div id="heading">Uke 6</div>
|
||||||
<li><a href="https://geokkjer.github.io/car">Team Oppgave Kul Bil </a></li>
|
<li><a href="https://geokkjer.github.io/car">Team Oppgave Kul Bil </a></li>
|
||||||
<li><a href="https://geokkjer.github.io/startit/oppgaver/uke6/8ball/index.html">Magic 8-ball</a></li>
|
<li><a href="https://geokkjer.github.io/startit/oppgaver/uke6/8ball/index.html">Magic 8-ball</a></li>
|
||||||
|
<div id="heading">Uke 6</div>
|
||||||
|
<li><a href="https://geokkjer.github.io/startit/oppgaver/uke7/gjenkjenn_epost/index.html">gjenkjenn_epost</a></li>
|
||||||
|
<li><a href="https://geokkjer.github.io/startit/oppgaver/uke7/reaksjonstid/index.html">reaksjonstid</a></li>
|
||||||
|
<li><a href="https://geokkjer.github.io/startit/oppgaver/uke7/reaksjonstid/ternary.html">ternary operators</a></li>
|
||||||
|
|
||||||
<div id="heading">Helg og refaktorering</div>
|
<div id="heading">Helg og refaktorering</div>
|
||||||
<li><a href="https://geokkjer.github.io/startit/react_test/tutorial/index.html">Tester react</a></li>
|
<li><a href="https://geokkjer.github.io/startit/react_test/tutorial/index.html">Tester react</a></li>
|
||||||
|
|
|
@ -88,14 +88,13 @@ function catchPokemon() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function showPokemon() {
|
function showPokemon() {
|
||||||
app.classList = '';
|
app.style = null;
|
||||||
app.innerHTML = '';
|
app.innerHTML = '';
|
||||||
|
|
||||||
for (i = 0; i < bjarne.pokemon.length; i++){
|
for (i = 0; i < bjarne.pokemon.length; i++){
|
||||||
app.innerHTML += /*HTML*/ `
|
app.innerHTML = /*HTML*/ `
|
||||||
<table><tr><th>Navn</th><th>Level</th></tr>
|
|
||||||
<td>${bjarne.pokemon[i].name}</td><td>${bjarne.pokemon[i].level}</td></tr>
|
<div>${bjarne.pokemon[i].name}</div>
|
||||||
</table>
|
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
app.innerHTML += /*HTML*/`
|
app.innerHTML += /*HTML*/`
|
||||||
|
|
Loading…
Reference in a new issue