Question

In: Computer Science

Dear Colleague, Earlier today I built my seventh website using HTML5, CSS3, and Bootstrap4. Bootstrap seems...

Dear Colleague, Earlier today I built my seventh website using HTML5, CSS3, and Bootstrap4. Bootstrap seems amazing, but it never did what it should do – make my website look better. Also, my page should have a blue theme that was provided in the CSS folder. This also didn’t work. My website is supposed to look like what is shown in Figure 1 (see below). Someone told me that there are exactly 10 errors on index.html, 10 errors on contact.html, and 10 errors on events.html. Yes, 30 errors total! Can you help me find all of the errors? Hint: You should not add ANY LINES to the code. There will never be more than one error per line number.

events.html ( HELP FIND the 10 ERRORS IN THIS CODE )

<!doctype html>
<html>
<head>
<title>Try Boro Kids Race Series</title>

<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
<!-- Bootstrap CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet">
<!-- JQuery -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>

</head>
<body>
  
<div class="container-fluid">
  
  
<nav class="navbar navbar-expand-lg navbar-dark bg-danger">
<a class="navbar-brand" href="#">
<img src="" width="auto" height="30" alt="Running Man Logo">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="events.html">Placeholder Text <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Placeholder Text</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link" href="http://www.tryborokidstri.org/" target="_blank">Try Boro</a></li>
<li class="nav-item"><a class="nav-link" href="https://www.facebook. com/TryBoroKids/" target="_blank"><img src="images/IconFacebook.png" class="iconsocial" alt="Facebook" width="auto" height="30"></a></li>
</ul>
</div>
</nav>
  
  
<div class="row">
<div class="col-1"><h2>Try Boro Events</h2>
</div>
</div>
<div class="rows">
  
<div class="col-md-6">
<img src="images/Tri_Left_KidBikeBlur.jpg" class="img-fluid rounded-circle" alt="Placeholder image">
<h3>Biking is a blur </h3>
<p>Triathlete rushing to get started in the transition. Kids get the whole experience of swimming, biking, and running.</p>
</div>
<div class="col-md-6">
<img src="images/Tri_Mid_TransDrink.jpg" class="img-fluid rounded-circle" alt="Placeholder image">
<h3>A triathlon can be exhausting</h3>
<p>When returning to transition, this participant gets some much deserved water before hitting the run.</p>
</div>
<div class="col-md-6">
<img src="images/Tri_Right_trans.jpg" class="img-fluid rounded-circle" alt="Placeholder image">
<h3>Time to get changed </h3>
<p>It not easy to get out of the pool, run down to transition, and get ready for the bike - all while soaking wet!</p>
</div>
</div>
<!-- #BeginLibraryItem "/Library/footer.lbi" -->

  
  
<footer class="footer bg-primary text-center text-white"></footer>
  
</div>
  
</body>
</html>

Solutions

Expert Solution

Error details :

Error 1:

  • As this is HTML5 website need to add the <!DOCTYPE html> as first line

Error 2 :

  • Need to add lang attribute in the <html> declaration like <html lang="en">

Error 3 :

  • As this is using HTML5 no need to specify the type="text/javascript" in script tag

Error 4 :

  • For img tag src attribute is empty which is invalid need to provide the source for the img

Error 5 :

  • Width can not be auto need to provide the width to the image like width="50" etc.

Error 6 :

  • Hyperlink that is <a> tag given in the last li which contains href attribute with space that needs to remove

Error 7 :

  •   width="auto" is invalid need to provide width in digits.

******************************************

Code after making corrections :

<!DOCTYPE html>

<html lang="en">

<head>

    <!-- title for web page -->

    <title>Try Boro Kids Race Series</title>

    <!-- Font Awesome -->

    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">

    <!-- Bootstrap CSS -->

    <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet">

    <!-- JQuery -->

    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

    <!-- Bootstrap core JavaScript -->

    <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>

</head>

<body>

    <div class="container-fluid">

        <nav class="navbar navbar-expand-lg navbar-dark bg-danger">

            <a class="navbar-brand" href="#">

                <img src="abc.jpg" width="50" height="30" >

            </a>

            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"

                aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">

                <span class="navbar-toggler-icon"></span>

            </button>

            <div class="collapse navbar-collapse" id="navbarNav">

                <ul class="navbar-nav">

                    <li class="nav-item active">

                        <a class="nav-link" href="events.html">Placeholder Text <span

                                class="sr-only">(current)</span></a>

                    </li>

                    <li class="nav-item">

                        <a class="nav-link" href="contact.html">Placeholder Text</a>

                    </li>

                </ul>

                <ul class="navbar-nav ml-auto">

                    <li class="nav-item"><a class="nav-link" href="http://www.tryborokidstri.org/" target="_blank">Try

                            Boro</a></li>

                    <li class="nav-item"><a class="nav-link" href="https://www.face1book.com/TryBoroKids/"

                            target="_blank"><img src="images/IconFacebook.png" class="iconsocial"

                                width="50" height="30"></a></li>

                </ul>

            </div>

        </nav>


        <div class="row">

            <div class="col-1">

                <h2>Try Boro Events</h2>

            </div>

        </div>

        <div class="rows">

            <div class="col-md-6">

                <img src="images/Tri_Left_KidBikeBlur.jpg" class="img-fluid rounded-circle" >

                <h3>Biking is a blur </h3>

                <p>Triathlete rushing to get started in the transition. Kids get the whole experience of swimming,

                    biking, and running.</p>

            </div>

            <div class="col-md-6">

                <img src="images/Tri_Mid_TransDrink.jpg" class="img-fluid rounded-circle" >

                <h3>A triathlon can be exhausting</h3>

                <p>When returning to transition, this participant gets some much deserved water before hitting the run.

                </p>

            </div>

            <div class="col-md-6">

                <img src="images/Tri_Right_trans.jpg" class="img-fluid rounded-circle" >

                <h3>Time to get changed </h3>

                <p>It not easy to get out of the pool, run down to transition, and get ready for the bike - all while

                    soaking wet!</p>

            </div>

        </div>

        <!-- #BeginLibraryItem "/Library/footer.lbi" -->

        <footer class="footer bg-primary text-center text-white"></footer>

    </div>

