repl.it
@JustARatherRidi/

Html and JS Practice

HTML, CSS, JS

Html and JS Practice

fork
loading
Files
  • index.html
  • s.jpeg
  • 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
<html>
<body>

<p>Image to use:</p>

<img id="scream" width="220" height="277"
src="s.jpeg" alt="The Scream">

<p>Canvas:</p>

<canvas id="myCanvas" width="240" height="297"
style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.
</canvas>

<script src="script.js"></script>
</body>
</html>
result
console