Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 2.22 KB

README.md

File metadata and controls

51 lines (35 loc) · 2.22 KB
summary time deliverables download
Create a card interface with a toolbar of actions using <img srcset> and SVG icons.
1.5 hours
1 HTML file, 4 CSS files, images

Action hero card with actions

Overview

  • Fork this repository.
  • Export the icons from the Illustrator file as SVGs and use Spritebot to create a sprite sheet.
  • Export the image from Photoshop twice, once for retina (975px wide) & once for non-retina images (480px wide).
  • Create the responsive action card as shown in the screenshots.
  • Use the <img> tag with the srcset & sizes attributes—for when it’s exactly the same image presented in different resolutions.
  • Some of the HTML is already started, just a basic grid wrapper.
  • Text can be found inside the content.txt file.
  • Run it through Markbot and make sure it passes all the checks.

Details

  • Typefaces: Mukta Mahee (normal, bold) — Already in the HTML
  • Colours: #fff, #000, #333, #555, #e2e2e2
  • Button padding: .3em
  • SVG icon sizes: .i-1 (Sized based on type, not pixels)
  • Expected class names: .action-card, .action-btn, .action-tools-top, .action-tools-bottom
  • Expected image filenames: icons.svg, blue-bolt-480.jpg, blue-bolt-975.jpg

Tags you haven’t used: <menu>

There’s an HTML tag that’s expected in this assignment that you’ve likely never used before: <menu>—it denotes a grouping of <li> tags that represent a toolbar of actions. It’s kinda like HTML’s fourth list type specifically for application toolbars.

Use 2 <menu> tags: 1 to represent the top toolbar & 1 for the bottom toolbar.


Goal

Visually match the images in the “screenshots” folder and create the interaction shown in the linked video.


Hand in

Drop this folder into your Markbot application. Make sure to fix all the errors. And submit for grades using Markbot.