-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b351d97
commit ab29b98
Showing
6 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Title: A simple demo | ||
Date: 2024-01-22 | ||
|
||
<div id="demo"></div> | ||
<script src="{static}/js/demo.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// get id div #demo and change text | ||
|
||
function myCallback() { | ||
const elt = document.getElementById("demo"); | ||
if (elt.innerHTML == "Hello JavaScript") { | ||
elt.innerHTML = "Hello World"; | ||
elt.style.backgroundColor = "#64a6ea"; | ||
elt.style.maxWidth = "7em"; | ||
} else { | ||
elt.innerHTML = "Hello JavaScript"; | ||
elt.style.backgroundColor = "#7eed94"; | ||
elt.style.maxWidth = "10em"; | ||
} | ||
|
||
} | ||
|
||
|
||
const intervalID = setInterval(myCallback, 1000, "Parameter 1", "Parameter 2"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Title: CV | ||
Date: 2024-01-22 | ||
|
||
Looking for work. My email can be found on my github commits. | ||
|
||
### Experience | ||
|
||
* Freelance Developer | ||
|
||
### Education | ||
|
||
* Ph.D. UNSW, CSE | ||
* M.Sc. University of Sydney, Maths | ||
* B.Sc. University of Auckland, Maths |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters