
The browser window has a tab titled Lab 10. The address bar reads, 127 dot 0 dot 0 dot 1 colon 5500 forward slash lab 10 hyphen test 02 dot h t m l. The browser window consists of a level-1 heading that reads, Test Your Knowledge hash 2 placed at the top left. A level-2 heading that reads, Galleries is placed below the level-1 heading. A list of seven gallery names are placed below the level-2 heading. The gallery names are placed from top to bottom as follows: Albright hyphen Knox Art Gallery, Kunsthistorisches Museum, Belvedere Gallery, Brooklyn Museum, J. Paul Getty Museum, Metropolitan Museum of Art, and Rijksmuseum.
The block of code is shown in a window labeled Dev Tools hyphen 127 dot 0 dot 0 dot 1 colon 5500 forward slash lab 10 hyphen test 02 dot h t m l, which is placed at the right of browser window, overlapping the browser window. The navigation bar at the top of the window has 5 tabs that read as follows: Elements, Console, Source, Network, and Performance. The block of JavaScript code with 18 lines of code is placed below the navigation bar. Line 1: open angle bracket exclamation doctype h t m l close angle bracket at indentation level 0. Line 2: open angle bracket h t m l close angle bracket at indentation level 1. Line 3: arrow bullet open angle bracket head close angle bracket underscore open angle bracket forward slash head close angle bracket at indentation level 1. Line 4: downward arrow bullet open angle bracket body close angle bracket at indentation level 1. Line 5: arrow bullet open angle bracket header close angle bracket underscore open angle bracket forward slash header close angle bracket at indentation level 2. Line 6: downward arrow bullet open angle bracket main close angle bracket at indentation level 2. Line 7: downward arrow bullet open angle bracket aside close angle bracket at indentation level 3. Line 8: downward arrow bullet open angle bracket nav close angle bracket at indentation level 4. Line 9: downward arrow bullet open angle bracket h 2 close angle bracket Galleries open angle bracket forward slash h 2 close angle bracket at indentation level 5. Line 10: ellipsis downward arrow bullet open angle bracket u l i d equals open double quotes gallery List close double quotes close angle bracket equals equals dollar 0 at indentation level 5. Line 10 is highlighted. Line 11: open angle bracket l i data hyphen i d equals open double quotes 51 close double quotes close angle bracket Albright-Knox Art Gallery open angle bracket forward slash l i close angle bracket at indentation level 6. Line 12: open angle bracket l i data hyphen i d equals open double quotes 18 close double quotes close angle bracket Kunsthistorisches Museum open angle bracket forward slash l i close angle bracket at indentation level 6. Line 13: open angle bracket l i data hyphen i d equals open double quotes 22 close double quotes close angle bracket Belvedere Gallery open angle bracket forward slash l i close angle bracket at indentation level 6. Line 14. open angle bracket l i data hyphen i d equals open double quotes 42 close double quotes close angle bracket Brooklyn Museum open angle bracket forward slash l i close angle bracket at indentation level 6. Line 15: open angle bracket l i data hyphen i d equals open double quotes 27 close double quotes close angle bracket J dot Paul Getty Museum open angle bracket forward slash l i close angle bracket at indentation level 6. Line 16: open angle bracket l i data hyphen i d equals open double quotes 6 close double quotes close angle bracket Metropolitan Museum of Art open angle bracket forward slash l i close angle bracket at indentation level 6. Line 17: open angle bracket l i data hyphen i d equals open double quotes 30 close double quotes close angle bracket Rijksmuseum open angle bracket forward slash l i close angle bracket at indentation level 6. Line 18: open angle bracket forward slash u l close angle bracket at indentation level 5.
Back