Web Languages
How we create using code
A web page is made of three main languages
HTML is the markup language
HTML is used to define the content of a web page.
CSS is the style sheet language
CSS is used to define the design of a web page.
JavaScript is the programming language
JavaScript is used to define the interactions of a web page.
HTML + CSS + JS = Website!
You already know two of these, woohoo!
Challenge
Design your own “Breaking News” item:
- Go to the New Zealand Herald site
- Click on today’s top story
- Right click on the story’s title and “Inspect Element”
- Edit the headline to make your own news!
On your news page, try these too:
- Modify the paragraph text to match your headline
- Change the image source to link to a different image
- Change the background colour by editing the CSS