Code For The Web
By Sofie Christie

Why is the web innovative?

What are the important components of a website?

What are the languages used for the web?

  • HTML, which is the structure.
  • CSS, which styles the page.
  • Javascript, which controls the behavior.

Demo

HTML

<h2>Header</h2> <p>a paragraph</p>

CSS

p, h2 { color: red; font-family: Arial; } h2 { background-color: tan; }

Javascript

$("h2").click(function() { $("p").toggle({fade: 200}); });

The End :)

Now to start coding! Go to https://github.com/CelestialSimulations/Relative-Sizes-of-Planets