Skip to content

Instantly share code, notes, and snippets.

@sun1shayina
Created February 11, 2018 21:38
Show Gist options
  • Save sun1shayina/258fe2ff0af8caf6e38191394040429e to your computer and use it in GitHub Desktop.
Save sun1shayina/258fe2ff0af8caf6e38191394040429e to your computer and use it in GitHub Desktop.
Create an HTML page with just an <h1>. Use JavaScript to create 3 sentences on separate lines. On another line, use JS to generate a random whole number.
document.write(Math.floor(Math.random()*4));
<!DOCTYPE html>
<html>
<head>
<title>upload </title>
<script type="text/javascript" src="all.js"></script>
</head>
<body>
<h1>javascript is the best easy language <br>
We already know about many things for the front end <br>
now we are going to learn back end
</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment