Styling Personal portfolio with animations
I added animations to my nav bar links and the animation doesn’t work also my image doesnt even appear any recommendations on how to fix this?

@_manual, you really need to take another look at your HTML code.

  • Codepen provides the boilerplate for you. It only expects the code you’d put within the body element in the HTML editor. (No need to include the body tags). For anything you want to add to the <head> element click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for <head>’ box.
    • For instance, links to fonts go in the box labeled ‘Stuff for <head>’
    • You have elements out of order. Review this for an understanding of the HTML boilerplate tags.
  • Run your HTML code through the W3C validator.
    • There are HTML syntax/coding errors you should be aware of and address.

Here’s your code for your background image
<div class="bg-image"></div>

In the CSS declaration for that add the following line to see how much room you’ve given it
border: solid 1px red;

How Could I fix the way my image turned out after fixing other errors

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.