This is CS50. › 2020 › spring › classes › 8 › class8.pdf · Week 8 •HTTP •HTML • ... Blog V4.4 0 Download Examples Link color Additional content Dismissing JavaScript

Post on 28-Jun-2020

1 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

This is CS50.

Week 8

• HTTP

• HTML

• CSS

• JavaScript

What questions do you have?

Questions

HTML

Tags

<h1>Hello!</h1>

Nested Tags

<ul> <li>Monday</li> <li>Tuesday</li> <li>Wednesday</li> </ul>

Attributes

<a href="https://google.com"> Click Here </a>

GitHub Pages

CSS

Style

body { text-align: center; }

Exercise

• Pick a website (in small groups) and try to replicate it using HTML and CSS.

Bootstrap

JavaScript

JavaScript

<script> alert('Hello, world!'); </script>

JavaScript

<script> alert('Hello, world!'); </script>

Exercise

• Add to the scoreboard program:

• A button (for each team) to subtract points from that team

• A button to reset points for the entire game

• A message that appears on the page once a team reaches 10 points to indicate that they won

Problem Set 8

Problem Set 8

• Homepage

This is CS50.

top related