Case Sensitivity Variables and function names are case sensitive. Like mismatched quotes, you already know this. But, since the error may be silent, here is the reminder. Pick a naming convention for yourself, and stick with it. And, remember that native javascript function and CSS properties in javascript are camelCase. getElementBy Id ('myId') != getElementBy ID ('myId'); // it should be "Id" not "ID" getElementById('my Id ') != getElementById('my ID '); // "Id" again does not equal"ID" document.getElementById('myId').style. Color ; // returns "undefined" Mismatching quotes, parenthesis and curly brace The best way to avoid falling into the trap of mismatched quotes, parentheses and curly brackets is to always code your opening and closing element at the same time, then step into the element to add your code. Start with: var myString = ""; //code the quotes before entering you...
Well, Last week i had a journey to Italy. I have visited Venice few months ago but not the Rome. Hopefully weather was great and i tried to see all Rome's highlights in 3 days. here are some info and pictures : Altare della Patria (Vittoriano) The Altare della Patria (Altar of the Fatherland) also known as the Monumento Nazionale a Vittorio Emanuele II (National Monument to Victor Emmanuel II) or "Il Vittoriano" is a monument built in honour of Victor Emmanuel , the first king of a unified Italy, located in Rome , Italy . It occupies a site between the Piazza Venezia and the Capitoline Hill . The eclectic structure was designed by Giuseppe Sacconi in 1885; sculpture for it was parceled out to established sculptors all over Italy, such as Leonardo Bistolfi and Angelo Zanelli . [1] It was inaugurated in 1911 and completed in 1925. Colosseum The...
Comments
Post a Comment