@Sherrisa
Posted
Have you tried examining the file in Figma? You can select specific elements and see the exact dimensions. Using Figma would reduce your trial-and-error time. This is a great article on working with design files in Figma: Figma for developers: How to work with a design file.
Also, you could simplify your code by working with either margin or padding on your heading and paragraph elements rather than using both.
Marked as helpful
@jvondungen
Posted
@Sherrisa thanks so much for this feedback. I really appreciate it! I will definitely try Figma!