</body>

</html>

============================================

Screen when html is validated :


Related Solutions

Dear Colleague, Earlier today I built my seventh website using HTML5, CSS3, and Bootstrap4. Bootstrap seems...
Dear Colleague, Earlier today I built my seventh website using HTML5, CSS3, and Bootstrap4. Bootstrap seems amazing, but it never did what it should do – make my website look better. Also, my page should have a blue theme that was provided in the CSS folder. This also didn’t work. My website is supposed to look like what is shown in Figure 1 (see below). Someone told me that there are exactly 10 errors on index.html, 10 errors on contact.html,...
I have posted this earlier, but it seems that the code part was cutoff, therefore, this...
I have posted this earlier, but it seems that the code part was cutoff, therefore, this is re post with full code. In the program the "case: 'C'" doesn't seem to function correctly, We were told to write a book tracking program, and it takes inputs and once all the book info such as ISBN, date, author, course number, etc are put in then input, then we can print them out, by using the print functions that are defined in...
Is my writing for the email correct? I mean grammatically and academy. Dear Dr. Muller, Greetings!...
Is my writing for the email correct? I mean grammatically and academy. Dear Dr. Muller, Greetings! I would like to thank you for your assistance. I looked at the offer from University of Manchester and I found that there were two conditions are master's degree with GPA of 3.2 or higher and Two satisfactory references issued on official headed paper, signed and dated by referees I think I provided official transcript with GPA of 3.667 and two references to Dr.George...
Dear Expert. I have been studying about Statistical Process Control. And my professor required me to...
Dear Expert. I have been studying about Statistical Process Control. And my professor required me to collect the data from real manufacturing in Taiwan. I wonder how can I make a plan in Data collection for SPC. This manufacturing product ordered product ( house door, ventilator, window, etc...). The main raw material is steel. I had gone there last week and seen how it work. I already know what kind of machine and part I need to collect. But the...
What am I doing wrong in my bootstrap code for R? x<-c(30, 37, 36, 43, 42,...
What am I doing wrong in my bootstrap code for R? x<-c(30, 37, 36, 43, 42, 43, 43, 46, 41, 42) n = 10 x=pnorm(n,mean=40.3,sd=4.6) mu_0=40.3 s.mean=mean(x) s.sd=sd(x);s.sd [1] NA t.sample=(s.mean-mu_0)/(s.sd/sqrt(n)) B=10000 t=c() count.less=0 count.more=0 for(j in 1:B) + { b.smpl = x[sample(1:n, size = n,replace=TRUE)] + ybar.bs = mean(b.smpl) + sd.bs = sd(b.smpl) + t[j] = (ybar.bs - s.mean)/(sd.bs/sqrt(n)) + if(t[j]>=t.sample){ count.more=count.more+1} + if(t[j]<=t.sample){ count.less=count.less+1} + } Error in if (t[j] >= t.sample) { : missing value where TRUE/FALSE...
I'm confused when I can use Henderson equation for pH calculation? it seems my professor use...
I'm confused when I can use Henderson equation for pH calculation? it seems my professor use it for both calculating ph of titration and for buffer solution too. but can I use this equation for both ??
I used my catchement area to calculate my runoff using the national method. how will i...
I used my catchement area to calculate my runoff using the national method. how will i go on calculating the volume needed for storage? which equations will i use ? i want to have a storage tank that is pumped to the wetland. how will i distribute the volume and calculate the sizing for each. Can you explain with an example if you can?
I depost $1,000 in my account today. Each year, I increase this payment by $200 per...
I depost $1,000 in my account today. Each year, I increase this payment by $200 per period (That is $1,200 deposited in year 1. What is the amount in the account at the end of 15 years including the payment in year 15. Interest rate is 6%.
I need to draw my first name using Turtle. I am struggling with "P" and "A"...
I need to draw my first name using Turtle. I am struggling with "P" and "A" this is what I have import turtle turtle.setup(800, 700) window = turtle.Screen() window.reset() window.bgcolor('cornsilk') t = turtle.Turtle() t.color('blue') t.pencolor('red') t.turtlesize(6) t.speed(2) t.up() t.setposition(-50, 0) t.pendown()#Drawing letter T t.forward(40) t.back(20) t.right(90) t.forward(50) t.left(90) t.penup() t.forward(70) t.left(90) t.forward(25) t.pendown() t.circle(25)# Drawing letter O t.penup() t.left(180) t.forward(25) t.left(90) t.forward(10) t.pendown()#Drawing letter N t.left(90) t.forward(50) t.right(150) t.forward(60) t.left(150) t.forward(53) t.back(53) t.right(90) turtle.done()
Using HTML/Javascript (if needed) I want to create a table for a website that pulls data...
Using HTML/Javascript (if needed) I want to create a table for a website that pulls data from another website where the data is being updated on. Example: https://investors.coca-colacompany.com/stock-information/historical-data I cannot just put in the numbers to a table as they will be getting updated daily. So it needs to link the the website elements. DATE OPEN HIGH LOW CLOSE VWAP VOLUME % CHG CHANGE TRADE VAL TOTAL TRADES 2020-10-13 -- -- -- 51.09 -- -- 0.00% -- -- -- 2020-10-12...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT