Tuesday, November 26, 2013
SOFT6007 HTML Validator
You can check your HTML at validator.w3.org or you can do view source in most browsers and errors will be highlighted.
SOFT6007 Assignment 2 extension
The specification for assignment 2 states that the deadline in this Friday. But on Blackboard it says Dec 6. Noon on Dec 5 is the new deadline.
SOFT6007 Class 41
Students did an in class exercise in groups in preparation for next week's exam
SOFT6007 Web Development Fundamentals
Assessment 3
This is a one-sheet exam. Students are permitted to bring one sheet of A4 notes (front and back) into the exam. Students must hand up this question sheet and the sheet of notes with their answer books.
craps.html is a web page with JavaScript code that simulates the throw of two dice. If the sum of the dice is 7 then the text shows “You Win!” and it shows “You Lose” otherwise. When the button “Pull” is clicked a function pull is called to change the appearance of the page using the Document Object Model (DOM).
The HTML for the page is shown below, but the code for the pull function is not shown. Write in your answer book the code for the pull function.
The dice images are named die1.png, die2.png, die3.png, die4.png, die5.png, die6.png.
<html>
<head><title>Game of Craps</title>
<script type="text/javascript">
function pull()
{
}
</script>
</head>
<body>
<div id="fisrt"><img src="dice1.png" name="die1" id="d1" width="100" height="100" alt="slot" /></div>
<div id="second"><img src="dice1.png" name="die2" id="d2" width="100" height="100" alt="slot" /></div>
<br/><br/><br/><br/>
<button type="button" onclick="pull()">Pull</button>
<div id="sometext">Blah blah blah</div>
</body>
</html>
SOFT6007 Web Development Fundamentals
Assessment 3
This is a one-sheet exam. Students are permitted to bring one sheet of A4 notes (front and back) into the exam. Students must hand up this question sheet and the sheet of notes with their answer books.
craps.html is a web page with JavaScript code that simulates the throw of two dice. If the sum of the dice is 7 then the text shows “You Win!” and it shows “You Lose” otherwise. When the button “Pull” is clicked a function pull is called to change the appearance of the page using the Document Object Model (DOM).
The HTML for the page is shown below, but the code for the pull function is not shown. Write in your answer book the code for the pull function.
The dice images are named die1.png, die2.png, die3.png, die4.png, die5.png, die6.png.
<html>
<head><title>Game of Craps</title>
<script type="text/javascript">
function pull()
{
}
</script>
</head>
<body>
<div id="fisrt"><img src="dice1.png" name="die1" id="d1" width="100" height="100" alt="slot" /></div>
<div id="second"><img src="dice1.png" name="die2" id="d2" width="100" height="100" alt="slot" /></div>
<br/><br/><br/><br/>
<button type="button" onclick="pull()">Pull</button>
<div id="sometext">Blah blah blah</div>
</body>
</html>
Monday, November 25, 2013
SOFT6007 DWEB1 Class 42
I arrived quite late. Sorry about that.
Students worked on the assignment. I briefly met with each student.
I asked students to verify that they can submit the assignment using Blackboard.
I asked students to verify that they can submit the assignment using Blackboard.
SOFT6008 COM2A Class 42 & 43
Students worked on the assignment. I met with each student to review progress
SOFT6008 Class 41
I started the class with a Q&A session, but no body had any questions.
We looked at the rest of the tile game.
I reminded students to verify that they are able to submit the assignment using Blackboard.
I reminded students to verify that they are able to submit the assignment using Blackboard.
We finished up a bit early because I gave nothing more to say about JavaScript.
Next week's class will be a Q&A session.
Friday, November 22, 2013
SOFT6008 COM2B Class 39 & 40
Students worked on the assignment. We had to move after the first hour to accommodate open day
Thursday, November 21, 2013
SOFT6008 COM2B Class 38
Students worked on the assignment. I met with each student to discuss progress, but didn't have as much time as I would have liked for each. Maybe tomorrow.
Wednesday, November 20, 2013
SOFT6007 DWEB1/ITM1 Assessment 3
Assessment will be an in-class written exam on Tuesday of Week 12, 03 December 2013 at 1100. Please be on-time or even early.
The exam will be on JavaScript. Students will be expected to understand how to
The exam will be on JavaScript. Students will be expected to understand how to
- generate random numbers
- modify images and text on the page using the DOM
- code decisions (IF)
SOFT6008 DWEB2 Class 39 & 40
Students worked on the assignment. I met with each student to review the progress
Tuesday, November 19, 2013
Monday, November 18, 2013
SOFT6008 Class37
We looked at form validation again in more detail.
I talked students through some of the tile game example.
It was a small bit dull really.
I talked students through some of the tile game example.
It was a small bit dull really.
Subscribe to:
Posts (Atom)