Coder Social home page Coder Social logo

zero-to-mastery / css-art Goto Github PK

View Code? Open in Web Editor NEW
318.0 14.0 512.0 1007.48 MB

General Edition - A CSS art challenge, for all skill levels

Home Page: https://zero-to-mastery.github.io/CSS-Art/

HTML 26.09% CSS 65.83% JavaScript 7.95% SCSS 0.13%
css-art coding-challenge

css-art's Introduction

UPDATE: Repository is Archived

Please note: This repo is now archived and no longer accepting contributions. If you would like to contribute to a similar project, please check out Animation Nation

UPDATE: Event Concluded!

This project started as a project for Hacktoberfest 2019, Thank you to everyone that participated and made this project what it is today and we look forward to seeing you all at Hacktoberfest 2020!. Feel free to continue adding your designs, you can check out the Hactoberfest-Edition to see the project as it was at the end of the event.

Interested in more events? keep an eye on our Events page HERE Hacktoberfest 2021 Projects can be found here

CSS ART - General Edition

Welcome to CSS Art, a fun, beginner-friendly challenge for Hacktoberfest!

What shapes, pictures and animations can you come up with, using plain HTML divs and CSS? Let's showcase the artistry of ZTM students, and get a free t-shirt into the bargain! If you're not sure what this is or how to go about doing it, take a look at this tutorial, which will teach you all about how to make pure CSS images.

What is Hacktoberfest?

Every October, Digital Ocean runs Hacktoberfest, a month-long celebration of open-source software! All you have to do to take part is sign up on their website - and make five pull requests in the month of October. Any pull request to any public repo on Github will count, which means, of course, that any PRs you make to this project will help you on your way to getting a cool t-shirt!

Instructions

If you've never forked a repository or made a pull request before, we recommend making your first one over at https://github.com/zero-to-mastery/start-here-guidelines . That will count towards your total, and then you'll be ready to take on this challenge with your new GitHub skills!

Rules

The rules are simple. You have to:

  • Use HTML <divs> and CSS only! No JS, and no SVGs!
  • Have at least one animation in your work
  • Please make sure that the code is indeed your own, and not copied from someone else
  • That's it!

All discussions around this event can now be had in our #hacktoberfest-2019 channel on Discord!

How to contribute

If you've never forked a repository or made a pull request before, we recommend making your first one over at https://github.com/zero-to-mastery/start-here-guidelines. That will count towards your total, and then you'll be ready to take on this challenge with your new GitHub skills!

A cool resource to learn about the fork workflow can also be found here - https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow

Now, once you've forked this repo and got a local version up on your computer, follow these steps:

  1. In the Art directory (folder), create a directory named after yourself.
  2. Within this folder you just made, create two files, an HTML file, and a CSS file.
  3. Link your CSS file to your HTML file.
  4. Using only HTML and CSS (no <script> allowed!!), create a work of art! It can be as simple or as complex as you like, as long as it's animated in some way!
  5. Get a screen recording of your finished work, and make a gif! Try to crop it so that it looks good as a smallish (preferably squarish) image. Save this in your directory, together with your HTML and CSS files. Static screenshots are also acceptable.
    If you don't add a gif/screenshot, the website won't show your animation.
  6. Go to the root include.js. You will see an array of objects, each one represents a work of art that someone has created. Copy the example object below and paste it at the end, filling it out with your art information and links:
let cards = [
  //  Add your card in this section
  {
    artName: 'Your art name here',
    pageLink: './Art/Joy/triangle/triangle.html',
    imageLink: './Art/Joy/triangle/triangle.gif',
    author: 'Joy',
    githubLink: 'https://github.com/royranger'
  }
];

And congratulations! You're all done. Have fun!

css-art's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

css-art's Issues

I want add CSS flip animation

I want to create a CSS flip card animation and add it to your repo.
Kindly assign me this issue to work on under Hacktoberfest 2022

Github Pages build workflow failing due to invalid YAML front matter

This error occurs during the build workflow in github actions.

Apart from the front matter specified in the root README.md file, there is also another README.md file in Art/confusionmatrix98/README.md.

The error is displayed below;
Screenshot (301)

Another README.md file also exists in the repository as seen from the previous successful deployment
Screenshot (304)

No YAML front matter is specified in this file;
Screenshot (303)

Perhaps, we can exclude this file or delete and run the build workflow to see if this error is rectified @sophiabrandt

Update README.md to include "artName" property for include.js

From recent pull requests, contributors have omitted this property because it isn't explicitly stated in the README.md file.

The current documentation has this below.

let cards = [
  //  Add your card in this section
  {
    pageLink: "./Art/Joy/triangle/triangle.html",
    imageLink: "./Art/Joy/triangle/triangle.gif",
    author: "Joy",
    githubLink: "https://github.com/royranger",
  },
]

However, in the include.js file, five properties are used and artName is included among these properties;

`<img class="art-image" src='${c.imageLink}' alt='${c.artName}' />` +

In order to prevent future contributors from omitting the property, it should be updated in the documentation.

let cards = [
  //  Add your card in this section
  {
    artName: "My art name here",
    pageLink: "./Art/Joy/triangle/triangle.html",
    imageLink: "./Art/Joy/triangle/triangle.gif",
    author: "Joy",
    githubLink: "https://github.com/royranger",
  },
]

I can raise a PR to update the docs or we could have another contributor update the docs as a good first issue practice. Please review @sophiabrandt

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.