Skip to content

AmoInno/Module_4R_CS20240143_WFO2407_B_Amogelang-Mashishi_SDF04_R

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

[SDF04] CodeSpace Cafe Debugging Challenge

Your Goal

Your task is to debug the CSS at CodeSpace Cafe so that the pastries are neatly in a line.

The Problem

The HTML includes a counter and four pastry elements, but they are not properly spaced and overlap each other.

What to Do

  1. Debugging Task: Review the provided HTML and CSS code. Identify the CSS properties causing the pastries to overlap and adjust them to ensure proper spacing and layout. You should aim to position the pastries in a straight line on the counter, spaced evenly apart.

SOLUTION:

  1. Remove position: absolute; in the class pastry.
  2. Add display:flex; in the class counter. 3.Add justify-content: space-around; in the class counter.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 61.7%
  • HTML 38.3%