Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser.

Size: px
Start display at page:

Download "Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser."

Transcription

1 Controlled Assessment Task Question 1 - Describe how this HTML code produces the form displayed in the browser. The form s code is displayed in the <body> tags; this creates the object which is the visible part of the web page. It contains the <h1> tag which gives the form its heading. It is set to one the largest font size of the headings. The tag displays the text between the opening and closing tags. Headings are explained here: The form is created through the form tag. The form tag groups the whole form as an object and within it attributes are used to create the action that it will perform. The form tag doesn t create anything visually but it allows for a form to be created. It is given a name so it can be called by the function. The table tag within the form tag creates the visual part of the form. The amount of the page covered horizontally by the table is set with the width attribute which in this form is set to 50% this means that the table will be 50% of the web browser. The border attribute is set to 0 showing no border around the whole table this is usually specified as pixels through using px. The no border just leaves the view of that part of the table blank. The <tr> tag creates an object that contains the table rows which are literally rows in a table. How many columns in this row is specified by the <td> tag. The <td> tag is within the <tr> object because it specifies something within a row. The first <td> tag displays name because this is what is between the two tags. The second <td> tag is the input box from the user and uses the input tag between them to specify what type of data is entered into the box. The type attribute sets what type of input that the programmer wants the user s feedback in. This is set to text which will always create a text field for the user to write in. Tables are explained here: The two buttons named submit and reset are created through the use of another input tag within a <td> tag. The type attribute specifies that it is a submit button which will always create a submit button or if it is set to reset it will always be create a reset button. This alone would just create a button that performs the job of a submit button or reset button but it would not be labelled. For this the form needs the value attribute. The value attribute is used to set the text within the button if this was left blank the button would be the smallest size possible but if there was no value attribute used it would be the default size and value. It is used to create the text of submit and reset in their respective buttons. There is no style attribute used so it will be the default colour, font size and font. HTML elements are described here:

2 Attributes are described here: The head and title tags are described here: Question Two - Describe how the java script function performs the validation check The java if the value of subject is nothing and performs the same job but to the subject object. It changes script function validateform() first creates the variable result which it sets to the Boolean value of true. It then creates a variable called msg which it sets to a string value of nothing. To validate the information is has to perform an if statement which uses the value of name in ExamEntry. It checks if the statement within the brackets is true. It states that if the value of name in exam entry is nothing then the if statement is true. This means that it will perform what is within the curly braces. The curly braces contain a command to add You must enter your name \n to msg. Msg is currently nothing so the addition would be the entire message. It then tells the computer to focus which brings the box to the front and puts the cursor in the box. It then retrieves the name element by its id which is set in the html as name. It sets the colour of the text to red by using document.getelementbyid( name ).style.color= red. It then changes the variable result s value to

3 false. The code then has another if statement which does the same job as the first if statement but for the subject box. It checks subject to red and result to false the same way as the previous if statement but it adds a different message to msg. It adds You must enter the subject \n to msg. If both statements are triggered then both messages will be added one after the other. They are separated by the new line \n. The java script then uses another if statement to check if the variable msg is still nothing. This is basically checking if any of the previous if statements were true because if they were msg would no longer be nothing. If it is nothing and none of the previous if statements were true then it returns result. The return stops the code running and result would still equal true because none of the validation checks had found anything wrong. Because result would equal true it would run the action in the form when the user hit the submit button and they would go to success.html. However if one of the first two if statements had been true then msg would no longer equal nothing and so if (msg== ) { Return result; } would be false and the function would not return result there but it would continue to run because it wouldn t execute return. It would continue to the final part of the code and give a prompt to the user alerting them using alert. The alert would contain msg which would depend on which if statements had been true. It would then return result. Because at least one of the first if statements had been true this means that result would have been changed to false because both if statements do this. Additionally the code would have stopped before the alert if neither had been true. Result being false would prevent the form from performing the action and the user would not go to success.html. Instead, due to focus(), the exam entry page would be brought to the front. Javascript statements are explained: Question 3 Describe how the HTML calls the function The html calls the function valdidateform() by using the submit button. It uses an attribute within the input tag of the submit button. Onclick is used to call validatefrom() it returns validateform() through onclick= return vaidateform(). This calls the function when the input tag of submit is clicked. It then runs the java script. When the submit button is clicked it returns validateform().

4 Question 4 (i) Add another text field to the form to take the user s examination number I added another text field by adding an extra row to the table in the form with the <tr> tag. Then used two <td> tags within this tag to create two columns one for the text field and one for the name next to it. The code is shown in the above image left. The image above right is before the extra text field had been added. The above image shows the extra text field with its name working in the form. It doesn t have any validation checks yet though. The text fields are filled with example inputs so make them easier to see in the image.

