You are going to try to solve as much tasks as possible. Its a Styling Marathon
- Fork and clone this repo
- You will find a folder for each challenge
- The
index.htmlfor each challenge is already there, you do not need to create it. - Import your
CSSonly using astylesheet for each folder separately - Use live server to run the server, otherwise, some pages will break!
- Remember that here we are using w3css, here in the code, and it has some ready classes. if your style doesn’t apply to the html just make sure yours is overriding the w3css.
-
You will be adding your code in the
index.htmlthat is inside folder 1 -
Create style.css file and link it to your html file
-
Try to create this layout:
- Harry Potter cover image can be found in the
assetsfolder - To center text you can use
text-align - You can get fonts from Google Fonts. You can use any fonts you like for the title.
- Research how you can use google fonts in your HTML website!
- You will be adding your code in the
index.htmlthat is inside folder 2 - Create style.css file and link it to your html file
- Try to create this layout:
- Use
flexbox
- Image is in the
assetsfolder, usebackground-image - Learn how you center elements in css here
- To read more about
flexBox, check CSS Tricks
- To read more about
- To add shadow easily, use this website that provides you with the shadow css code.
- You don't need to touch
index.htmlthis time, just take a look of the classes that are assigned to each html element. - Your
style.csshas all classes that you need this time, you only need to fill the classes with your stylings. - Your page should look like this
- Container has to have a height of 300px and width 400px
- The container should clip the list inside it so the list doesn't overflow. With that, you will have to scroll to see all items
- Have a nicer font for both the title and list
- Give the
headclass abackground-colorand acolor - The head has to be sticky, which means if you scroll down, the head doesn't disappear.
- Give the list a
background-colorand acolor - Make your list scroll using
overflow - You will find the
rowclass in theindex.js,ìndex.jsis rendering a list frompeople.js( you do not need to touch is, it's only so you know what is therowclass controlling)
- An example of a scrollable menu is the History from the
calculator.js style.cssis ready with the classes- Check out Overflow attribute
- You can use this coolors to find colors that you like
-
You don't need to touch
index.htmlthis time, just take a look of the classes that are assigned to each html element. -
Your
style.csshas all classes that you need this time, you only need to fill the classes with your stylings. -
Reuse the image from challenge 1, to create the layout provided
-
Use
flexboxfor centering your card -
You will be using
positionin couple of things



