Advance CSS Assignments

 Color Palette

In this assignment, let's build a Color Palette by applying the CSS concepts we learned till now.

Refer to the below image.


Instructions:

  • The text on each card should be centered vertically and horizontally.
  • The colors should wrap into multiple lines based on the width available.
Note
  • Achieve the design using the CSS Flexbox layout.
  • Try to achieve the design as close as possible.

CSS Colors used:

Text Color Hex Codes Used:

#011e3f
#ffffff

Background Color Hex Codes Used:

#f87171
#fb923c
#fbbf24
#facc15
#a3e635
#4ade80
#34d399
#22d3ee
#38bdf8
#60a5fa
#818cf8
#c084fc
#e879f9
#f472b6
#fb7185

CSS Font families used:

  • Roboto

Concepts Review

Want to quickly review some of the concepts you’ve been learning?

Take a look at the Cheat Sheets.

Best Service Stats

In this assignment, let's build a Best Service Stats page by applying the CSS concepts we learned till now.

Refer to the below images.

The following images illustrate all device sizes, from extra small to extra large.

Extra Small (Size < 576px), Small (Size >= 576px) and Medium (Size >= 768px):

best-service-stats-sm

Large (Size >= 992px), Extra Large (Size >= 1200px):

Instructions:

  • Add the given images as background images to an HTML container element
  • The page should have two different background images in devices below 992px and devices equal and above 992px
  • The HTML main heading element should have different font-sizes in devices below 992px and devices equal and above 992px
  • The stats should be wrapped into multiple lines
Note
  • Achieve the design using the CSS Flexbox layout and media queries.
  • Try to achieve the design as close as possible.

Resources

CSS Colors used:

#12022f
#594d6d
#176fff
#323f4b

CSS Font families used:

  • Open Sans

Concepts Review

Want to quickly review some of the concepts you’ve been learning?

Take a look at the Cheat Sheets.

Instagram Story Viewer

In this assignment, let's build an Instagram Story Viewer page by applying the CSS concepts we learned till now.

Refer to the below images.

The following images illustrate all device sizes, from extra small to extra large.

Extra Small (Size < 576px), Small (Size >= 576px):

instagram-story-viewer

Medium (Size >= 768px), Large (Size >= 992px), and Extra Large (Size >= 1200px):

Instructions:

  • The direction of the linear-gradient for the banner section should be different for devices below 768px and equal and above 768px.
  • Use the HTML 
    nav
     element to provide navigation links, either within the current document or to other documents.
  • The links in the HTML 
    nav
     element should be hidden in devices below 768px and visible in devices equal to and above 768px.
  • The HTML input element and HTML button element for search should be hidden in devices below 768px.
  • The features of the Instagram Story viewer should be displayed vertically in devices below 768px.
  • The features of the Instagram Story viewer should be displayed horizontally in devices equal to and above 768px.
Note
  • Achieve the design using the CSS Flexbox layout and Media queries.
  • Try to achieve the design as close as possible.

Resources

CSS Colors used:

Linear Gradient Colors Hex Codes Used:

#f54f5a
#f58529
#f64f59
#d267c4
#00ffff

Text Color Hex Codes Used:

#ffffff
#0f172a

Background Color Hex Codes Used:

#3b82f6

CSS Font families used:

  • Roboto
  • Lobster

Concepts Review

Want to quickly review some of the concepts you’ve been learning?

Take a look at the Cheat Sheets.

Popular Blog

In this assignment, let's build a Popular Blog by applying the CSS concepts we learned till now.

Refer to the below images.

The following images illustrate all device sizes, from extra small to extra large.

Devices(size < 768px):

popular-blog-sm

Devices (size >= 768px and size < 1200px):


Devices (Size >= 1200px):


Instructions:

  • The page should have two different background images for Marketing Strategies and Laptop cards in devices below 768px and devices equal and above 768px.
  • Add the given images as background images for the cards.
  • For the devices below 992px the heading should be centered and for the rest of devices it should align to the left.
Quick Tip
To achieve the output, specify different widths in percentages for different responsive breakpoints for each card.
Note
  • Achieve the design using the CSS Flexbox layout and Media queries.
  • Try to achieve the design as close as possible.

Resources

