Coder Social home page Coder Social logo

event-list's Introduction

Pittsburgh Pirates Home Game and Promotional Schedule

This is a basic HTML and CSS project that was developed to display the upcoming nine home pages and promotional items for the Pittsburgh Pirates. Games that include a promotional giveaway item are indicated by an asterisk. The "Event Information" link can be clicked to read additional information about each game. For the purposes of this demo, all events link to the same Event Information page.

This project's CSS was composed using SCSS. The final HTML, stylesheet, and image files reside in the "/build" directory. The SCSS files were compiled and built using Middleman static site generator, but the final project can be run on any server. For instance:

http-server [local directory]/event-project/build

Will run the index.html page locally.

All source files can be found in the "source" directory. SCSS partials are located in the source/assets/stylesheets directory.

HTML & CSS Structure

The event listing page uses CSS grid to display events in a column and row format, with one event per row on mobile, and three events per row on desktop. CSS grid was selected because it is easy to read and maintain, and responsive/mobile-friendly. h2 headings are used as event titles for accessibility purposes.

SCSS partials are named relative to their corresponding HTML element (header, footer, etc).

Most of the CSS pertains to elements of an event (title, time, date, block in grid), so elements are named to match attributes (such as event-grid--block, event-title, event-date, etc).

For performance reasons, the final stylesheet is compressed. A uncompressed version of the stylesheet has been provided here, located at build/assets/stylesheets/style-uncompressed.css, for easy review.

event-list's People

Contributors

empee3 avatar

Watchers

 avatar  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.