CSS
freeCodeCamp
DevTools
CodePen
Head to https://kahoot.it
Check the Slack channel for the game pin
NounsAdjectivesVerbs
Our HTML dictates what content will be on the page. It provides our basic structure
Our CSS describes how that content should look, how it should be laid out, and what styles it should have
And our Javascript brings that content to life - it allows the user to interact with the content, providing a dynamic experience and determining the behaviour of the page
Similarly to how CSS is executed within style tags, we can use script tags for Javascript.
Like so:
Normally, however, an HTML document will contain a script tag with a src attribute, which will provide the HTML with a link to a separate Javascript file.
A header element
Open Google in your web browsers
Head to www.freeCodeCamp.org
For our purpose, a function can be thought of as a tiny program
At the most basic level, a function is something that can be called, and will return to us a value.
A function can also take arguments, or parameters.
A function that does not take any arguments:
This is how we declare a function:
And this is how we call, or invoke a function:
Once more, hereβs how we declare a function (think of this as how you create a function, and define what it does):
And how we invoke it:
Head to https://repl.it/
Let's do this challenge together
Continue working on freeCodeCamp 'Basic JavaScript' π
If you finish that (very long!) section, have a go at 'Basic Data Structures' and 'Basic Algorithm Scripting'