Jump to content

Jason Learns Javascript


Jordan
 Share

Recommended Posts

I really want to learn javascript for web development. I'll be using tutorials and posting my progress over the days.

 

http://ilearnjavascript.1-ws.com/

 

Day 1

 

Used a quick guide on W3School

<!DOCTYPE html>
<html>
<body>
<p id="java">Is javascript easy?</p>

<button type="button" onclick="textChange()">Click to get Jason's opinion</button>

<script>
function textChange()
{
document.getElementById("java").innerHTML="<b>Nope. smile.png</b>";
}
</script>

</body>
</html>


 

Day 2

<html>
<body>
<p id="java"></p>

<button type="button" onclick="textChange()">Click to get My opinion</button>

<script>
function textChange()
{
document.getElementById("java").innerHTML="No, it is not.</p>";
}
</script>
<p id"test">Swag</p>
<button type="button" onclick="textChange()">Spoiler</button>

<script>
function textChange()
{
document.getElementById("test").innerHTML:"swagger"
}
</script>


</body>
</html> 

Just played around and got nowhere today :)

Edited by Jason
Link to comment
Share on other sites

Guest Falixus

Best of luck.

Try out Codeacademy, it's a really fun website to learn various languages on. Javascript is included there. 

 

Edited by Falixus
Link to comment
Share on other sites

  • 4 weeks later...
  • 3 weeks later...
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...