WeMo Connect

Setup Menus in Admin Panel

Your second HTML/Javascript page

<html>
<head>
<title>My First HTML Page</title>

</head>
<body>

<h1>YOURNAME Page</h1>
<hr>
<p id=”currentdate”></p>

<h2>My School </h2>
<br><a href=”http://www.myschool.com”>MYSCHOOLNAME</a>

<h2>My Courses</h2>
<br><a href=”http://www.mycourseinformation.com”>MYCOURS1 I FINISHED</a>

<h2>My Sports</h2>
<br><a href=”http://www.sportscluburl.com”>MY SPORTS</a>

<h2>My digital social life</h2>

<br><a href=”http://www.facebook.com/yourname”>Facebook</a>
<br><a href=”http://www.linkedin.com/yourname”>Linkedin</a>
<br><a href=”https://wemoconnect.com”>My wemoconnect profile</a>

<hr>
<h2>Some fun with javascript</h2>

<p id=”result1″></p>
<p id=”result2″></p>
<hr>
<script>
// this will print date
document.getElementById(‘currentdate’).innerHTML = Date()

// this will print result of z
var x = 5;
var y = 6;
var z = x + y;
document.getElementById(“result1”).innerHTML = z;

// this will print text
document.getElementById(“result2”).innerHTML = ‘My nick name is NICKNAME’;

// this will print 50 numbers
var COUNT_START = 1;
var COUNT_END = 25;
var COUNT_INCREMENT = 1;
for (var i = COUNT_START; i <= COUNT_END; i = i + COUNT_INCREMENT)
{
document.write(“->”);
}
document.write (“YOURNAME”);
for (var i = COUNT_START; i <= COUNT_END; i = i + COUNT_INCREMENT)
{
document.write(“<-“);
}
</script>
<hr>
(c) MYNICKNAME/MYFICTITIOUSCOMPANY

</body>
</html>

January 25, 2015

0 Responses on Your second HTML/Javascript page"

    Leave a Message

    Your email address will not be published. Required fields are marked *