DEV Community

KelliLil
KelliLil

Posted on

Fixing broken code

I noticed earlier this week in class that my image was not matched yo to my instructor's display.
My incorrect photo
The above image was my coded page and below was my instructor's.
Instructor's correct photo

In order to correct this mistake, I immediately thought

OH NO! I RUINED MY CODE

Thankfully, that was not the case.In order to fix this, I looked at my HTML/CSS and my instructor's HTML/CSS line by line to figure out what the problem was.
Conclusion:

  1. I see I DID NOT create a relative class in my HTML for this photo. Image description Image description
  2. Therefore, MY CSS was not reading the HTML because there was a proponent that was UNASSIGNED Image description

Top comments (0)