1. Intro to The Building a Website
- the "Back-up" talk
- user accounts
- meet the lab, lab rules
- meet the computers
- exactly what does "monitors OFF!" mean?
- printing
Topics to be Covered
- HTML
- CSS
- Principles of Web Design
- Programming Concepts in Javascript:
- How the Internet Works: Host/Client Relationship, Protocols, TCP/IP
- How to Create Progressive Web Apps
- Using API's and JSON
A discussion on academic integrity and the importance of learning to code without relying on AI. There is value of building a strong foundation in programming.
Notes for Ms. Wear- Files and folder Management
- Test Your Typing Skills
- Windows Shortcuts
Lesson: What does HTML stand for? Basic syntax, some basic tags, and important resources
Useful HTML ResourcesStep 1: Learn the following HTML elements.
Use the links provided to research and learn the following HTML elements. Then for each one not already in your helloworldindex.html
,
add an example of its correct usage.
Step 2: Create a Biography Page
Create a new folder called "About Me" and create a new index.html
with no content in the body. Turn
this page int oa simple "About Me" page that includes the following:
- A heading (
h1
-h6
) for your name or a creative title. - A paragraph (
p
) introducing yourself (or a fictional character). - A preformatted text block (
pre
) with a fun fact or poem. - Subscript (
sub
) and superscript (sup
) somewhere in your text (e.g., "H2O is water" or "E=mc2"). - A horizontal rule (
hr
) to separate sections. - Emphasized (
em
) and strong (strong
) text to highlight key points. - At least two special characters or HTML entities (e.g., ©, ♥).
- Add an HTML comment somewhere explaining what each particular section does.
- Format your content neatly with proper indentation.
In this exercise, you will expand your About Me page by adding lists, links, images, audio, and video.
- Ordered and Unordered Lists
- Read -> the W3 Schools Lists Tutorial.
- Add -> incorporate a relevant Ordered List and Unordered List to your About Me page.
- Validate your code
- Anchors (Links)
- Read -> the W3 Schools Links Tutorial.
- Add -> a link to a relevant website to your About Me page. Test that the link works.
- Read -> Create an anchor link at the bottom of the page that says "Back to Top" and jumps back to the top of the page.
- Add -> a "back to top" link to the bottom of About Me page. Test that the link works.
- Validate your code
- Images and Filepaths
- Read -> the W3 Schools Filepaths Tutorial.
- Read -> the W3 Schools Images Tutorial.
- Create -> In your About Me folder, create a new folder called "images".
- Download a relevant image from Pexels.com and save it in your new images folder
- Add -> using a relative path, add the image you saved to your About Me page. Test that the image works by viewing your page in a browser.
- Validate your code
- Audio
- Watch: the Audio tag.
- Download this song Busy City.mp3
- Insert the song into your About Me page and SAVE IT IN YOUR HTML FOLDER.
- w3 Schools Reference Audio Tag
- Validate your code
- Video
- Watch: the Video tag.
- Download this video of the earth from Nasa Earth Video
- Insert the video into your About Me page.
- w3 Schools Reference Video Tag
- Validate your code
Useful CSS Resources
CSS Properties to know:
border, margin, padding, border-radius, background-color, color, font-family, font-size, font-style, font-variant, text-decoration, text-decoration-color, text-align, text-shadow
link
tag inside the head
.- Change the background color of your page.
- Set a different font for your text.
- Add padding and margins to space out sections.
- Make emphasized text a different color.
- Add a drop shadow to your main heading.
- Validate your CSS and your HTML.
Get Assessed
Get Ms. Wear to assess your About Me page for Exercises 1-3.- color names
- color values: Hex, RGB, HSL
- alpha channels
- modifying colours
Useful Resources
- classes
- ids
- pseudo classes
- more specific selectors
- Watch Video: Image File Formats.
- Watch Transparency.
- More on Image file type and format guide
- The img tag
- The Background Image Property
- Read about Responsive Images
Free Images Resources: MDInfoTech Graphics Resources
PhotoPea - free online image editor
How to create Web Friendly Image from a high resolution photo.- use a high quality image
- minimize byte size
- crop it, before downsizing
- make it the actual size it will appear in the webpage
- use jpg for images (85%), png for graphics with transparency, gif for animation
SVG is a language that uses XML format to define vector-based graphics for the Web. Every element of SVG can be animated. SVG can be written directly into the HTML document or created with a vector drawing program like Inkscape.
- Watch Vector Graphics Explained.
- Watch and code along with SVG for Newbs Part 1
- Watch and code along with SVG for Newbs Part 2
- Your Assignment: Create an original piece of 'artwork' by coding basic SVG shapes. It will be marked for completion marks, but bonus marks will be granted for extra creativity and artistic ability.
- Complete this website as shown
- Validate the HTML and the CSS
- Note: Update the CSS for the classes button, row, and hero as shown below to get the website to work on a screen wider than 1200px.
.row { margin: auto; max-width:100%; } .button { margin-top: 30px; width: 100%; text-align: center; } .hero { position: absolute; width:100%; height:10px; margin-left: 0px; margin-top: 0px; }
- Evaluation: 10/10 if completed correctly and validates, 8/10 if any mistakes, 6/10 if you tried.