100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Essay

Client Side Customisation Assignment 2

Rating
-
Sold
-
Pages
7
Grade
A
Uploaded on
27-06-2022
Written in
2018/2019

The document contains all criteria for assignment 2: P3, M2, D1. I received full marks for this assignment.

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Study Level
Examinator
Subject
Unit

Document information

Uploaded on
June 27, 2022
Number of pages
7
Written in
2018/2019
Type
Essay
Professor(s)
Unknown
Grade
A

Subjects

Content preview

BTEC Level 3 Diploma and Extended Diploma in IT Practitioners Software Development
Unit 20 Client-Side Customisation of Web Pages
ASSIGNMENT 2 Scripting Language template (P3)

Task 1 - Using examples from your practice websites or the internet explain the main features of the JavaScript / jQuery scripting language (P3).

Date: 29/03/2019

1. What is the purpose of a scripting language in web design? (what are scripts used for, what are the benefits to users?}

Answer
Using scripts in web design is there to change the behaviour aspects of the webpage. An example could be an accordion and how that works but then
there are also features of changing the way something looks and displays itself. The benefits are that the styles can be changed so that the website can
be specific to what’s being talked about or what the topic is. Overall, it means that the website is more interactive, instead of just being a stack website.
By this I mean that there can be pop-ups that make the user click on them or it could be something as simple as adding buttons to the page.


2. How can a scripting language be added to a HTML page? (there are 3 methods of adding scripting to a page)

Method Explain how the script is added to the page Screen shot of script code added to the page
External An external style in JQuery is set up in this format, where
you call the script from another file. With the code example
I used it can be called with one line but there are AJAX and
Dynamic loading which can be done differently.

Internal An internal style in JQuery is set up in a format where the
document gets called first and then the code for the
internal style will play. However a ready function can be
added which then can have other things inputted after that.

, Inline The inline style in JQuery, can be done in many different
ways it depends on how much you want to write for it.
With the example I used it makes it so that you don’t need
to use the $(document).ready(function)) as the
DOMContentLoaded event has been used instead.

Briefly explain when and why a doc.ready statement is used?
The doc.ready statement is used when needing to determine the state of a document. The jQuery detects the state of readiness and the code will only
run once the JavaScript code is executed after the statement inside the doc.ready has run.



3. What are selectors, events and effects? – give examples of how each are used in jQuery.

Describe what this does in the jQuery code Screen shot of this being used in jQuery code
Selectors A selector in jQuery code is a function in which makes use of
expressions to find some matching elements based on a criteria.
The selector can be used to select an amount of HTML elements
using jQuery, once an element is selected it can perform various
operations.




Events The events within jQuery are actions that can be detected but a
web application. There are examples like a mouse click, a page
loading, or a keystroke on your keyboard. Once the events are
triggered you can use those custom functions to do whatever you
want with the event.
$11.00
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
ItsKenzie
5.0
(9)

Also available in package deal

Get to know the seller

Seller avatar
ItsKenzie University
Follow You need to be logged in order to follow users or courses
Sold
20
Member since
6 year
Number of followers
10
Documents
78
Last sold
2 year ago
IT and Cyber Security Notes For Computing Students

I prepare and sell top quality notes and essays that are concise and easy to understand to fellow computing students. It can be overwhelming when you get your first few projects or assignments, using my notes and essays can help you to better understand the modules and hopefully help you get the grades you want. Thanks for visiting my profile, feedback is always appreciated.

5.0

9 reviews

5
9
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions