@MarkelL/

Windows 10

HTML, CSS, JS

Trying to emulate windows 10

fork
loading
Files
  • index.html
  • imgs
  • highlight.js
  • script.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
22222322<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Windows 10</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <div id='mycomputer' class='appicon' onmousedown="clicked(mycomputer);">
    <img src='imgs/mycomputer.png' class='icon' id='mydivheader'>
    <p>This PC</p>
    </div>

    <div id='trashbin' class='appicon' onclick="clicked(trashbin);">
    <img src='imgs/trashbin.png' class='icon' id='mydivheader'>
    <p>Trash</p>
    </div>

    <div id='explorer' class='appicon' onclick="clicked(explorer);">
    <img src='imgs/explorer.png' class='icon' id='mydivheader'>
    <p>File explorer</p>
    </div>

    <div id='controlpanel' class='appicon' onclick="clicked(controlpanel);">
    <img src='imgs/controlpanel.png' class='icon' id='mydivheader'>
    <p>Control Panel</p>
    </div>

    <img src='imgs/win10background.jpg' id='background' ondragstart="return false;" onmousedown='backClicked()'>
    
    <script src="highlight.js"></script>
    <script src="script.js"></script>
    
  </body>
</html>
result
console