Smit Logo

CSC 102

How The Internet Works

Smith Computer Science



Lecture Notes 10: CSS and Bootstrap in HTML





Styles in HTML!

































































LAB exercise 1 Tasks

  1. Open the Project called Style-Tags in Replit
  2. Follow the instructions to use the tags to insert style info to all items in the page
  3. Jump to the "otherpage.html" and check the style there
  4. Also check the use of Tab in a Replit html doc!


LAB exercise 2 Tasks

You might nptice that the "otherpage" does not acquire the style from the first.
We'll use another approach here (the style.css file!)

  1. Cut everything that is inside the style tags into the file called style.css
  2. remove the style tags from the code pasted into style.css
  3. Add the following line to the head of both pages:
    <link rel="stylesheet" href="style.css">
  4. Run the page!




Bootstrap













The code is in Moodle and in the Replit file "extra-stuff.txt", for you to copy-paste





Here is the link to the Bootstrap Intro






























































Final Project: Team Wiki Website!

This class will NOT have a final exam.

Instead, we will build a website in teams of 3, where you explain how the internet works in your own words and with your own style.

The project stages will be:

  1. Make teams of 3 (a max of 2 teams of 2 will be accepted) [Let me know before Thursday 11/24]
    If you don't have people in mind, I can make random teams with all of those who remain without a team before next class. [Let me know before Thursday 11/24]

  2. Your team will create a website that will include the following parts:
    1. [Due 12/02] A single member will create a single Repl for your final project and invite your teammates.
      Then you will also invite "pfrank". All your work will be done here!
    2. [Due 12/03] A bio page for each member telling the reader who you are and what you like.
    3. [Due 12/07] A landing page for your team's webpage with your team name, logo, and welcome blurb.
    4. [Due 12/10]A wiki page by each member explaining how the internet works using analogies (the model to follow is Wikipedia).
      1. This page is the principal gradeable section and should explain how the main blocks of the OSI model work (Data-Link, Network, Transport, and Application).
      2. You should use Analogies to explain this to the layperson. The analogies must be your own! (not in the book; not used by me in class;)
      3. You should include an index (with links to sections), sections (headers), and images.
      4. You should include a references section where you cite all the resources (at least 5) you used to explain your materials (lecture notes, wikipedia, online book, etc)
      5. You should include an "External Links" section, with hyperlinks to relevant webpages (at least 5)


Note: The aforementioned dates are the recommended ones. I will grade it on December 18th.

Grading Criteria

Each student will receive Individual and Team grades.
The Team grade is 20% of the total and will come from the "Landing page" and an "Overall Quality" grade.

The Individual grade is 80% of the total and will come from the bio and wiki pages for each member.

Each page will be graded with the following rubric:



Notes

  1. You may start now and build a basic skeleton of your bio and wiki pages

  2. Next Tuesday, we'll talk about CSS and Bootstrap, which will be EXTRA mechanisms to let you build fancy-looking pages. They will not be required (but you might want to include them to make it look cool)

  3. The ONLY way to build this webpage is by performing small increments with testing
    . That means that you should start with a basic skeleton and perform the following actions:
    1. Add a small part (basically every time you add a tagged section)
    2. View the file in a browser
    3. Check if it shows what you expected. If YES, go to (1) or End; If NO, fix it immediately! and go to (3)




1-Minute Debrief

Please fill this out before leaving:




Next class: More HTML




Before next class (Tuesday)


[Due for everyone]
Quiz released Today... you have until Monday midnight to complete it.

[Optional]
TODO