@Raghav17 You don't need JS to do stuff like this: CSS3 supports animations :)
You can set an animation using keyframes:
/* apply your animation to a class and add a duration */
.my-class {
animation: NAME-YOUR-ANIMATION 3s
}
/* my animation definition */
@keyframes NAME-YOUR-ANIMATION {
0% { background-color: red; }
50% { background-color: blue; }
100% { background-color: red; }
}
Or you can use transition
if you want to react to specifics events (eg change color for 3 seconds after a hover or click)
POST http://localhost:8081/register 404 (Not Found)
what is the solution?
@khaduch Hi, I'm still having trouble.
hosted my site homepage displays like this
https://ibb.co/gbgbEn
When hosted on git pages it looks like this
https://ibb.co/eWsiun
https://github.com/liamdocherty/liamdocherty.github.io
Could it have something to do with these console errors? I have no idea how to fix them though.
liamdocherty.github.io/:108 Mixed Content: The page at 'https://liamdocherty.github.io/' was loaded over HTTPS, but requested an insecure image 'http://www.coolhdwallpapers.net/gallery/adidas-logo-black-background-wallpaper.jpg'. This content should also be served over HTTPS.
liamdocherty.github.io/:113 Mixed Content: The page at 'https://liamdocherty.github.io/' was loaded over HTTPS, but requested an insecure image 'http://www.gsfdcy.com/data/img/67/1913982-polo-wallpaper.jpg'. This content should also be served over HTTPS.
liamdocherty.github.io/:14 GET https://liamdocherty.github.io/css/animate.css net::ERR_ABORTED
liamdocherty.github.io/:15 GET https://liamdocherty.github.io/bower_components/Morphext/dist/morphext.css net::ERR_ABORTED
liamdocherty.github.io/:20 GET https://liamdocherty.github.io/CSS/design.css net::ERR_ABORTED
liamdocherty.github.io/:21 GET https://liamdocherty.github.io/CSS/media_queries.css net::ERR_ABORTED
liamdocherty.github.io/:224 GET https://liamdocherty.github.io/JS/smooth-scroll-master/dist/js/smooth-scroll.js net::ERR_ABORTED
liamdocherty.github.io/:226 GET https://liamdocherty.github.io/JS/javascript.js net::ERR_ABORTED
(index):224 GET https://liamdocherty.github.io/JS/smooth-scroll-master/dist/js/smooth-scroll.js net::ERR_ABORTED
:star2: 1412 | @sorinr |http://www.freecodecamp.org/sorinr
:star2: 3842 | @khaduch |http://www.freecodecamp.org/khaduch
:star2: 9158 | @sjames1958gm |http://www.freecodecamp.org/sjames1958gm