Groove Guitars: Multimedia (Lab 8)
Related Lessons
This is Lab 8 in Developing Web Pages (BUS1880) and Web Fundamentals (CSCI1450). Before starting this lab, study the Module 8 slideshow. The related lessons above cover content similar to Module 8.
The objective of this lab is two-fold: 1) to practice embedding multimedia such as a map, video, and audio into a web page, and 2) to apply design skills like floated images, fonts, and color choices to finish your website.
This lab continues the Groove Guitars website from Lab 7: Tables and Forms, so complete Lab 7 first if you haven’t already.
In Lab 8 we will be adding two new web pages with multimedia to the Groove Guitars website. We will add an About page with a map and a Grooves page with YouTube and Soundcloud embeds. Since this is the last lab on Groove Guitars, we’ll also put the finishing touches on the overall design.
At the end of the instructions are some student examples that may give you some design ideas.
Jump to:
- A. Getting Started
- B. Create the About Page
- C. Create the Grooves Page
- D. Add Images
- E. Design Your Website
- Student Examples
- Checklist for Grading
A. Getting Started
Step 1. Duplicate Your Files
In your groove-guitars folder, duplicate your index.html twice and name the files, “about.html” and “grooves.html”.
Step 2. Clear the <main> Section
Delete everything in the <main> sections of about.html and grooves.html. Just remove the content inside, don’t delete the <main> tags themselves.
Step 3. Delete the Hero Image
Also delete the hero image from the About and Grooves pages. Hero images work well on a home page because they set the visual tone for the whole website. On web pages other than the home page, the content itself should take priority, so you’ll generally want to skip the hero image.
Step 4. Test Your Navigation Links
You added the links to your navigation last week, but test your links to make sure they work.
B. Create the About Page
Work in the <main> section of the about.html page. When completed, your About page should look something like this, but with your own design.

Step 1. Add an <h1> Tag
Add an <h1> tag to the top of the main section using the page title: About Groove Guitars. It is a best practice to place an <h1> with the page name in it at the top of each page.
Step 2. Add the Intro Text
Add an <h2> tag with the text, “Come Visit Us” and this text in a paragraph <p> tag:
Come Visit Us
Stop by our store! The right guitar for you makes all the difference. We specialize in matching players to the right guitar. We can help you find your groove.
Step 3. Add a Google Map
Add a Google map to the address of your choice. If you need an idea, you can use one of the school addresses below:
The address for Saint Paul College:
235 Marshall Ave, St Paul, MN 55102
The address for ARCC:
11200 Mississippi Blvd, Coon Rapids, MN 55433
Set the height of the map to 300px and the width to 100% in the map’s HTML <iframe>.
Step 4. Add the About Page Text
Copy and paste this About Page text after the map.
Add h2 headings and paragraph markup.
<!-- Insert this text into the <main> section of about.html -->
A Symphony of Selections:
Step into Groove Guitars, and you'll be greeted by a breathtaking array of guitars that cater to every style and skill level. From classic acoustic melodies to electrifying rock riffs, we have an instrument that resonates with your musical aspirations. Our meticulously curated collection features renowned brands, limited editions, vintage gems, and custom-built masterpieces, ensuring that every musician finds their perfect match.
Master Craftsmanship:
We understand that a guitar is more than just an instrument; it's an extension of the artist's soul. That's why we proudly offer a range of guitars handcrafted by artisans and luthiers with decades of experience. Each instrument is a testament to their dedication, passion, and uncompromising commitment to quality. You can feel the craftsmanship in every strum and see the artistry in every detail.
Amplify Your Sound:
To complete your sonic journey, Groove Guitars boasts an extensive selection of amplifiers, pedals, and accessories that will help you shape and refine your unique sound. Whether you're chasing the vintage warmth of a tube amp or exploring the limitless possibilities of digital effects, we have the gear to elevate your performance.
Expert Guidance:
Our team of knowledgeable and passionate staff members is here to guide you through your musical journey. From choosing your first guitar to fine-tuning your collection, we are committed to providing expert advice and unparalleled customer service. Whether you're a beginner seeking your first instrument or a seasoned pro in search of the next addition to your arsenal, our team is dedicated to helping you make informed decisions.
Jam Space and Workshops:
Groove Guitars is not just a store; it's a community. We offer a dedicated jam space where musicians can come together, collaborate, and create. Additionally, we host workshops, masterclasses, and live performances, fostering an environment of learning and inspiration.
Trade and Repair Services:
Got an old guitar collecting dust, or in need of some tender loving care for your cherished instrument? Our repair and trade-in services ensure that no guitar goes unloved. Let us breathe new life into your old faithful or help you find a new companion.
Check your work against the sample above to make sure you have all of the elements in place. We will continue work on the design in Sections D and E below.
C. Create the Grooves Page
Work in the grooves.html page for this section.
Your Grooves page should look something like this, but with your own design:

Step 1. Add an <h1> Title
Add an <h1> title to the grooves.html. You can name it anything you would like, perhaps “Our Favorite Grooves” or “Groovy Guitar Videos”.
Step 2. Embed Two Videos
Go to Vimeo.com and search for two videos featuring a guitar. Vimeo has the aspect ratio built in, so you probably won’t need the Flaviocopes trick. Remember that the trick to embedding is to first find the Share option, and then find the Embed option.
Note: Vimeo requires free registration, but has a large library of videos to choose from. (You could also use YouTube, but YouTube videos won’t display in the browser on a file, like we use for class. Websites need to be published for YouTube videos to work. YouTube videos require the Flaviocopes code for the aspect ratio.)
Here are some screenshots of what it looks like on Vimeo. Scroll underneath the Vimeo Video, click Share and then look for the Embed code. (The floating side buttons give you a fixed aspect ratio so they don’t work well.)
These are the buttons underneath the video:

And this is the popup that allows you to embed.

Can’t find the Embed option? Some video owners turn off embedding for their videos, so the Embed option won’t show up at all, even after you click Share. There’s no workaround for this since only the video’s owner can turn embedding on. If a video is missing the Embed option, just choose a different video.
Step 3. Embed SoundCloud Audio
Embed a SoundCloud audio file of your choice or an embed from another company other than Google or YouTube.
Step 4. Add Titles for Each Embed
Add an <h2> title for each of the three embeds. Your text should explain why the video is included on the grooves.html page. (For example, titles could be: “Learn Guitar with this Video” or “Best Guitar Solo of all time”, whatever makes sense for your choices.)
D. Add Images
Add two floated images: one on your home page and one on your About page. There are some extra images in the images folder that you can choose from. Here is an example of an image floated on the home page.

Floating your images to the right is recommended, since it tends to be easier to work with. If you float right, placing the <img> code right before your paragraph text works well, since the text will wrap around to the left of the image and the image will sit above it naturally.
Remember the code for an image is:
<img src="" width="" height="" alt="" class="float-right">
Note that I added the float-right class to this starter code.
Here is some basic CSS to get you started. I added 40% max-width, and that is a nice trick for mobile.

You can name the class anything you like, but float-right is recommended, so it’s easy to remember if you decide to reuse it on other images. On the screenshot above I also added some padding and an inset border.
Adding a floating image to the About page can be a bit more tricky. A float only changes how text wraps around it, not how an element’s background or border is drawn, so a colored heading like our h2 can end up with the image appearing to sit on top of it. To fix this, add overflow: hidden to the h2 in the CSS.

overflow: hidden and clear: both solve two different problems. Use overflow: hidden when you want an element, like our h2, to squeeze into the space beside the float without any overlap. Use clear: both when you want an element to stop wrapping beside the float completely and drop below it onto its own line instead. A good example is the footer: if a tall floated image ever pushes up into your footer, add clear: both to the footer selector so it starts fresh, full-width, below everything on the page.
E. Design Your Website
Now is the time to give your website a little design TLC (tender-loving-care). Add some CSS to style the photos you added in Section D, and choose colors to design your home page. Part of your grade will be on your website design.
Optional: If you have the skills, you can create your own logo instead of using the one provided, or use AI to generate one in colors you prefer. As a reminder, AI can only be used to generate content like the logo image itself, not to write your HTML or CSS. Check out the student examples below for some ideas.
Step 1. Choose Your Fonts
Choose fonts for your website that fit the topic. You may need to return to our lesson on Font Families and Google Fonts to find different fonts. For headings, you can use a more creative font. For regular text, the font must be easy to read, not bold, and not capitalized.
Step 2. Choose Your Colors
Make an active choice of the colors you want to use on your website. If you need help choosing, try the Simple Hexadecimal Color Picker or CSS Color Name Picker. On a larger screen, these tools are also available in the sidebar. A good way to choose colors is to use the colors in the logo. If you made your own custom logo, use the Color Picker: Choose from Image tool to pick its exact colors, since the hex list below only covers the provided logo.
If you are using the logo provided, its hex colors include dark pink (#FF00FE), dark green (#488017), yellow (#FFFE05), purple (#93278E), orange (#F8AE3B), white (#FFFFFF), and black (#000000).
Step 3. Apply CSS Properties
At a minimum, you must do some design work on the nav bar, footer, table, form (if in CSCI1450), and your images.
Here are some CSS properties you may want to use:
- background-color
- color (text-color)
- font-size
- borders and border-radius (border, border-bottom, border-top, etc.), try the Border Generator
- box-shadow, try the Box-Shadow Generator
- text-shadow, try the Text-Shadow Generator
- padding and margin, to manage spacing
- text-align (center, left, right)
- Centering elements with
display: blockandmargin: 0 auto. (Need a refresher? See How to Center Web Page Elements. This is especially handy for centering your table and form.)
In the example below, I created a gradient with the colors from the logo and used it as a background to the <nav> and <footer>. What colors you use is up to you. As you choose colors, make sure all the text is easily legible.

Student Examples
While you may not use AI for coding for this class, you may use AI to generate custom content. In the examples below, students made custom logos with matching colors, making a more unique portfolio website.



Checklist for Grading
Here is a checklist of what I will be looking for when grading the website:
Now you know how to embed multimedia and apply design finishing touches! Move on to Lab 9 to build your own portfolio website.
Need Help?
Using AI for coding is not allowed in this course, so if you get stuck simply Make an Appointment for office hours. In addition, if you run into a bug as you are working, you may email your websites folder to me at susan.metoxen@saintpaul.edu.
