Like a pro!
@Marcella I’m not a pro anyways thank you
Hey @iamjoydey!
Dude…
This project in my opinion is one of the best ones that I have ever seen here.
Congrats for the awesome job!
Looking at your code I have some comments:
-
About the FCC CDN link, you can put it in other place:
-
There are a missing vertical bar on your
showcase
in the responsive layout, I solved it using this code:
#showcase div div:nth-child(3){
border-right: 1px solid rgba(255, 255, 255, 0.349);
}
//on your:
@media (max-width: 767px) {}
- In my opinion, the video on a full screen resolution occupy a lot of space on the screen, I would put something like this on your code:
#video{
/*360p 16:9 resolution*/
max-width: 640px;
max-height: 360px;
margin-left: auto;
margin-right: auto;
}
But just small things dude, great job and keep going!
@julio-pinheiroo thanks a lot mate! I’m not used to codepen, thanks for letting me know about the option to put it into head section of html and regarding the vertical bar on the showcase section on the last item I purposely removed it as it seemed to me that it was not looking good
, again thanks for the video fix
Amazinng design. You seem to be very knowledgeble about CSS. Good work!
Just a note @julio-pinheiroo and @iamjoydey . The FCC CDN link is JavaScript and will not work if it’s in the head
element. It will with codepen because codepen is forgiving.
The problem will be if you export the pen and then try and use it elsewhere. Since the script is in the head
element it wouldn’t work.
If you want to add it somewhere else in codepen it belongs in the JS section of the pen setting as shown below.
@Roma hey thanks for letting me know about this but when I added the script url in the js section the script wasn’t working
- did you add it in the box as shown?
- did you remove the
script
tags as shown? - did you remove the quotes as shown?
- did you refresh the browser page/tab?
When you say “the script wasn’t working” what does that mean? Please expand.
a. I removed the script tag from the html section in codepen
b. I grabbed the script source and pasted it in the js section
c. I saved the pen and codepen reloaded the pen but after reloading the Hamburger menu disappeared from the page
Can you attach a screenshot of that pen settings please.
@Roma nvm I fixed the issue. I had a typo in the link
Good to hear. Typo’s are the bane of coder’s
Hi! I like your landing page! It’s awesome! I changed the animation on the food cards. like this.
#menu .card img {
transition: transform .6s ease-in-out;
}
#menu .card:hover img {
transform: scale(1.3) rotate(15deg);
}
That way, the transition do an effect forward-backwards. I did the same on services. It’s only a suggestion.
#services .card {
transition: all .3s ease-in-out;
}
#services .card:hover {
cursor: pointer;
background-color: #fff;
box-shadow: 0 10px 20px rgba(141, 141, 141, 0.212);
transform: scale(1.1);
-webkit-tap-highlight-color: transparent;
}
yes ; you are good but, keep going?.