5 (ii) Extend the java script code to validate this field to make sure it is not left blank The image above shows the validation check working when the Examination number text field is left blank. It also shows the alert message You must enter your exam number which alerts the user to the fact they have not entered the correct information. The image above left shows the java script code that performs the validation check to see if the text field is empty. Beforehand when submit was clicked and the examination text field was left blank the code would still go to success.html because there was no validation check. The image above right shows the code before I added the validation check. (iii) Extend the java script code to make sure that the user s examination number is exactly 4 digits. The code below shows the if statement to check if the length of the string entered doesn t equal 4. If it doesn t then it shows the alert message and changes the result to false. if (document.examentry.examnumber.value.length!= 4){ msg+="your examination number must be exactly 4 digits \n"; document.examentry.examnumber.focus(); document.getelementbyid('examnumber').style.color="red"; result = false;

6 } I read how to find the length of the string at This gave me the.length part of the code. This code makes sure that anything under 4 characters is not entered because if the length doesn t equal 4 then it will trigger the if statement and change the result to false therefore not entering the input from the user. I got the logical operator of does not equal from here. The image above left shows the code working when the exam number is less than 4 characters. The image above right shows the code working when the input is more than 4 characters. Question 5 Add a set of radio buttons to the form to accept a level of exam entry such as GCSE, AS or A2. Write a function that displays the level of entry to the user in an alert box so that the level can be confirmed or rejected. I had to first check how to code in radio buttons in html. I visited and looked at the radio buttons part of the webpage.

7 <tr> <td id="entrylevel">entry level</td> <td>gcse<input type="radio" name="entrylevel"><br /> AS<input type="radio" name="entrylevel" ><br /> A2<input type="radio" name="entrylevel" ></td> </tr> <tr> Above is the code producing the entry level part of the form. The inputs had to all be nested within a single pair of <td> tags (opening and closing). The <br /> tag makes sure they are all on the same line. The <br /> makes a break in the line.

8 The image above shows the working web page with the radio buttons. The radio buttons are all in a series so that when one is checked and then another is checked instead only one remains checked. This is because they all have the same name. The above code shows the function not working due to the variable name of confirm already being taken by javascript. To solve this the name had to be changed to OkClicked. The variable valueofentrylevel is set to nothing and then the function is defined with the confirm box using var Okclicked = confirm( Message ) This displays the confirm box with the message of You have chosen + value + is this correct? if the clicked radio button was GCSE then the message would be You have chosen GCSE is this correct?. The user would then be presented with the option to confirm using ok or cancel using cancel. The confirm box looks like this: The above images show the code working for all three radio buttons and presenting a different message each time which shows that the function is working.

9 The way to get the value of the radio button was to set a value to the radio buttons in the html using the value attribute and setting it to the string value of the entry level say GCSE. Then I had to use the onclick event which was described here The onclick event calls the function of confirmbox() and when the radio button is clicked it brings up the confirm box. The parameter of the function is value. When the function is called value is set to (this.value) which sets the parameter to the value of the html element that the function is called in. this is used in the examples within This is shown in the below code. I also added an if statement validation check which is shown above and works in the same way as the other if statement validation checks but it checks if the valueofentrylevel is nothing rather than if msg is nothing. Question 6 Produce an evaluation of my solutions <tr> </tr> <td id="examnumber">examination number</td> <td><input type="text" name="examnumber" /></td> My solution to task 4 i) was efficient because I used the same html code as the other text fields. I had to change the individual id of the first <td> element. This is so it can be used by the javascript individually. My solution to 4 ii) is: if (document.examentry.examnumber.value=="") { msg+="you must enter your exam number \n"; document.examentry.examnumber.focus(); document.getelementbyid('examnumber').style.color="red";

10 result = false; } I just used a simple if statement which is the best way I can think of doing it. It uses the same code as the other if statements. I re-named the id to examnumber to make it unique so that it would get the correct element and only that element. I read about identifiers and classes here I used an identifier because this needed to be a unique and classes are used for many different elements. My solution to 4 iii) is: if (document.examentry.examnumber.value.length!= 4){ msg+="your examination number must be exactly 4 digits \n"; document.examentry.examnumber.focus(); document.getelementbyid('examnumber').style.color="red"; result = false; ) } This solution is very efficient because it uses the does not equal sign to make it exactly four digits. This is more efficient than another way because it only uses one conditional and not two. The other way I can think of uses two conditional statements linked together. They would be < 4 and > 4 this has a lot of unneeded code so is less efficient. My solution to the question 5 ) for the radio buttons was: <tr> <td id="entrylevel">entry level</td> <td>gcse<input type="radio" name="entrylevel" value="gcse" onclick="confirmbox(this.value)"><br /> AS<input type="radio" name="entrylevel" value="as" onclick="confirmbox(this.value)"><br /> A2<input type="radio" name="entrylevel" value="a2" onclick="confirmbox(this.value)"></td> </tr> My solution to the javascript confirm box was: var valueofentrylevel = "";

11 function confirmbox(value){ } var OkClicked = confirm("you have chosen " + value +" is this correct?"); if (OkClicked == true){ } valueofentrylevel = value; This is not the most efficient method for producing the confirm box because it produces it before the submit button is pressed. As soon as the radio button is clicked it is produced and is not after the submit button is clicked. This is not very efficient because you have to add a validation if statement as an addition and not part of it. if (valueofentrylevel==""){ } msg+="you need to click your entry level \n"; document.getelementbyid('entrylevel').style.color="red"; result = false; This had to be added afterwards. Another way to do it would be to use an if statement to check if the result from the confirm box is true. It uses an else statement to perform this as the other action of an if statement that checks if the statement is left blank. There is more code in this method but it is a better way of doing it. Question 7 Write a conclusion about the effectiveness of javascript validation routines to reduce the number of errors that are made data input. In my opinion Javascript validation routines are very effective. Javascript is used for billions web pages. One reason is that it is very easy to code. It is easier to learn than other languages like php and can be incorporated directly into HTML because it was designed to do so. The code is a lot easier to write because the syntax is reasonably simple compared to languages like php. This means that it is easier to validate web forms. An example is when you compare if statements javascript is closer to English.

12 The javascript is on the right and so is more effective at web validations to web validations. They are also effective because they successfully reduced the amount of errors that can be entered into the exam form. For example, you can no longer enter an exam number lower or higher than 4 digits. This is very successful and easy to do with a simple operator:!=. Here is the if statement: if (document.examentry.examnumber.value.length!= 4){ } msg+="your examination number must be exactly 4 digits \n"; document.examentry.examnumber.focus(); document.getelementbyid('examnumber').style.color="red"; result = false; As you can see the code is quite concise and it is very efficient in the job that it does. However, there was a lot of code needed to be typed in order for only one thing to be validated. There needs to be code for each if statement that does the same job which is focusing on the element and making the title name for it red. This code is repeated for every single if statement. This means that it is not entirely efficient.

13 As you can see the code is used over and over for each different if statement which is inefficient. However overall, I think that javascript is very effective at reducing errors in web validation even though there is much repetition. This is because it successfully reduced the errors within the exam entry and is easy to learn and code because of its simple syntax.

Exercise 1 Using Boolean variables, incorporating JavaScript code into your HTML webpage and using the document object

Exercise 1 Using Boolean variables, incorporating JavaScript code into your HTML webpage and using the document object CS1046 Lab 5 Timing: This lab should take you approximately 2 hours. Objectives: By the end of this lab you should be able to: Recognize a Boolean variable and identify the two values it can take Calculate

More information

ORB Education Quality Teaching Resources

ORB Education Quality Teaching Resources JavaScript is one of the programming languages that make things happen in a web page. It is a fantastic way for students to get to grips with some of the basics of programming, whilst opening the door

More information

c122mar413.notebook March 06, 2013

c122mar413.notebook March 06, 2013 These are the programs I am going to cover today. 1 2 Javascript is embedded in HTML. The document.write() will write the literal Hello World! to the web page document. Then the alert() puts out a pop

More information

Assignments (4) Assessment as per Schedule (2)

Assignments (4) Assessment as per Schedule (2) Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like

More information

Dynamism and Detection

Dynamism and Detection 1 Dynamism and Detection c h a p t e r ch01 Page 1 Wednesday, June 23, 1999 2:52 PM IN THIS CHAPTER Project I: Generating Platform-Specific Content Project II: Printing Copyright Information and Last-Modified

More information

(Refer Slide Time: 01:40)

(Refer Slide Time: 01:40) Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #25 Javascript Part I Today will be talking about a language

More information

Lab 8 CSE 3,Fall 2017

Lab 8 CSE 3,Fall 2017 Lab 8 CSE 3,Fall 2017 In this lab we are going to take what we have learned about both HTML and JavaScript and use it to create an attractive interactive page. Today we will create a web page that lets

More information

Advanced Web Tutorial 1 Editor Brackets / Visual Code

Advanced Web Tutorial 1 Editor Brackets / Visual Code Advanced Web Tutorial 1 Editor Brackets / Visual Code Goals Create a website showcasing the following techniques - Liquid Layout - Z-index - Visibility Website - Create a folder on the desktop called tutorial

More information

Programming Lab 1 (JS Hwk 3) Due Thursday, April 28

Programming Lab 1 (JS Hwk 3) Due Thursday, April 28 Programming Lab 1 (JS Hwk 3) Due Thursday, April 28 Lab You may work with partners for these problems. Make sure you put BOTH names on the problems. Create a folder named JSLab3, and place all of the web

More information

JavaScript Functions, Objects and Array

JavaScript Functions, Objects and Array JavaScript Functions, Objects and Array Defining a Function A definition starts with the word function. A name follows that must start with a letter or underscore, followed by any number of letters, digits,

More information

introjs.notebook March 02, 2014

introjs.notebook March 02, 2014 1 document.write() uses the write method to write on the document. It writes the literal Hello World! which is enclosed in quotes since it is a literal and then enclosed in the () of the write method.

More information

HTML Forms. 10 September, Dr Derek Peacock. This is a short introduction into creating simple HTML forms. Most of the content is

HTML Forms. 10 September, Dr Derek Peacock. This is a short introduction into creating simple HTML forms. Most of the content is This is a short introduction into creating simple HTML forms. Most of the content is based on HTML, with a few HTML5 additions. 1 Forms should be given a Name and an ID to make it easier to code their

More information

CSC 121 Computers and Scientific Thinking

CSC 121 Computers and Scientific Thinking CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language

More information

ITEC447 Web Projects CHAPTER 9 FORMS 1

ITEC447 Web Projects CHAPTER 9 FORMS 1 ITEC447 Web Projects CHAPTER 9 FORMS 1 Getting Interactive with Forms The last few years have seen the emergence of the interactive web or Web 2.0, as people like to call it. The interactive web is an

More information

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4 Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML 4.01 Version: 4.01 Transitional Hypertext Markup Language is the coding behind web publishing. In this tutorial, basic knowledge of HTML will be covered

More information

1. Cascading Style Sheet and JavaScript

1. Cascading Style Sheet and JavaScript 1. Cascading Style Sheet and JavaScript Cascading Style Sheet or CSS allows you to specify styles for visual element of the website. Styles specify the appearance of particular page element on the screen.

More information

Introduction to using HTML to design webpages

Introduction to using HTML to design webpages Introduction to using HTML to design webpages #HTML is the script that web pages are written in. It describes the content and structure of a web page so that a browser is able to interpret and render the

More information

Week 13 Thursday (with Page 5 corrections)

Week 13 Thursday (with Page 5 corrections) Week 13 Thursday (with Page 5 corrections) Quizzes: HTML/CSS and JS available and due before 10 pm next Tuesday, May 1 st. You may do your own web research to answer, but do not ask classmates, friends,

More information

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its

More information

Programming language components

Programming language components Programming language components syntax: grammar rules for defining legal statements what's grammatically legal? how are things built up from smaller things? semantics: what things mean what do they compute?

More information

Task 1. Set up Coursework/Examination Weights

Task 1. Set up Coursework/Examination Weights Lab02 Page 1 of 6 Lab 02 Student Mark Calculation HTML table button textbox JavaScript comments function parameter and argument variable naming Number().toFixed() Introduction In this lab you will create

More information

JS Lab 1: (Due Thurs, April 27)

JS Lab 1: (Due Thurs, April 27) JS Lab 1: (Due Thurs, April 27) For this lab, you may work with a partner, or you may work alone. If you choose a partner, this will be your partner for the final project. If you choose to do it with a

More information

Client Side Scripting. The Bookshop

Client Side Scripting. The Bookshop Client Side Scripting The Bookshop Introduction This assignment is a part of three assignments related to the bookshop website. Currently design part (using HTML and CSS) and server side script (using

More information

By Ryan Stevenson. Guidebook #2 HTML

By Ryan Stevenson. Guidebook #2 HTML By Ryan Stevenson Guidebook #2 HTML Table of Contents 1. HTML Terminology & Links 2. HTML Image Tags 3. HTML Lists 4. Text Styling 5. Inline & Block Elements 6. HTML Tables 7. HTML Forms HTML Terminology

More information

COMP1000 Mid-Session Test 2017s1

COMP1000 Mid-Session Test 2017s1 COMP1000 Mid-Session Test 2017s1 Total Marks: 45 Duration: 55 minutes + 10 min reading time This examination has three parts: Part 1: 15 Multiple Choice Questions (15 marks /45) Part 2: Practical Excel

More information

PIC 40A. Midterm 1 Review

PIC 40A. Midterm 1 Review PIC 40A Midterm 1 Review XHTML and HTML5 Know the structure of an XHTML/HTML5 document (head, body) and what goes in each section. Understand meta tags and be able to give an example of a meta tags. Know

More information

Arrays/Branching Statements Tutorial:

Arrays/Branching Statements Tutorial: Arrays/Branching Statements Tutorial: In the last tutorial, you created a button that, when you clicked on it (the onclick event), changed another image on the page. What if you have a series of pictures

More information

BEGINNER PHP Table of Contents

BEGINNER PHP Table of Contents Table of Contents 4 5 6 7 8 9 0 Introduction Getting Setup Your first PHP webpage Working with text Talking to the user Comparison & If statements If & Else Cleaning up the game Remembering values Finishing

More information

Student, Perfect CS-081 Final Exam May 21, 2010 Student ID: 9999 Exam ID: 3122 Page 1 of 6 Instructions:

Student, Perfect CS-081 Final Exam May 21, 2010 Student ID: 9999 Exam ID: 3122 Page 1 of 6 Instructions: Student ID: 9999 Exam ID: 3122 Page 1 of 6 Instructions: Use pencil. Answer all questions: there is no penalty for guessing. Unless otherwise directed, circle the letter of the one best answer for multiplechoice

More information

ICT IGCSE Practical Revision Presentation Web Authoring

ICT IGCSE Practical Revision Presentation Web Authoring 21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:

More information

Table Basics. The structure of an table

Table Basics. The structure of an table TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that

More information

Dreamweaver: Web Forms

Dreamweaver: Web Forms Dreamweaver: Web Forms Introduction Web forms allow your users to type information into form fields on a web page and send it to you. Dreamweaver makes it easy to create them. This workshop is a follow-up

More information

Client Side JavaScript and AJAX

Client Side JavaScript and AJAX Client Side JavaScript and AJAX Client side javascript is JavaScript that runs in the browsers of people using your site. So far all the JavaScript code we've written runs on our node.js server. This is

More information

Creating Web Pages Using HTML

Creating Web Pages Using HTML Creating Web Pages Using HTML HTML Commands Commands are called tags Each tag is surrounded by Some tags need ending tags containing / Tags are not case sensitive, but for future compatibility, use

More information

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example.

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example. Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example. Sorry about these half rectangle shapes a Smartboard issue today. To

More information

a.) All main headings should be italicized. h1 {font-style: italic;} Use an ordinary selector. HTML will need no alteration.

