Challenge #1: Create a 12-card grid that moves from 4 cards, to 3 cards, to 2 cards, to one card wide
Requirements
- Center content on page using container class for main element.
- Create a minimum of twelve cards to use for your layout exploration.
- Organize your content into logical rows.
- Use only Bootstrap defaults to achieve your goals.
- Document your process as you go using the structure illustrated on this page.
- When you break something, try to fix it. If it is broken beyond repair, save the file as a fail and move on to a fresh attempt.
The attempt
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhere…
…
…
The Process
-
I found a basic card on the bootstrap site and copied the code to paste on onto my page:
- FAIL! The images do not show up!
- The src attribute is empty , so I need to put a real imahge in there.
- I got a path from Lorem Picsum to use for now. That worked!
I copy/pasted the code for my working card 11 more times.
-
I copy/pasted the code for my working card 11 more times.
- I used a different number for each random image to help me tell them apart and commented where each card begins and the ends.
- I remeber with Skeleton I needed to use some of its css to tell the browser how many colums of the grid each thing should spanned.
- I'm going to try to use grid cards to layout all my cards
- Success! They are lining up in different layouts depending on screen size, but they are left-aligned to a one colum layout, and there is no space between them.
-
I used a different number for each random image to help me tell them apart and commented where each card begins and the ends.
Every page's content should end with a call-to-action that tell the user what to do next. A good call to action will have a link the user can click to go to the next resource we want them to see.