<!DOCTYPE html>
<html lang="en">
<head>
<title>Title</title>
</head>
<body>
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
let counter = 3; | |
function addItem(){ | |
let ordered_item = document.createElement('li'); | |
ordered_item.innerHTML = "<strong>Item</strong> " + counter; | |
counter++; | |
let ordered_list = document.getElementById('myOrderedList'); | |
ordered_item.classList.add("myList"); | |
ordered_list.append(ordered_item); | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am smtx on github. | |
* I am smtx (https://keybase.io/smtx) on keybase. | |
* I have a public key ASBnZMsQYbwGn9r0fmHUCmv6P26aICm9mJWa5g1DcjOXIAo | |
To claim this, I am signing this object: |