Skip to the content.

Javascript Attempt 1

Tools and Software Development for Sprint 1

Hacks Tootls % Equipment:

<html>
<body>

<p id="demo"></p>

<button type="button" onclick="document.getElementById('demo').innerHTML = new Date()">Click me to display Date and Time</button>

</body>
</html>

  Cell In [10], line 1
    <html>
    ^
SyntaxError: invalid syntax