Giter VIP home page Giter VIP logo

phase-0-html-album-cover-lab's Introduction

HTML Album Cover

Learning Goals

  • Use common HTML tags to produce a webpage based on a mock-up

Introduction

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.

Getting Started

Fork and clone this lesson into your local environment. Navigate into its directory in the terminal, then run code . to open the files in Visual Studio Code.

Apply Header, Paragraph, Image and Span Tags

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, front-end 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.

Use SOURCE.md

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 SOURCE.md. Again, this is a typical industry standard workflow, where the developers are given a 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.

Deliverables

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

You can see the images you'll be using in the 'images' folder, but you'll have to write the correct URL paths (like http://..../image-name) in order for them to display correctly. The comments in the index.html will help you with this.

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.

Open index.html in a separate browser tab to see your progress on the Album Cover as you build it.

Run npm test to make sure you've met all the deliverables and passed the tests.

Conclusion

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!

phase-0-html-album-cover-lab's People

Contributors

maxwellbenton avatar lizbur10 avatar jongrover avatar mendelb avatar dependabot[bot] avatar graciemcguire avatar ihollander avatar gj avatar fislabstest avatar sgharms avatar jlboba avatar pletcher avatar annjohn avatar adeagboola avatar fs-lms-test-bot avatar dakotalmartinez avatar dfenjves avatar drakeltheryuujin avatar sarogers avatar jeremylenz avatar josephrosenberg avatar sammarcus avatar sylwiavargas avatar victhevenot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.