//Tell us what’s happening:
It seems to belive that I have not completed everything but I don’t see why.
-
Within the “img-div” element, I should see either a or
element with a corresponding id=“img-caption” that contains textual content describing the image shown in “img-div”.7. I should see an element with a corresponding id=“tribute-link”, which links to an outside site that contains additional information about the subject of the tribute page. HINT: You must give your element an attribute of target and set it to “_blank” for your link to open in a new tab (i.e. target="_blank").
1. The
element should responsively resize, relative to the width of its parent element, without exceeding its original size.//
//Can someone please tell me what I did wrong?//
Your code so far
Nelson Mandela<div id="main" class="container text-center" style="background-color: rgb(245, 245, 245);"> <div> <div> <div id="img-div" style="padding-bottom: .75em; background-color:white;"> <h1 id="subject" style="padding-bottom: 1em; padding-top: 1em;"> Nelson Mandela</h1> <img id="image" style="width: 50em;;" src="NelsonPoster.jpg" alt="..." class="img-thumbnail"> <div id="image-caption" style="padding-top: 1em;">South African anti-apartheid revolutionary, political leader, and philanthropist who served <br> as President of South Africa from 1994 to 1999. </div> </div> <div id="tribute-info" class="container text-left" style="padding-top: 2em;"> <ul style="padding: 1em;"> <li style="padding: 1em;"> <b>1918</b> Born Rolihlahla Mandela at Mvezo in the Transkei</li> <li style="padding: 1em;"> <b>1939</b>Enrols at the University College of Fort Hare, in Alice </li> <li style="padding: 1em;"> <b>1941</b>Escapes an arranged marriage; becomes a mine security officer; starts articles at the law firm Witkin, Sidelsky & Eidelman </li> <li style="padding: 1em;"> <b>1942</b>Begins to attend African National Congress (ANC) meetings informally </li> <li style="padding: 1em;"> <b>1948</b>Elected national secretary of the ANCYL </li style="padding: 1em;"> <li style="padding: 1em;"> <b>1952</b>Defiance Campaign begins; Arrested and charged for violating the Suppression of Communism Act; Elected Transvaal ANC President; Convicted with J.S Moroka, Walter Sisulu and 17 others under the Suppression of Communism Act; Sentenced to nine months imprisonment with hard labor, suspended for two years; Elected first of ANC deputy presidents; Opens South Africa’s first black law firm with Oliver Tambo </li> <li style="padding: 1em;"> <b>1956</b>Arrested and later joins 155 others on trial for teason. All are acquitted by 29 March 1961 </li> <li style="padding: 1em;"> <b>1960</b>A State of Emergency is imposed and he is among thousands detained </li> <li style="padding: 1em;"> <b>1961</b> Goes underground; Umkhonto weSizwe (MK) is formed </li> </ul> <div class="container text-center" style="font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"> <p> " I have fought against white domination, and I have fought <br> against black domination. I have cherished the ideal of a democratic and free society in <br> which all persons will live together in harmony and with equal opportunities. It is an ideal which I hope to live for <br> and to see realized. But if it needs to be, it is an ideal for which I am prepared to die." —Mandela's Rivonia Trial Speech, 1964 </p> </div> </div> <p style="padding-top: 1em; padding-bottom: 1em;">To Laarn More About Nelson Mandela <a href="https://en.wikipedia.org/wiki/Nelson_Mandela">click here</a> </p> </div> </div> </div> <script>https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js.</script>
function multiplyAll(arr) { var product = 1; // Only change code below this line for(var i = 0; i < arr.length; i++ ){ for(var j = 0; j < arr[i].length; j++){ product *= arr[i][j]; } // Only change code above this line return product; } // Modify values below to test your code multiplyAll([[1,2],[3,4],[5,6,7]]); }
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
.Challenge: Nesting For Loops
Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/nesting-for-loops