Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SELFIE-SITE EXERCISE 3 INTRODUCTION This exercise is intended help you practice adding basic CSS (Cascading Style Sheet) styling rules to your web pages. It will

SELFIE-SITE EXERCISE 3

INTRODUCTION

This exercise is intended help you practice adding basic CSS (Cascading Style Sheet) styling rules to your web pages. It will have you create and link an external CSS file, select and apply styles to existing page elements, add id and class attributes to HTML elements, and select and apply styles to these elements.

EXERCISE INSTRUCTIONS

1. PREPARE THE ASSIGNMENT

As with Selfie-Site Exercise 2, you should begin by importing your prior assignment submission. If you did not submit SS2, you may import any work you did complete by importing your SS2 workspace. Regardless, in this new assignment workspace, you will need to finish SS2 (and fix any errors you receive in your grade feedback), as this assignment will build on the work you did in all prior assignments.

2. ADD A LINK A CSS FILE

  1. index.html Now open up index.html in the Auger editor. Adding a link to the CSS file is very straightforward. Simply add a blank line to the section of the file and add the appropriate tag. For all stylesheet links, the rel attribute should be set to "stylesheet". In this case, you are linking to a stylesheet called selfie.css, so set the href attribute to "selfie.css". Finally save the file and then select the line containing your tag and copy it to the clipboard. Altogether, this is:

.

  1. education.html Open up your education.html file. Move to the same place in the section of this file and paste the tag. Now both pages will reference the same (soon to be created) CSS file. You will need to make sure that all of the pages you create for your site reference this CSS file. Save the file.

3. ADD A NEW EXTERNAL CSS FILE

2 selfie.css Now you need to add a new CSS file. In Auger, click the Add button and select CSS File. Name the file selfie.css. Yep, that was it.

NOTE: In the following sections you will be swapping back and forth between multiple HTML and CSS files. First, be very aware of which file you are editing. Obviously it matters quite a bit. The correct file to edit will always be clearly indicated by a marker that looks like 2 file.name . Second, if you are using an editor that supports multiple tabs (any of the ones that were recommended for this course do), then learn to use them to allow you to switch quickly between open files. It will save you a lot of time.

4. ADD STYLE TO YOUR PAGE

Here you will start by adding some basic color to your page. But first, you must pick a color scheme. Open an internet browser and navigate to: http://spots.augusta.edu/pyork1/SelfieSiteColors.html

Site Exercise 3

Pick a color schemes that appeals to you. If you dont find one of these to your liking, pick the one that you like the most and use it for now. You can click on each on to see how it will look when applied to elements on your pages.

NOTE: Moving forward, these assignments will use a specific vocabulary with regard to the color scheme.

Each scheme is made up of five separate color swatches. Each swatch is named: Primary, Secondary, Tertiary, Highlight, and Body. Each swatch has two different colors associated with it. The color value is the foreground (text) color and the background-color is the actual color of the swatch.

2 selfie.css Once you have selected a scheme, please add a CSS comment to the top of your external CSS file indicating the name of the scheme that you have chosen. It should look as follows:

/* COLOR SCHEME: Granny Smith Apple */

Obviously replace Granny Smith Apple with the name of the scheme that you have chosen.

A. ADD STYLE TO YOUR HEADER, NAV AND FOOTER

Element selectors are the easiest and highest level method of adding style to your web page. They are quite limited as the styles will apply to all instances of that element on a page, but they have their place. Here you will simply be adding some basic color rules to your

,

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Handbook Of Relational Database Design

Authors: Candace C. Fleming, Barbara Von Halle

1st Edition

0201114348, 978-0201114348

More Books

Students also viewed these Databases questions

Question

dy dx Find the derivative of the function y=(4x+3)5(2x+1)2.

Answered: 1 week ago

Question

Draw and explain the operation of LVDT for pressure measurement

Answered: 1 week ago

Question

understand the key issues concerning international assignments

Answered: 1 week ago