Code 4 the Web

trying some things out...

HTML
CSS
JavaScript

HTML

Style. How’s it look?

CSS

Interactivity. What’s it do?

JavaScript (JS)

Structure. What is it?

HTML tags

<el>Your content goes here</el>
<img src="https://homepages.cae.wisc.edu/~ece533/images/airplane.png">

Hex codes

Variables

Variables store data. There are multiple ways to create them in the different languages. Here's one:

let name = `sam`;

What do you think it would say if I ran this script:

alert(`Hello, ${name}!`);

Just take a guess...

For example: #ff0088

A 6-character 'code'. Each one can go from 0-9 then a-f.

They represent red, green, blue values as RRGGBB.

Example: if you want pure red, it's #ff0000 – red is 'turned all the way up'.

Let’s
Get
Coding 😎

Q&A

Mr. Morano code presentation #2

By Samuel Allemang

Mr. Morano code presentation #2

  • 373