Web page part 2 | Computer Science homework help


  • Please see attachment for files 
  • Week 2 Assignment

GradeN/AGradebook CommentsNone

Assignment Details

Assignment Instructions

General Instructions for your Website:

During Week 1 through Week 7 of this course, you will be building a personal website on a topic of your choice.  Choose a topic about which you are both knowledgeable and enthusiastic, so that you will be able to easily write about the topic and share your knowledge of the topic through your website.  During Week 1, you will create the home page of your website.  Make sure that you write the content (the paragraphs of information about your topic) yourself.  Do not copy content from other web pages.  Your website should contain at least 4-6 paragraphs of information, arranged in a logical manner (using headings and sub-headings appropriately).  During Week 2, you will add an external style sheet to your website.  During Week 3 through Week 7, you will either add additional pages to your website or you will add new functionality to your home page, as directed in the instructions for each assignment.

You must write the code files by hand for all assignments in this class.  A simple text editor, such as Notepad or Notepad++ will suffice (or TextEdit on the Mac).  DO NOT use GUI editors, such as FrontPage, Dreamweaver, etc.  You must write the code for your web pages yourself.  If you are using a PC, it is strongly recommended that you download the free Notepad++ text editor (https://notepad-plus-plus.org/) because it contains extra features which assist with debugging, such as line numbering and color coding of different elements of syntax.  Mac users should use the TextEdit text editor that comes with the Mac OS.  However, if you are a Mac user, make sure you set TextEdit to use Plain Text by default.  You can find instructions for this here: https://www.tekrevue.com/tip/textedit-plain-text-mode/

Make sure all of your web pages comply with the HTML 5 standards and CSS standards.  DO NOT use obsolete HTML elements and attributes from previous versions of HTML.  By including the HTML 5 DOCTYPE declaration in your webpages, and validating all of your HTML files at https://validator.w3.org/#validate_by_upload, you can be sure that your code complies with HTML 5.  Starting Week 2, your external style sheet (.css file) must pass validation at the W3C CSS Validation Service: https://jigsaw.w3.org/css-validator/#validate_by_upload.  Make sure you use the “Validate by File Upload” option (and NOT the “Validate by Direct Input” option), on both of these validators since this is the way your instructor will check your pages when grading your assignments.

The home page of your website must be named “LastFirstHomePage.html” where “Last” is your last name and “First” is your first name.  For example, if your name is John Smith, you would name your home page file SmithJohnHomePage.html   Starting with Week 2, you will also have a CSS file linked into every HTML page on your website.  Name your CSS file “LastFirstStyleSheet.css” where “Last” is your last name and “First” is your first name.  Your website must only have 1 CSS file and that file should be linked into all HTML pages on your website.  Additional HTML pages created for your website (During Week 3 through Week 5) should be hyperlinked together through a navigation menu that appears on all pages of your website.  Naming conventions for each additional page on your website will be included in each assignment description that requires a new HTML page.

Specific Instructions for Assignment 2:

For this assignment, you will create an external CSS style sheet and link it into the HTML page that you created in Assignment 1.  Remember that you are continuing to build on the website you created during Week 1.  After completing this assignment, you will create another zip archive containing your HTML file from last week (with the link tag added to it), the CSS file you will create in this assignment, and all image files that are part of your website.

Before proceeding with this assignment, make sure you have read the Week 2 module in the Lessons area, where the basics of CSS are explained to you.  Note that although the Week 2 Lesson also briefly covers inline CSS and internal style sheets, this assignment only requires you to create an external style sheet.  The other methods of incorporating CSS into your website are covered in the lesson for your information only and are not required to be used in this class.

Complete the following steps for this week’s assignment:

1) Open the HTML file that you created and add the following line of code to the head section of the file, replacing “https://www.sweetstudy.com/questions/mystyle.css” with the name you will be giving to your own CSS file, which should be in the form of LastFirstStylesheet.css (Ex.: John Smith’s style sheet would be named SmithJohnStylesheet.css).

<link rel=”stylesheet” type=”text/css” href=”https://www.sweetstudy.com/questions/mystyle.css”>

Save your HTML file and then upload it to the HTML validator and check to make sure it still passes validation: https://validator.w3.org/#validate_by_upload

2) Create a new file in your text editor (Notepad++ for PC users, and TextEdit for Mac users).  Name your new file LastFirstStylesheet.css replacing Last with your last name and replacing First with your first name (Ex.: John Smith’s style sheet would be named SmithJohnStylesheet.css).

3) Copy the following text into your file:

body {
    background-color: lightblue;

h1 {
    color: darkblue;
    text-align: center;

Save your file and then upload it to the CSS Validator and make sure it passes validation: https://jigsaw.w3.org/css-validator/#validate_by_upload

Open your HTML file in the browser and see how it looks with this new stylesheet linked in.  If you have properly created your CSS file and properly linked it into your HTML file, your webpage should now have a light blue background and your main <h1> heading should be dark blue and centered.

Open your CSS file in the text editor again to proceed with editing and writing more code.

4) Change the page background color to another color of your choice besides light blue and change the color of your main heading to another color of your choice besides dark blue.  You can find additional color names here: https://www.w3schools.com/colors/colors_names.asp.  Save your CSS file, and re-validate your file here: https://jigsaw.w3.org/css-validator/#validate_by_upload.  Also view your page in the browser to see the results of your changes.

5) In your CSS file, create a declaration block for the paragraph <p> element and set the font-family and font-size properties.  You can choose the font family and font size that you want for your website.  Hint: An example of these properties is shown in the Week 2 module in the Lessons area of the classroom.

6) In your CSS file, create a CSS class called “boldtext” which can only be applied to the <span> element.  In the declaration block for this CSS class, set the font-weight to bold.  Hint: An example of this class is shown in the Week 2 module in the Lessons area of the classroom.

7) In your CSS file, create a CSS class called “italictext” which can only be applied to the <span> element.  In the declaration block for this CSS class, set the font-style to italic.  Hint: An example of this class is shown in the Week 2 module in the Lessons area of the classroom.

Save your CSS file, and re-validate your CSS file here: https://jigsaw.w3.org/css-validator/#validate_by_upload.

8) Open your HTML file for editing.  Using the <span> element with the class attribute, apply the “boldtext” and “italictext” classes that you created in your CSS file to a few words of text.  Apply “boldtext” only to some text, apply “italictext” only to some other text, and apply both classes to yet some other text on your page.  Note that “boldtext” should not be applied inside of headings because they are already formatted in bold text by default.  Hint: An example of the HTML code you need for this is shown in the Week 2 module in the Lessons area of the classroom.

Save your HTML file, and re-validate your HTML file here: https://validator.w3.org/#validate_by_upload

Validation Requirements:

Before submitting your web site:

  1. Validate your HTML file at https://validator.w3.org/#validate_by_upload, using the “Validate by File Upload” option, and fix any errors that the validator identifies before submitting your web site for grading.
  2. Validate your CSS file at https://jigsaw.w3.org/css-validator/#validate_by_upload, using the “Validate by File Upload” option, and fix any errors that the validator identifies before submitting your web site for grading.

Note: It is critical that you debug and fix ALL errors identified by these two code validators before submitting your assignments.  Contact your instructor for assistance if you are having difficulty debugging and fixing your errors because it is imperative that your code files pass validation.

Submission Instructions: Create a zip file containing all files related to your web page (.html file, .css file, image files, etc).  Make sure you maintain the necessary directory structure in your zip file so that your webpages will view correctly when unzipped.  In other words, if your images are in a sub-folder on your computer, in relation to the folder containing your .html file, then you need to maintain that same directory structure in your zip file, too.  Submit only the zip file for grading.

Rubric for Grading Assignment


Webpage (HTML file) validates without errors at https://validator.w3.org/#validate_by_upload 10Style sheet (CSS file) validates without errors at https://jigsaw.w3.org/css-validator/#validate_by_upload 10Website contains well-written, well-thought-out, creative, attractive, and well-organized content (i.e., uses paragraph, line break, heading tags, and horizontal rules appropriately to organize content) 10Correct use of all basic elements in a webpage document (Ex: DOCTYPE, html, head, body, meta, title, link, etc.) on every HTML page 10CSS file is corrected linked into your HTML file with the <link> tag. 10CSS style sheet contains declaration block for the <body> element, with a background-color (other than light blue) specified.   5CSS style sheet contains declaration block for the <h1> element, with a text color (other than dark blue) specified, and with center alignment specified.   5CSS style sheet contains declaration block for the <p> element, with font-family and font-size properties specified. 10CSS style sheet contains two classes for the <span> element.  One class sets font-weight to bold, and the other class sets font-style to italic.  The <span> element is used in your CSS file to make specific words bold and/or italic (i.e., some bold, some italic, and some both).      20Correctly created zip file that contains all files for webpage (maintaining original folder structure) 10Total100***Note: Your website must include the required external CSS stylesheet, linked into your HTML file, as specified in the instructions above, to receive any credit for this assignment.  Websites submitted without an external CSS stylesheet will not receive credit.

  • Please see attachment for files 
  • Week 2 Assignment
US Custom Writers
Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.


Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.


Admission Essays & Business Writing Help

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.


Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.


Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.