Week 9 Coding Practice
Purpose
Create an HTML table and apply CSS.
Textbook Reference
- Chapter 8: Table Markup
- Chapter 14: Thinking Inside the Box
Instructions
This practice will be completed as part of your Project 2 – specifically, the coffee.html and coffee.css documents.
-
View the Project 2 - Our Coffee page.
-
Open the coffee.html from Project 2 in VS Code and your browser.
-
If you haven’t created a coffee.css document yet, do this now.
-
The content in the
<main>
element from Project 1 should look like the Sample Output below. -
For Project 2, the “Hot Coffee Drinks” list will be placed in a table and the page
<h2>
headings will have abackground-image
. The Project 2 images can be downloaded here. -
Follow the specifications for Project 2 - Our Coffee and complete the HTML and CSS for the table on coffee.html.
-
For this practice, the
<header>
,<nav>
, and<footer>
styles do not need to be complete.
Sample Output
HTML Validation
- Go to https://validator.w3.org/
- Click on the Validate by File Upload
- Click on the Choose file button and navigate to the location of your HTML document.
- Click the Check button
- Print it as a PDF and save it into a folder named validations in your practice09 folder
- Name the PDF coffeeHtmlValidation.pdf.
CSS Validation
- Go to https://jigsaw.w3.org/css-validator/
- Click on the by File Upload option
- Click on the Choose file button and navigate to the location of your CSS document.
- Click the Check button
- Print and save as a PDF and save the validation in a folder called validations in your practice09 folder
- Name the PDF coffeeCssValidation.pdf
Grading Criteria
- The correct file directory structure exists in the
practice09
folder along with the HTML and CSS validation. - All course coding standards have been followed.
- The background image has been applied to the headings and looks like the sample output provided.
- The "Hot Coffee Drink" has been formatted into an HTML table, including the prices for small, medium, and large.
- CSS styles have been applied correctly and look like the sample output provided.
- Reflection questions are answered honestly and thoroughly.
Submission
Part 1: Reflection
- Locate the submission link for Practice 9 in Brightspace (Module 2 > Week 9 > Week 9 Coding Practice).
- Copy the below text (there is a copy icon in the upper-right of the textarea) and paste it into the Comments section.
- Answer the questions in the Brightspace.
1. How are you doing? Are you encountering any issues preventing you from completing this week's assignments? What can I do to better support you this week?
2. What did you find particularly insightful this week?
3. What part of the learning or coding process did you find most challenging? How did you overcome it?
4. What questions (if any) do you have about the material covered this week?
5. How do padding and margin differ in the way they impact the spacing of an element?
Part 2: Upload .zip
- Compress your entire project02 folder to a .zip (zipped) file.
-
Do not zip the practice or Web Development folders. You should have the following files/folder in the zip file:
- images (folder)
- with images
- stylesheets (folder)
- coffee.css
- validations (folder)
- 1 HTML validation file
- 1 CSS validation file
- index.html
- coffee.html
- coffeeGuide.html
- menu.html
- contact.html
- club.html
- images (folder)
-
Click on "Upload" to upload your .zip file or you can drag and drop it into the submission window.
- Click "Submit"