-
Notifications
You must be signed in to change notification settings - Fork 82.7k
Open
Description
Description:
The current implementation of solution.html
does not visually align with the reference image desired-outcome.png
. Specifically, the button's styling differs from the expected design.
Steps to Reproduce:
- Navigate to
foundations/intro-to-css/01-css-methods/solution/solution.html
. - Open
solution.html
in a web browser. - Compare the rendered button to the one depicted in
desired-outcome.png
.
Expected Behavior (Desired Outcome):
The button should have:
- An orange background.
- Black text.
- A white'ish border, as seen in
desired-outcome.png
. - Some vertical padding, making the button slightly taller.
Actual Behavior:
The button currently displays:
- An orange background.
- Black text.
- A border that does not match the expected design.
- Lacks the expected vertical padding, making it appear shorter than in
desired-outcome.png
.
Suggested Fix:
To align the button's appearance with the desired outcome, replace the button in solution.html
with the following (Ignoring padding which hasn't been introduced in the course at this point and should probably be modified in the image):
<button style="background-color: orange; border-color: white; font-size: 16px;">Inline Method</button>
Metadata
Metadata
Assignees
Labels
No labels