Coder Social home page Coder Social logo

katz0018 / action-hero-card-with-actions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ltw-webdev-3/action-hero-card-with-actions

0.0 1.0 0.0 2.89 MB

Create a card interface with a toolbar of actions using <img srcset> and SVG icons.

CSS 95.91% HTML 4.09%

action-hero-card-with-actions's Introduction

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.

action-hero-card-with-actions's People

Contributors

katz0018 avatar thomasjbradley avatar

Watchers

James Cloos 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.