Monday, 23 November 2015

Video introduction of my blog






Make an Ifstatement in Java

<html>
<body>
<script type="text/javascript">
var d = new Date();
var time = d.getHours();
if (time<10)
{
document.write("<b>Good morning</b>");
}
else
{
document.write("<b>Good day</b>");
}
</script>




















This is what it should look like when its completed


Sunday, 22 November 2015

Screencasts on Toggl and Yammer


This is my screencast on Toggl



This is my screencast on Yammer



Promptbox in Java

<html>
<head>
<script type="text/javascript">
function disp_prompt()
{
var fname=prompt("Please enter your name:","Edmund")
document.getElementById("msg").innerHTML="Greeting, " +
fname
}
</script>
<head>
<body>
<input type="button" onclick="disp_prompt()" value="Display a prompt box" />
<br /><br />
<div id="msg"></div>















This is what it should should like when completed


forloop in Java

<html>
<body>
<script type="text/javascript">
for (i = 0; i <= 5; i++)
{
document.write("The number is" + i);
document.write("<br />");
}

</script>



This is what it should look like when the code has been implemented





Friday, 13 November 2015

HTML hrefs

<html>
<body>
<p><a href="http:gmit.ie">Look it up!</a></p>
</body>
















When finished it should look like this



Headings in HTML

<html>
<body>

<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
<h4>This is a heading</h4>
</body>

















This is what it should look like when completed