Copy link to clipboard
Copied
Good evening. I'm in the midst of error checking my pages one by one. I'm currently error checking my home page MICHAEL GUYDON PHOTOGRAPHY So far I've been able to clear out all but two errors. The logo on the top left shows up as an error.<img src="logo camera.fw.png" alt="" width="240" height="53" class="img-fluid"></a> The second error is this one. When I attempt to omit this, it enlarges my navigation menu font. <a class="navbar-brand" href="#"></a>↩ <link href="css/bootstrap-4.0.0.css" rel="stylesheet"><style type="text/css">↩. Is there any solution to this? Thanks in advance.
instead of
<style type="text/css"> .... </style>
write
<style> .... </style>
I just used ... instead of retyping all the CSS code
Copy link to clipboard
Copied
Contact page, you have some unclosed <div> tags in your code.
Copy link to clipboard
Copied
FASHION Page:
1) Move all of the swiper css out of the <body></body> section of the page and into the <head></head> section or put it in a linked stylesheet.
<style>
body {
margin: 0;
background-color: #000;
}
* {
box-sizing: border-box;
}
.swiper-container {
height: 100vh;
width: 100vw;
text-align: center;
}
@media screen and (max-width: 768px) {
.swiper-slide {
width: 100%;
}
}
img {
max-height: 100%;
max-width: 100%;
}
.swiper-button-prev, .swiper-button-next {
display: flex;
justify-content: center;
background-image: none!important;
color: #fff;
font-size: 35px;
height: auto!important;
}
@media screen and (max-width: 768px) {
.swiper-button-prev {
top: 100px;
background-color: #000;
border-radius: 4px;
padding: 0 9px 0 5px;
}
.swiper-button-next {
top: 100px;
background-color: #000;
border-radius: 4px;
padding: 0 5px 0 9px;
}
}
.caption {
color: white;
}
</style>
2) At the end of the swiper css, currently in the <body></body> section of your page, your have the below code - delete it
</head>
<body>
3) Ideally move all the linked files directly following your closing </nav> tag into the <head></head> section of the page.
<!--latest jQuery Core-->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<!--Popper JS-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<!--latest Bootstrap 4 JS-->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js"></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/js/swiper.js'></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/css/swiper.css'>
4) All the below images need an alt tag to pass validation <img src="resize/Tyrie.jpg" alt="Image Description"> or you can leave the alt tag blank alt=""
1. <img src="resize/Tyrie.jpg">
2. <img src="resize/Jennifer.jpg">
3. <img src="images/Yolanda.jpg">
4. <img src="resize/Alice.jpg">
5) Ensure you only have one call to the Bootstrap css - at the moment you again have it in the page twice.
Copy link to clipboard
Copied
if that works, I will correct the two otehrs ones... for now... dinner... ![]()
Copy link to clipboard
Copied
I'll address this. Thanks.
Copy link to clipboard
Copied
So, is this ok ?
Copy link to clipboard
Copied
It's perfect. No errors. So what I need to do is a compare and contrast of the errors that were there before you corrected them, so that I can learn from this. I really do appreciate your time and the time that you've put into this. It's much appreciated. I'll use this code for the rest of portfolio pages. It just makes sense. The contact form works too, which it worked from the beginning. I just have to add an confirmation show up, like in the one Nancy sent in the other form. That way, the client knows that their message was sent.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Yes, I'm using Windows. How do I add a email sent confirmation to this particular contact form?
Copy link to clipboard
Copied
Legacys7 wrote
How do I add a email sent confirmation to this particular contact form?
The contact from I builti in Bootstrap 3.3.7 works as expected. You broke it when you pasted the form into a Bootstrap 4.0 document. BS 4 is not backwards compatible with BS 3.
OPTION 1: Revert your contact page to use BS 3.3.7
OPTION 2: Re-build the form yourself in BS 4.0 or higher.
https://bootstrapious.com/p/how-to-build-a-working-bootstrap-contact-form
As I recall, you wanted to learn to work with code. Option 2 might be a good learning exercise for you.
Copy link to clipboard
Copied
Thanks again Birnou..![]()
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more