a.) All main headings should be italicized. h1 {font-style: italic;} Use an ordinary selector. HTML will need no alteration. This is an open-book, open-notes exam. FINAL EXAMINATION KEY MAY 2007 CSC 105 INTERACTIVE WEB DOCUMENTS NICHOLAS R. HOWE All answers should be written in your exam booklet(s). Start with the questions

More information

A Balanced Introduction to Computer Science, 3/E

A Balanced Introduction to Computer Science, 3/E A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 2 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is

More information

Lesson 7: If Statement and Comparison Operators

Lesson 7: If Statement and Comparison Operators JavaScript 101 7-1 Lesson 7: If Statement and Comparison Operators OBJECTIVES: In this lesson you will learn about Branching or conditional satements How to use the comparison operators: ==,!=, < ,

More information

ORB Education Quality Teaching Resources

ORB Education Quality Teaching Resources These basic resources aim to keep things simple and avoid HTML and CSS completely, whilst helping familiarise students with what can be a daunting interface. The final websites will not demonstrate best

More information

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links Using Dreamweaver CC 4 Creating a Template Now that the main page of our website is complete, we need to create the rest of the pages. Each of them will have a layout that follows the plan shown below.

More information

extc Web Developer Rapid Web Application Development and Ajax Framework Using Ajax

extc Web Developer Rapid Web Application Development and Ajax Framework Using Ajax extc Web Developer Rapid Web Application Development and Ajax Framework Version 3.0.546 Using Ajax Background extc Web Developer (EWD) is a rapid application development environment for building and maintaining

More information

M275 - Web Development using PHP and MySQL

M275 - Web Development using PHP and MySQL Arab Open University Faculty of computer Studies M275 - Web Development using PHP and MySQL Chapter 6 Flow Control Functions in PHP Summary This is a supporting material to chapter 6. This summary will

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

LAB Test 1. Rules and Regulations:-

LAB Test 1. Rules and Regulations:- LAB Test 1 Rules and Regulations:- 1. Individual Test 2. Start at 3.10 pm until 4.40 pm (1 Hour and 30 Minutes) 3. Open note test 4. Send the answer to h.a.sulaiman@ieee.org a. Subject: [LabTest] Your

More information

HTMLnotesS15.notebook. January 25, 2015

HTMLnotesS15.notebook. January 25, 2015 The link to another page is done with the

More information

Introduction to Web Development

Introduction to Web Development Introduction to Web Development Lecture 1 CGS 3066 Fall 2016 September 8, 2016 Why learn Web Development? Why learn Web Development? Reach Today, we have around 12.5 billion web enabled devices. Visual

More information

This is an open-book, open-notes, open-computer exam. You may not consult with anyone other than the instructor while working on this exam.

This is an open-book, open-notes, open-computer exam. You may not consult with anyone other than the instructor while working on this exam. FINAL EXAM KEY SPRING 2016 CSC 105 INTERACTIVE WEB DOCUMENTS NICHOLAS R. HOWE This is an open-book, open-notes, open-computer exam. You may not consult with anyone other than the instructor while working

More information

GoLive will first ask you if your new site will be for one individual or a work group; select for a Single User, and click Next.

GoLive will first ask you if your new site will be for one individual or a work group; select for a Single User, and click Next. Getting Started From the Start menu, located the Adobe folder which should contain the Adobe GoLive 6.0 folder. Inside this folder, click Adobe GoLive 6.0. GoLive will open to its initial project selection

More information

COM1004 Web and Internet Technology

COM1004 Web and Internet Technology COM1004 Web and Internet Technology When a user submits a web form, how do we save the information to a database? How do we retrieve that data later? ID NAME EMAIL MESSAGE TIMESTAMP 1 Mike mike@dcs Hi

More information

Student, Perfect Final Exam May 25, 2006 ID: Exam No CS-081/Vickery Page 1 of 6

Student, Perfect Final Exam May 25, 2006 ID: Exam No CS-081/Vickery Page 1 of 6 Student, Perfect Final Exam May 25, 2006 ID: 9999. Exam No. 3193 CS-081/Vickery Page 1 of 6 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives aid on

More information

Web API Lab. The next two deliverables you shall write yourself.

Web API Lab. The next two deliverables you shall write yourself. Web API Lab In this lab, you shall produce four deliverables in folder 07_webAPIs. The first two deliverables should be pretty much done for you in the sample code. 1. A server side Web API (named listusersapi.jsp)

More information

Chapter 3 - Simple JavaScript - Programming Basics. Lesson 1 - JavaScript: What is it and what does it look like?

Chapter 3 - Simple JavaScript - Programming Basics. Lesson 1 - JavaScript: What is it and what does it look like? Chapter 3 - Simple JavaScript - Programming Basics Lesson 1 - JavaScript: What is it and what does it look like? PP presentation JavaScript.ppt. Lab 3.1. Lesson 2 - JavaScript Comments, document.write(),

More information

ADOBE DREAMWEAVER CS4 BASICS

ADOBE DREAMWEAVER CS4 BASICS ADOBE DREAMWEAVER CS4 BASICS Dreamweaver CS4 2 This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site layout,

More information

(try adding using css to add some space between the bottom of the art div and the reset button, this can be done using Margins)

(try adding using css to add some space between the bottom of the art div and the reset button, this can be done using Margins) Pixel Art Editor Extra Challenges 1. Adding a Reset button Add a reset button to your HTML, below the #art div. Pixels go here reset The result should look something

More information

HTML 5 Form Processing

HTML 5 Form Processing HTML 5 Form Processing In this session we will explore the way that data is passed from an HTML 5 form to a form processor and back again. We are going to start by looking at the functionality of part

More information

A. Using technology correctly, so that your site will still function for users who don t have these technologies

A. Using technology correctly, so that your site will still function for users who don t have these technologies 1. What does graceful degradation mean in the context of our class? A. Using technology correctly, so that your site will still function for users who don t have these technologies B. Eliminating the implementation

More information

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI INDEX No. Title Pag e No. 1 Implements Basic HTML Tags 3 2 Implementation Of Table Tag 4 3 Implementation Of FRAMES 5 4 Design A FORM

More information

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application. Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address

More information

Decision Making in C

Decision Making in C Decision Making in C Decision making structures require that the programmer specify one or more conditions to be evaluated or tested by the program, along with a statement or statements to be executed

More information

Dynamic Form Processing Tool Version 5.0 November 2014

Dynamic Form Processing Tool Version 5.0 November 2014 Dynamic Form Processing Tool Version 5.0 November 2014 Need more help, watch the video! Interlogic Graphics & Marketing (719) 884-1137 This tool allows an ICWS administrator to create forms that will be

More information

<form>. input elements. </form>

