So I’m just about to begin on the Tribute Page and having not used CodePen before, was just quickly running some tests to understand the layout. I wanted to just create a simple blue square in the center of the page, using a height and width value of 200px.
The results is a box that is almost twice as tall as it is wide, where it should be 1:1. If I use this same code in other places, it does what I expect, it creates a 1:1 box.
Should I be concerned about this before beginning making my tribute page? I’m worried it’ll be throwing other values off and will cause further issues down the line.
Thanks for the quick response, but the issue persists when I do this.
Just to be clear, that script was already inside the “JS” area, I’m not quite sure how to explain as I’m still new to this! The script was already plugged into the template provided by FreeCodeCamp.