minesweeper some progress
This commit is contained in:
parent
96cca8c57a
commit
5f623b19cb
4 changed files with 176 additions and 28 deletions
40
MVC/select.html
Normal file
40
MVC/select.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<style>
|
||||
app {
|
||||
display: grid;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<label for=""></label>
|
||||
<div>Forgrunnsfarge: </div>
|
||||
<select onchange="foreColor=this.value">
|
||||
<option></option>
|
||||
<option value="black">Sort</option>
|
||||
<option value="red">Rød</option>
|
||||
</select>
|
||||
<br>
|
||||
Bakgrunnsfarge: <select name="" id=""></select><br>
|
||||
<button onclick="">Oppdater</button>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
let foreColor = null;
|
||||
let backColor = null;
|
||||
|
||||
updateView()
|
||||
function updateView(){
|
||||
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue