Html Album Cover

Problem Statement

Learning all the individual pieces that make up a web page is a necessary first step in the process of learning HTML, but one of the best ways to solidify the concepts we've learned is to apply concepts together. In this lab, your task will be to update index.html based on commented notes in the file, using what we've learned about text formatting and displaying images.


  1. Practice applying header, paragraph, image and span tags

The Mock Up

Pharrell isn't quite happy, he needs some help coding the album cover for his hit song "Happy." His dev chops aren't quite as skilled as yours, so he's hired you to take care of business.

Pharrell did provide us with a mock up of what he would like to see for the design of the album cover:

Happy Album Cover

In the industry, frontend developers are typically given specs just like this from the product team and then asked to write the code to make a website look just like the spec. Today, you're the developer and Pharrell is the product team.


Pharrell has provided us with the text for the album and all the legal mumbo-jumbo to give credit where credit is due. You can find that text in Again, this is a typical industry standard workflow, where the developers are given copy for the site from the product team.

Each line of text in this file corresponds to a note in index.html that will indicate where you'll need to add this information. It will be up to you to pick which HTML tags to use.


Write your code in index.html. Your job is to make sure the text from makes it into index.html surrounded by the appropriate HTML tags.

The files you need are provided in the 'images' folder, but you'll have to write the correct relative paths in order for them to display correctly.

You may not have encountered the span tag before, so if you are curious, take a moment to read up on some reference material to better understand its use.

Run httpserver and copy the IP address it provides into a new browser tab to see your work in action. Alternatively, if you are working in a local environment, open index.html to view the Album Cover as you build it.

To run the tests, hit ctrl+C to stop the server, then run learn to make sure you've met all the deliverables and passed the tests. When you're finished, run learn submit to submit your work.


A lot of the formatting in this lab is done using CSS, or Cascading Style Sheets, a language that defines styling for HTML. Before we can get to more elaborate styling, though, it is important to have a strong understanding of HTML fundamentals.

In this lab, we've tested that understanding by having you practice applying headers, image, and paragraphs. Completing this lab means that you have a solid foundation that we can build upon as we continue to learn about web development.

Clap along if you feel you're getting the hang of HTML!

View HTML Album Cover on and start learning to code for free.

Unlock your future in tech
Learn to code.

Learn about Flatiron School's Mission

With a new take on education that falls somewhere between self-taught prodigy and four-year computer science degree, the Flatiron School promises to turn students with little programming experience into developers.

In the six months since the Manhattan coding school was acquired by WeWork, it has spawned locations in Washington, D.C., Brooklyn, and London. Now, WeWork is opening a fourth Flatiron School location, this time in Houston.

Adam Enbar, Flatiron School's cofounder, believes now is the time to grow. "How the world is changing has impacted working and learning in very similar ways. We think education fundamentally is about one thing: enabling people to pursue a better life."

Learn. Love. Code.
Students come to Flatiron School to change their lives. Join our driven community of career-changers and master the skills you need to become a software engineer or a data scientist.
Find Us