getting laptop in sync

This commit is contained in:
Geir Okkenhaug Jerstad 2024-08-30 11:51:33 +02:00
parent 7d03b87ddc
commit f822cd0e81
5 changed files with 24 additions and 4 deletions

View file

@ -76,7 +76,7 @@
function showNumber1() {
document.getElementById('numbersAndButtons').innerHTML = /*HTML*/ `
<button onclick="showNumber4()"></button>
<div style="width: 200px; text-align: center;">
<div>
<img src="img/head1.png">
</div>
<button onclick="showNumber2()"></button>
@ -85,7 +85,7 @@
function showNumber2() {
document.getElementById('numbersAndButtons').innerHTML = /*HTML*/ `
<button onclick="showNumber1()"></button>
<div style="width: 200px; text-align: center;">
<div>
<img src="img/head2.png">
</div>
<button onclick="showNumber3()"></button>
@ -94,7 +94,7 @@
function showNumber3() {
document.getElementById('numbersAndButtons').innerHTML = /*HTML*/ `
<button onclick="showNumber2()"></button>
<div style="width: 200px; text-align: center;">'
<div>
<img src="img/head3.png">
</div>
<button onclick="showNumber4()"></button>
@ -103,7 +103,7 @@
function showNumber4() {
document.getElementById('numbersAndButtons').innerHTML = /*HTML*/ `
<button onclick="showNumber3()"></button>
<div style="width: 200px; text-align: center;">
<div>
<img src="img/head4.png">
</div>
<button onclick="showNumber1()"></button>

13
the_good_parts/index.html Normal file
View file

@ -0,0 +1,13 @@
<!doctype html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
</head>
<body>
</body>
</html>

View file

4
the_good_parts/script.js Normal file
View file

@ -0,0 +1,4 @@
hello();
function hello() {
console.log('Hello World!');
}

View file

@ -0,0 +1,3 @@
function() {
consol
}