The Structure of the Web. Jim and Matthew

Similar documents
Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

c122jan2714.notebook January 27, 2014

HTML & CSS. Rupayan Neogy

Introduction to WEB PROGRAMMING

FEWD START SCREENCAST!!!!

This document provides a concise, introductory lesson in HTML formatting.

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example.

WEB/DEVICE DEVELOPMENT CLIENT SIDE MIS/CIT 310

Static Webpage Development

CSC 121 Computers and Scientific Thinking

How to Control and Override CSS by Including a CSS Link

HTML Hyper Text Markup Language

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh


Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

MPT Web Design. Week 1: Introduction to HTML and Web Design

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles

Html basics Course Outline

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

Web Development and HTML. Shan-Hung Wu CS, NTHU

CSS worksheet. JMC 105 Drake University

Lesson 5 Introduction to Cascading Style Sheets

Assignment 2: Website Development

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

In this project, you ll learn how to create your own webpage to tell a story, joke or poem. Think about the story you want to tell.

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Uniform Resource Locators (URL)

CUSTOMER PORTAL. Custom HTML splashpage Guide


Xerte. Guide to making responsive webpages with Bootstrap

('cre Learning that works for Utah STRANDS AND STANDARDS WEB DEVELOPMENT 1

Basics of Web Technologies

HTML & CSS November 19, 2014

HTML. Based mostly on

Styles, Style Sheets, the Box Model and Liquid Layout

A Balanced Introduction to Computer Science, 3/E

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Standard 1 The student will author web pages using the HyperText Markup Language (HTML)

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

1. Setup a root folder for the website 2. Create a wireframe 3. Add content 4. Create hyperlinks between pages and to external websites

Website Designing Training

Creating and Building Websites

Internet: An international network of connected computers. The purpose of connecting computers together, of course, is to share information.

Guidelines for doing the short exercises

HTML+ CSS PRINCIPLES. Getting started with web design the right way

Introduction to HTML and CSS. Arts and Humanities in the Digital Age 2018 CHASE DTP Dr. Paul Gooding

Lesson 1 HTML Basics. The Creative Computer Lab. creativecomputerlab.com

~Arwa Theme~ HTML5 & CSS3 Theme. By ActiveAxon

Beginning Web Site Design

SoftChalk-Style Builder

Software. Full Stack Web Development Intensive, Fall Lecture Topics. Class Sessions. Grading

How to set up a local root folder and site structure

WEB DESIGNING COURSE SYLLABUS

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar. Hover Effect:

Designing the Home Page and Creating Additional Pages

Website Development with HTML5, CSS and Bootstrap

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

ACA Dreamweaver Exam Notes

Tutorial. Activities. Code o o. Editor: Notepad Focus : Text manipulation & webpage skeleton. Open Notepad

AGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css

Website Development (WEB) Lab Exercises

Front-End UI: Bootstrap

Cascading Style Sheets Level 2

Dreamweaver Domain 5: Organizing Content by Using Dreamweaver CS5

Creating Web Pages Using Netscape Composer AGENDA FOR THIS WORKSHOP. 1. How does it all work? 2. What do I need to get started at Fairfield?

WEBSI TE DESIGNING TRAINING

Data Visualization (CIS/DSC 468)

HTML & CSS. Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review

AP CS P. Unit 2. Introduction to HTML and CSS

Hyper Text Markup Language HTML: A Tutorial

AGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES

Tutorial 2 - HTML basics

Introduction to web development and HTML MGMT 230 LAB

CSS is applied to an existing HTML web document--both working in tandem to display web pages.

Siteforce Pilot: Best Practices

Beginning HTML. The Nuts and Bolts of building Web pages.

Café Soylent Green Chapters 4

Revision for Grade 7 ASP in Unit :1&2 Design & Technology Subject

Data Visualization on the Web with D3

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Web Development and Design Foundations with HTML5 8th Edition

Using Dreamweaver CS6

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

Downloads: Google Chrome Browser (Free) - Adobe Brackets (Free) -

INTRODUCTION TO HTML5! HTML5 Page Structure!

Web Premium- Advanced UI Development Course. Duration: 08 Months. [Classroom and Online] ISO 9001:2015 CERTIFIED

Web Publishing Basics I

IN Development in Platform Ecosystems Lecture 2: HTML, CSS, JavaScript

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

welcome to BOILERCAMP HOW TO WEB DEV

1.264 Lecture 12. HTML Introduction to FrontPage

Your departmental website

OU Mashup V2. Display Page

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES

Transcription:

The Structure of the Web Jim and Matthew

Workshop Structure 1. 2. 3. 4. 5. 6. 7. What is a browser? HTML CSS Javascript LUNCH Clients and Servers (creating a live website) Build your Own Website

Workshop Goals Understand the difference between HTML, CSS, and Javascript and how these technologies are used to build a website. Edit HTML and CSS in the browser (Chrome) using the developer console Create a basic personal website from a provided template Describe the structure of the internet -- e.g. the difference between a client and a server

What do you use your computers for?

What is a web browser?

What is a web browser?

How does a web browser work?

How does a web browser work? A web browser is just another a program on your computer Converts code to text and images

Exercise 1: View Source Navigate to http://jmaddock.net/computing_ever ywhere Right click (PC) or click with 2 fingers (Mac) anywhere on the web page select view page source

HTML Hypertext markup language Basic code that your browser knows how to interpret describes the structure of the webpage

Exercise 1: View Source Basic Tags: <p> <h1> <h2> <hr> <nav> <br> <img> <a href> <body> <button> Challenge Tags <head> <title> <meta> <li> <ul> <div> <!--> <script> <span>

What is a <div>?

What is a <div>? You can t see a <div>, so why do we use them? Adds structure to a page. Think of making containers or groups for different content We can link to different sections using <a href> and <div> Remember <div> when we talk about javascript!

What is a <div>?

CSS Cascading Style Sheets Defines the way a web page looks color, font, text size Makes elements of a webpage uniform All <h1> tags will be the same color All <p> text will be the same size and font

The Developer Console Navigate to http://jmaddock.net/computing_every where (again) Right click (PC) or click with 2 fingers (Mac) anywhere on the web page select inspect

HTML

CSS

Exercise 2: The Developer Console Example: Change the font size of one header element Change the font color of one paragraph element Center the text in a paragraph element Change the font size for all header elements Change the banner image Add Italics or bold a sentence Make a change not listed here and be ready to share it with the class!

Exercise 3: Complex Websites Find an element you recognize on one of these websites and be ready to share it with the class. Example websites: Twitter, Wikipedia, Tumblr Challenging Websites: Google, Facebook...

Javascript Programming (scripting) language Instructs your browser to make local changes to a webpage We call this dynamic or event driven What are examples of dynamic elements?

Javascript Programming (scripting) language Instructs your browser to make local changes to a webpage We call this dynamic or event driven What are examples of dynamic elements? Dropdown menus

Javascript Programming (scripting) language Instructs your browser to make local changes to a webpage We call this dynamic or event driven What are examples of dynamic elements? Dropdown menus Change CSS

Javascript Programming (scripting) language Instructs your browser to make local changes to a webpage We call this dynamic or event driven What are examples of dynamic elements? Dropdown menus Change CSS Make browser plugins

Javascript + JQuery 1. 2. 3. 1. $("p").mouseover(function() { $(this).css("color", "red"); }); Select all <p> elements

Javascript + JQuery 1. 2. 3. 1. 2. $("p").mouseover(function() { $(this).css("color", "red"); }); Select all <p> elements When you hover over the element

Javascript + JQuery 1. 2. 3. 1. 2. 3. $("p").mouseover(function() { $(this).css("color", "red"); }); Select all <p> elements When you hover over the element Change the color to red

Exercise 4: Add your own Javascript Navigate to http://jmaddock.net/computing_everywhere/js In small groups, read and complete all 4 exercises

Javascript (Summary) Programming (scripting) language Instructs your browser to make local changes to a webpage We can add, remove, or modify any HTML element or CSS property!

Lunch

Editing Files Locally (on your own computer)

Website Sublime text Console

Exercise 5: Editing Code on Your Computer Download the zip file from canvas to the desktop of your computer Unzip the file For macs: double click on the file you just saved. It should turn into a folder For windows: right click on the folder and select extract all Double click on the new folder you just created (probably named computing_everywhere

Exercise 5 (cont): Editing Code on Your Computer Open computing_everywhere.html in Sublime Text Right click on computing_everywhere.html > open with > sublime text and Chrome Right click on computing everywhere.html > open with > chrome

Exercise 5 (cont): Editing Code on Your Computer 1. Edit code in Sublime Text 2. Save the file 3. Refresh the webpage in Chrome 4. Repeat

But what if we want to see Matt s website?

Viewing Files Remotely (on someone else s computer) Matt can host a file for us to access remotely He provides us the network address for his own computer What if Matt disconnects from the wifi or turns his computer off? Local Network Internet

AWS (Amazon Web Services)

Hosting In order to host a website, we need a computer that is always on and always connected to the internet We call this a server Companies (like Amazon) sell this service How do we get files to Amazon?

Exercise 6: Editing Code and uploading to AWS 1. Edit code in Sublime Text 2. Save the file 3. Upload file to AWS with Cyberduck 4. Refresh webpage in Chrome 5. Repeat

Hosting CSS and JS remotely

Hosting CSS and JS remotely Many developers don t write their own CSS and Javascript CSS and Javascript can be hosted remotely Jmaddock.net uses CSS and Javascript from: https://getbootstrap.com/docs/4.0/g etting-started/introduction/

Hosting CSS and JS remotely CSS JS

Demo: Matt s aesthetic.css http://commst159.s3-website-us-west-1.amazonaws. com/matthew/aesthetic.css

Clients and Servers

The Client Server Architecture Client: YOU! A computer on the internet requesting to view a webpage Server Client Client

The Client Server Architecture Client: YOU! A computer on the internet (network) requesting an HTML file. Server: A computer on the internet that serves (sends) the requested HTML file Server Client Client

Workshop Goals Understand the difference between HTML, CSS, and Javascript and how these technologies are used to build a website. Edit HTML and CSS in the browser (Chrome) using the developer console Create a basic personal website from a provided template Describe the structure of the internet -- e.g. the difference between a client and a server

Build Your Own Webpage

Exercise 7: Build your own webpage Choose a topic you re interested in and add headers and some body text Change the banner image Change the top and bottom nav-bar text Bonus: update the div id s and the navigation links Change some CSS Ideas: your personal website (portfolio), an instructional website (like this one), Make the headers bigger or smaller Change the text/background color Upload your website to AWS. Make sure your neighbor can access it! Choose your own Bootstrap element to add More Buttons, Images, dropdowns, an image carousel, something with Javascript

http://bit.ly/understandtheweb