Week 2 - Hobby Page
π§±
HTML is the language we use to create the structure of a webpage
HTML stands for HyperText Markup Language
In HTML, we use different tags wrapped around content to build webpages
<h1>Main heading</h1>
<p>Paragraph text</p>
π¨
CSS is the language we use to style an HTML document
CSS stands for Cascading Style Sheets
In CSS, we write selectors which target HTML elements and CSS properties to define how these elements should look
We define rules, for particular elements:
h1 {
color: red;
}
π€
JavaScript is a coding language which allows us to write complicated functionality for our websites
For example, adding numbers together or calculating how long a string
is
const num1 = 2;
const num2 = 5;
let result = num1 + num2;
DOM stands for Document Object Model
This is a representation of an HTML webpage in JavaScript
Manipulating the DOM allows us to add complex functionality to a site
For example, when a user clicks a button then the background colour changes
A README is a piece of documentation which describes a project
The file can be included in a codebase, and GitHub will display the document on the repository page
READMEs are usually Markdown files
Markdown is a documentation language that uses syntax to define display of text
For example
# A heading
bold text
**bold text**
For each project, add a README to describe what you built and how you built it
We love to see readmes as they tell us more about how and what you learnt!
ππ€