<form>. input elements. </form> CS 183 4/8/2010 A form is an area that can contain form elements. Form elements are elements that allow the user to enter information (like text fields, text area fields, drop-down menus, radio buttons,

More information

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Chapter4: HTML Table and Script page, HTML5 new forms Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Objective To know HTML5 creating a new style form. To understand HTML table benefits

More information

CS1046 Lab 4. Timing: This lab should take you 85 to 130 minutes. Objectives: By the end of this lab you should be able to:

CS1046 Lab 4. Timing: This lab should take you 85 to 130 minutes. Objectives: By the end of this lab you should be able to: CS1046 Lab 4 Timing: This lab should take you 85 to 130 minutes. Objectives: By the end of this lab you should be able to: Define the terms: function, calling and user-defined function and predefined function

More information

CGS 3066: Spring 2015 JavaScript Reference

CGS 3066: Spring 2015 JavaScript Reference CGS 3066: Spring 2015 JavaScript Reference Can also be used as a study guide. Only covers topics discussed in class. 1 Introduction JavaScript is a scripting language produced by Netscape for use within

More information

Things to note: Each week Xampp will need to be installed. Xampp is Windows software, similar software is available for Mac, called Mamp.

Things to note: Each week Xampp will need to be installed. Xampp is Windows software, similar software is available for Mac, called Mamp. Tutorial 8 Editor Brackets Goals Introduction to PHP and MySql. - Set up and configuration of Xampp - Learning Data flow Things to note: Each week Xampp will need to be installed. Xampp is Windows software,

More information

E-Business Systems 1 INTE2047 Lab Exercises. Lab 5 Valid HTML, Home Page & Editor Tables

E-Business Systems 1 INTE2047 Lab Exercises. Lab 5 Valid HTML, Home Page & Editor Tables Lab 5 Valid HTML, Home Page & Editor Tables Navigation Topics Covered Server Side Includes (SSI) PHP Scripts menu.php.htaccess assessment.html labtasks.html Software Used: HTML Editor Background Reading:

More information

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph. What is HTML? Web Design 101 HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language à A markup language is a set of markup tags The tags describe

More information

COMP : Practical 8 ActionScript II: The If statement and Variables

COMP : Practical 8 ActionScript II: The If statement and Variables COMP126-2006: Practical 8 ActionScript II: The If statement and Variables The goal of this practical is to introduce the ActionScript if statement and variables. If statements allow us to write scripts

More information

Using Dreamweaver CC. 5 More Page Editing. Bulleted and Numbered Lists

Using Dreamweaver CC. 5 More Page Editing. Bulleted and Numbered Lists Using Dreamweaver CC 5 By now, you should have a functional template, with one simple page based on that template. For the remaining pages, we ll create each page based on the template and then save each

More information

Problem 1: Textbook Questions [4 marks]

Problem 1: Textbook Questions [4 marks] Problem 1: Textbook Questions [4 marks] Answer the following questions from Fluency with Information Technology. Chapter 3, Short Answer #8: A company that supplies connections to the Internet is called

More information

OU EDUCATE TRAINING MANUAL

OU EDUCATE TRAINING MANUAL OU EDUCATE TRAINING MANUAL OmniUpdate Web Content Management System El Camino College Staff Development 310-660-3868 Course Topics: Section 1: OU Educate Overview and Login Section 2: The OmniUpdate Interface

More information

COMS 359: Interactive Media

COMS 359: Interactive Media COMS 359: Interactive Media Agenda Project #3 Review Forms (con t) CGI Validation Design Preview Project #3 report Who is your client? What is the project? Project Three action= http://...cgi method=

More information

JavaScript: Tutorial 5

JavaScript: Tutorial 5 JavaScript: Tutorial 5 In tutorial 1 you learned: 1. How to add javascript to your html code 2. How to write a function in js 3. How to call a function in your html using onclick() and buttons 4. How to

More information

STD 7 th Paper 1 FA 4

STD 7 th Paper 1 FA 4 STD 7 th Paper 1 FA 4 Choose the correct option from the following 1 HTML is a. A Data base B Word Processor C Language D None 2 is a popular text editor in MS window A Notepad B MS Excel C MS Outlook

More information

CITS3403 Agile Web Development Semester 1, 2018

CITS3403 Agile Web Development Semester 1, 2018 Javascript Event Handling CITS3403 Agile Web Development Semester 1, 2018 Event Driven Programming Event driven programming or event based programming programming paradigm in which the flow of the program

More information

Using Dreamweaver. 3 Basic Page Editing. Planning. Viewing Different Design Styles

Using Dreamweaver. 3 Basic Page Editing. Planning. Viewing Different Design Styles Using Dreamweaver 3 Now that you should know some basic HTML, it s time to get in to using the general editing features of Dreamweaver. In this section we ll create a basic website for a small business.

More information

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100 Introduction to Multimedia MMP100 Spring 2016 profehagan@gmail.com thiserichagan.com/mmp100 Troubleshooting Check your tags! Do you have a start AND end tags? Does everything match? Check your syntax!

More information

Using Adobe Contribute 4 A guide for new website authors

Using Adobe Contribute 4 A guide for new website authors Using Adobe Contribute 4 A guide for new website authors Adobe Contribute allows you to easily update websites without any knowledge of HTML. This handout will provide an introduction to Adobe Contribute

More information

PIC 40A. Lecture 4b: New elements in HTML5. Copyright 2011 Jukka Virtanen UCLA 1 04/09/14

PIC 40A. Lecture 4b: New elements in HTML5. Copyright 2011 Jukka Virtanen UCLA 1 04/09/14 PIC 40A Lecture 4b: New elements in HTML5 04/09/14 Copyright 2011 Jukka Virtanen UCLA 1 Sectioning elements HTML 5 introduces a lot of sectioning elements. Meant to give more meaning to your pages. People

More information

COMS 469: Interactive Media II

COMS 469: Interactive Media II COMS 469: Interactive Media II Agenda Review Data Types & Variables Decisions, Loops, and Functions Review gunkelweb.com/coms469 Review Basic Terminology Computer Languages Interpreted vs. Compiled Client

More information

1. Consider the following code snippet. Describe what the user will see when it is executed.

1. Consider the following code snippet. Describe what the user will see when it is executed. These are some practice problems for your final. These problems only cover the "new" material we have covered since the last exam. However, your final will be cumulative, with approximately 50% on the

More information

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet.

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet. Mr G s Java Jive #2: Yo! Our First Program With this handout you ll write your first program, which we ll call Yo. Programs, Classes, and Objects, Oh My! People regularly refer to Java as a language that

More information

Javascript in the Corvid Servlet Runtime Templates

Javascript in the Corvid Servlet Runtime Templates Javascript in the Corvid Servlet Runtime Templates A system demonstrating this How To can be run under the Javascript in the Corvid Servlet Runtime Templates section of: http://www.exsys.com/support/howto

More information

ICT IGCSE Practical Revision Presentation Web Authoring

ICT IGCSE Practical Revision Presentation Web Authoring 21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:

More information

Place User-Defined Functions in the HEAD Section

Place User-Defined Functions in the HEAD Section JavaScript Functions Notes (Modified from: w3schools.com) A function is a block of code that will be executed when "someone" calls it. In JavaScript, we can define our own functions, called user-defined

More information

University of Washington, CSE 190 M Homework Assignment 8: Baby Names

University of Washington, CSE 190 M Homework Assignment 8: Baby Names University of Washington, CSE 190 M Homework Assignment 8: Baby Names This assignment is about using Ajax to fetch data from files and web services in text, HTML, XML, and JSON formats. You must match

More information

Forms iq Designer Training

Forms iq Designer Training Forms iq Designer Training Copyright 2008 Feith Systems and Software, Inc. All Rights Reserved. No part of this publication may be reproduced, transmitted, stored in a retrieval system, or translated into

More information

CS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB!

CS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! CS 1033 Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Lab 06: Introduction to KompoZer (Website Design - Part 3 of 3) Lab 6 Tutorial 1 In this lab we are going to learn

More information

Frontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević

Frontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević Frontend guide Everything you need to know about HTML, CSS, JavaScript and DOM Dejan V Čančarević Today frontend is treated as a separate part of Web development and therefore frontend developer jobs are

More information

Forms. Section 3: Deleting a Category

Forms. Section 3: Deleting a Category 9. If a category was NOT previously published, Authors may modify it by following the same procedures as an Administrator or Publisher. When the category is ready for publishing an Author must Save and

More information

FOUNDATION OF INFORMATION TECHNOLOGY

FOUNDATION OF INFORMATION TECHNOLOGY Series NVEQF Code No. 553 Roll No. Candidates must write the Code on the title page of the answer-book. Please check that this question paper contains 8 printed pages. Code number given on the right hand

More information

JavaScript Introduction

JavaScript Introduction JavaScript Introduction What is JavaScript? JavaScript was designed to add interactivity to HTML pages JavaScript is usually embedded directly into HTML pages JavaScript is an interpreted language (means

More information

EVENT-DRIVEN PROGRAMMING

EVENT-DRIVEN PROGRAMMING LESSON 13 EVENT-DRIVEN PROGRAMMING This lesson shows how to package JavaScript code into self-defined functions. The code in a function is not executed until the function is called upon by name. This is

More information

Q1. What is JavaScript?

Q1. What is JavaScript? Q1. What is JavaScript? JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight programming language JavaScript is usually embedded

More information

Control Structures. Code can be purely arithmetic assignments. At some point we will need some kind of control or decision making process to occur

Control Structures. Code can be purely arithmetic assignments. At some point we will need some kind of control or decision making process to occur Control Structures Code can be purely arithmetic assignments At some point we will need some kind of control or decision making process to occur C uses the if keyword as part of it s control structure

More information

HTML and CSS a further introduction

HTML and CSS a further introduction HTML and CSS a further introduction By now you should be familiar with HTML and CSS and what they are, HTML dictates the structure of a page, CSS dictates how it looks. This tutorial will teach you a few

More information

MyDispense User Guide

MyDispense User Guide MyDispense User Guide 1 About MyDispense MyDispense is an online pharmacy simulation that allows you to develop and to practise your dispensing skills. It provides a safe environment in which you may make

More information

Web Design and Implementation

Web Design and Implementation Study Guide 3 - HTML and CSS - Chap. 13-15 Name: Alexia Bernardo Due: Start of class - first day of week 5 Your HTML files must be zipped and handed in to the Study Guide 3 dropbox. Chapter 13 - Boxes

More information

Random number generation, Math object and methods, HTML elements in motion, setinterval and clearinterval

Random number generation, Math object and methods, HTML elements in motion, setinterval and clearinterval Lab04 - Page 1 of 6 Lab 04 Monsters in a Race Random number generation, Math object and methods, HTML elements in motion, setinterval and clearinterval Additional task: Understanding pass-by-value Introduction

More information

Shorthand for values: variables

Shorthand for values: variables Chapter 2 Shorthand for values: variables 2.1 Defining a variable You ve typed a lot of expressions into the computer involving pictures, but every time you need a different picture, you ve needed to find

More information