Pushed myself to smash thru it while sitting in front of television last night, then finessed the styling this morning. Emmett shortcuts are great for the HTML structure, once you know how.
This time i know how to make the codepen tests pass
I deliberately used the exact same hex color as the JS logo to create a visual association. I dont like text on the nav links dropping while i hover over the image (which is a link to top of the page), but “perfect is the enemy of good”… so ive left it as is for now. Perfection can wait until tomorrow.
Im quite pleased (smug) with the styling, but got fed up with fact checking JS documentation, so smacked some lorem text in there instead at the bottom…
Thanks if you take the time to let me know your thoughts. Tom;
Very nice. There is a point that isn’t capitalized in the beginning like the others, particularly - a
keyword is any…in basic syntax section.
Page looks good @tommytucker. Something to revisit;
- Run your HTML code through the W3C validator.
- Since copy/paste from codepen you can ignore the first warning and first two errors.
- There are coding errors you need to address.
Thanks again Roma,
Until im more proficient im going to get in the habit of running my HTML and CSS thru W3C - thanks for sharing the link…
I love building projects vs sitting reading pages of documentation… its way more engaging.
Why the border left of the logo disappears when scaling ?
What do you think of the overall page?
I may fork this in future and make the navbar collapse horizontally with a burger icon to access the nav menu… if that doesnt break the FCC code. It doesnt look very appealing on a mobile phone screen.
Sorry I didn’t say hi
I meant with the square logo, when the cursor is on, it comes bigger but lost border left.
So I see into your css code that you set border for the fourth side of the square.
So, I don’t really understand if the lost of the border is a design effect or a problem when hovering the logo/square
sorry i cant see what you see, either at full screen or when collapsed.
the logo has the ID of logo which has margin: 50px auto; - which means that there is 50px top and bottom and auto margins left and right of the logo within its container.
I know the logo hover expansion effect makes the text below move up and down, i dont know how to fix this yet, and i know i could spend hours trying to work it out so i havent bothered yet.
Sorryyyy let me try again
my english syntax still need working^^
Into your html : you have a where the first element is an with an id = logo (JS part)
Into your css, it’s related to #logo and, into properties you set
border : 1px solid black;
So, your JS letters are into a square which has 4 borders (top, right, bottom and left)
You applied an hover effect on the logo which has a property :
width: 65% (5% more than the not hovered one). So when you place the cursor on the logo into the square, the width of the logo increases.
So at the biggest point size (if you let the cursor on logo and it is hovered) the left border of the square disappears and this is the point I didn’t understand and ask if you know why it happens
I’m not able to explain why the text under is moving, I suppose it reacts to adapt with the new size of the logo and yes, it looks like a work to understand why and how to avoid that hihi but hey I’m interested if you find something about
If someone see what I mean and is able to explain it better…please do it
Keep the work <3
Thanks Mate for taking the time to go through it, im not having that issue on my browser!
Remember every browser / device might not display each webpage the same, i can only surmise your device and my device are not rendering the content equally…
There are some interesting “high level” videos about CSS if you are interested (or you maybe know 10x more than me at this point!!);
Wow I didn’t think about this point haha
But the quest stays entire why it disappears…on my browser
I use Google Chrome 81.0.4044.138 (64 bits)
What is your browser ?
Maybe someone else could have a try and shares what happens on her/his screen ?
Thanks for video references I’ll have a look at
We are on the same learning path
Im on mac OS 10.15.4 - Mozilla firefox 76.0.1 (64bit)
Yeah, i try to remember to design for the pages to collapse beautifully, cos what you see might not be what others see. good Luck.
I had some hesitation to pick mozilla too but mmh I think it could be a good thing to see how pages have different displaying
Oh gosh does it mean we should have a look on IE too ??? arg