Unit 1 Objectives
•PART I
• Web designers vs web developers
• Expressing consequences
• Giving reasons
• PART IV
• Javascript
• Using sliders in Java
• Slider control: constructors and methods
• PART II
• HTML
• Expressing meaning
• HTML structure
• Giving graphic style to a website
• Numbers
• PART V
• PHP
• Calling a function from another module
• Creating a PHP contact form
• PART III
• CSS
• CSS syntax
• Color schemes
Web Designers &Web Developers
> What kind of abilities, interests or qualities do you need to be..
…a Web Designer? …a Web Developer?
> What profile do you identify with?
9.
Designer/Developer Profile
> Whywould you make a Web designer/developer?
I’m good at… I’m… I like…
I don’t mind… I can… I hate…
/di’sainer/
Web Designers &Web Developers
> Expressing consequences and reasons
Reason:
I need to contact a Web Designer because the company needs a new logo.
Consequence:
The code didn’t compile last time so we have to start from scratch again.
15.
Web Designers &Web Developers
> Expressing consequences and reasons
Complete the following sentences with SO or BECAUSE
1. I don’t know how to solve this problem _________ I don’t have too much
experience.
2. I’m sure this website was made by a pro __________ it looks very attractive.
3. I heard the company has created a new IT department ______ they should be
looking for new engineers and technicians.
4. The new marketing campaign has been a success _______ all the people in the
company are really happy.
HTML
> Imagine you’rein charge of designing and developing the website for
a promising national company.
> Right now, you’re in a business meeting showing your proposal.
> Explain, in simple words, what HTML is.
19.
HTML
> When youneed to explain what something is, try to use relative
clauses:
It says here we have to
buy a router. What’s a
router?
It’s a device that connects your network
to the Internet.
20.
HTML
> Relative Clausesexplain what something or somebody is:
> A firewall is a device that monitors the incoming and outgoing traffic network.
> A flight attendant is a person who helps passengers on a plane.
> An amusement park is a place where people go and have fun.
Object: that
Person: who
Place: where
21.
HTML
> Imagine you’rein charge of designing and developing the website for
a promising national company.
> Right now, you’re in a business meeting showing your proposal.
> Explain, in simple words, what HTML is.
22.
HTML
> Explain thefollowing concepts:
A web developer
A tag
A text editor
23.
HTML
> Go topage 7 in your booklet and do activity no. 1:
HTML
> How muchdo you remember about the ASCII characters/symbols
used in HTML? Click the link below and find out!
https://www.proprofs.com/flashcards/ugc/story.php?title=key-symbols
28.
HTML
> Incomplete sentences(page 8, activity 5)
Complete the following sentences with these expressions:
Case Body HTML tags Web Browser Document
HTML
> What doyou do when you have a problem?
Who do you call/talk to?
Would you pay some money if necessary?
Have you ever looked for info in a forum? How was it?
HTML
> Reading (page12)
Answer these questions about the text you read:
With a HTML link element <LINK REL=>
In the document <HEAD>
HTML tags like <HEAD> or <STYLE>
It states the device or media the document was designed for.
You have to use the same title in each style sheet
A designer can change the look of a site faster
HTML
> Speaking
Discuss thesequestions with a classmate
Add multiple images to a web site
He downloaded some images
To add these images to the web site
He writes the attribute height after scr
CSS
> Complete theCSS syntax example with the following words (page 15)
selector
property value property value
declaration declaration
45.
CSS
> Complete thefollowing statements about CSS and the previous
activity (page 15)
selector
semicolon
declaration
semicolon
46.
CSS
> Reading (page16)
Mike, a web developer & designer, wants to change “hover over text”
color. This is the info he got from a forum.
47.
CSS
> After readingthe text, answer the questions:
> What can’t Tom make?
> Why can’t he use Jquery or JavaScript?
> What answer do you think is the ideal? Why?
He can’t make the top text change color when he hovers over it.
He doesn’t have enough experience.
CSS
> Mike needsto set a full screen background image. He finds a video in
YouTube™. Watch the video he found and answer the questions.
51.
CSS
> Mike needsto set a full screen background image. He finds a video in
YouTube™. Watch the video he found and answer the questions.
> What’s the first thing he does?
> What does he do after that?
> Where does he include the URL of the image he downloaded?
> Where does he include the position of the image?
> What style does he give to the text?
He downloaded a background image.
He created an HTML page with a text editor.
Inside html {}
Inside html {}
White color, centered.
JavaScript
> What doyou know about JavaScript?
> What is it for?
> Have you ever used it? Give details.
> Watch the following video about JavaScript:
55.
JavaScript
> About thevideo you just watched, answer the following questions:
> What companies are building apps around JS?
> What kind of job can you get if you master JS?
> What was JS used for at the beginning?
> What can you build with JS now?
Walmart, Netflix, Paypal, etc.
Front-End, Back-End or Full Stack Developer
Interactive web pages for browsers
Web or Mobile Apps, Chat or Video Stream Apps,
Video games, etc.
JavaScript
> Asking forhelp
Imagine you’re talking to a JS expert, what questions would you like to
make?
How do you..?
How can I..?
How can I help you?
58.
JavaScript
> Reading activity(text from page 22 to 26)
Read the text “How to use a slider in JAVA” and answer the questions.
PHP
> What’s PHP?
>How does it work?
> Is it different from JS, HTML or CSS? Explain.
> Have you ever used PHP? Give details.
> What would you like to learn to do with it?
65.
PHP
> According tothe video:
What is PHP usually used for?
Where does it run?
What else can you create with PHP?
66.
PHP
> How muchdo you know about PHP? Take the quiz and let’s find out!
67.
PHP
> Are thefollowing sentences about PHP True (T) of False (F)?
1. ___ PHP is a server scripting language that helps us to make dynamic and interactive Web pages.
2. ___ PHP is open-source.
3. ___ PHP is an acronym for "PHP: Premium High Processor"
4. ___ You can’t execute PHP on the server.
5. ___ PHP files contain text, HTML and code
6. ___ PHP files have extension ".php".
7. ___ PHP runs only on Mac OS.
8. ___ A PHP script can be placed only in a specific place in the document.
9. ___ A PHP script starts with <?php and ends with ?>
10. ___ The purpose of a PHP comment is to be read by someone who is looking at the code.
11. ___ In PHP, all keywords (e.g. if, else, while, echo, etc.), classes, functions, and user-defined functions are case-
sensitive.
T
T
F
F
F
T
F
F
T
T
F
(Hypertext PreProcessor)
(Also on Windows, Linux, Unix etc.)
(Anywhere in the document)
It contains HTML tags and PHP scripting codes
(not case-sensitive)
PHP
> Look atthe 4 answers given. Choose one and explain why it’s the best
in your opinion.
70.
PHP
> Look atthe tutorial about how a contact form works.
71.
PHP
> Answer thesequestions:
> What happens if you don’t write anything and then you press “send now”?
> What if you enter just some information, not all?
> Where does the info entered go to?
> What security measures could be added to this site?
> Does the tutorial actually explain how to create a contact form?
72.
PHP
> Useful websites to visit:
https://quizlet.com/543048504/flashcards
https://www.w3schools.com/php/default.asp
https://kahoot.it/challenge/02299886?challenge-id=6d99cded-8015-46
78-a97c-7b515a567f74_1618886561053