Use the image URL's given below.

Marketing

Coffee

Fruits

Nature

Interior

Laptop

CSS Colors used:

Background color Hex Code values:

#95b2ff
#ffffff

Text color Hex Code values:

#12022f

CSS Font families used:

  • Roboto

Concepts Review

Want to quickly review some of the concepts you’ve been learning?

Take a look at the Cheat Sheets.

Product Launch Section

In this assignment, let's build a Product Launch Section by applying the CSS concepts we learned till now.

Refer to the below images.

The following images illustrate all device sizes, from extra small to extra large.

Devices (Size < 900px):

product-lauch-section-sm

Devices (Size >= 900px):


Instructions:

  • For the devices less than 900px, the width of image should be 180px and for the rest of devices it should be 300px.
  • The page should have the image on the right in devices equals to and above 900px.
  • The page should have the image on the top in devices below 900px.
  • For the devices less than 900px, use align self property to align the image horizontally in the center.
Note
  • Achieve the design using the CSS Flexbox layout and Media queries.
  • Try to achieve the design as close as possible.

Resources

Use the image URL's given below.

CSS Colors used:

Background color Hex Code values:

#ffdda9

Text color Hex Code values:

#8e62d9
#ffffff
#334155

CSS Font families used:

  • Roboto

Concepts Review

Want to quickly review some of the concepts you’ve been learning?

Take a look at the Cheat Sheets.

Weather Report Section

In this assignment, let's build a Weather Report Section by applying the CSS concepts we learned till now.

Refer to the below images.

The following images illustrate all device sizes, from extra small to extra large.

Devices (Size < 900px):

weather-report-section-sm

Devices (Size >= 900px):


Instructions:

  • The weather conditions in the section should be horizontal for the devices equals to and above 900px.
  • The weather conditions in the section should be vertical for the devices below 900px.
  • For the weather conditions, use justify-content property with value space-around to occupy equal space for the devices less than 900px.
Quick Tip
  • The HTML Superscript element 
    sup
     specifies inline text which is to be displayed as superscript. Refer to the prefilled HTML code.
Note
  • Achieve the design using the CSS Flexbox layout and Media queries.
  • Try to achieve the design as close as possible.

Resources

Use the image URL's given below.

CSS Colors used:

Background color Hex Codes values:

#ffffff20
Note
In the above Hex code 20 represents the transparency. Use this as a background color for the devices less than 900px.
#b96fa1
#5a3f8c

Border color Hex Code values:

#e9e9e930

Text color Hex Code values:

#ffffff

CSS Font families used:

  • Roboto

Concepts Review

Want to quickly review some of the concepts you’ve been learning?

Take a look at the Cheat Sheets.

Responsive Navbar

In this assignment, let's build an Responsive Navbar page by applying the CSS concepts we learned till now.

Refer to the below images.

The following images illustrate all device sizes, from extra small to extra large.

Extra Small (Size < 576px), Small (Size >= 576px):



Medium (Size >= 768px), Large (Size >= 992px), and Extra Large (Size >= 1200px):

Instructions:

  • Use the HTML 
    nav
     element to provide navigation links, either within the current document or to other documents.
  • The links in the HTML 
    nav
     element should be hidden in devices below 768px and visible in devices equal and above 768px.
  • The page should have two different background images in devices below 768px and devices equal and above 768px.

By following the above instructions, achieve the given functionality.

  • The links in the HTML 
    nav
     element should be displayed when clicked on the menu icon in devices below 768px.
  • The links in the HTML 
    nav
     element should be hidden when clicked on the close icon in devices below 768px.
  • Use 
    classList.toggle()
     to show and hide the HTML elements.
Note
  • Achieve the design using the CSS Flexbox layout and Media queries and Javascript.
  • The Icons used in this page are Font Awesome Icons.
  • Try to achieve the design as close as possible.

Resources

CSS Colors used:

#ffffff
#12022f
#e7e5ea
#594d6d
#ffdda9

CSS Font families used:

  • Open Sans
  • Roboto

Concepts Review

Want to quickly review some of the concepts you’ve been learning?

Take a look at the Cheat Sheets.

Post a Comment

Please Select Embedded Mode To Show The Comment System.*

Previous Post Next Post

Contact Form