crop_rotate
Run
<!DOCTYPE html> <html> <head> <title>JavaScript previousSibling</title> </head> <body> <h1 id="h1">JavaScript previousSibling </h1> <p id="paragraph">from CloseTag previousElementSibling</p> <script> let paragraph = document.getElementById('paragraph') /* check console */ console.log(paragraph.previousSibling) </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KICAgIDx0aXRsZT5KYXZhU2NyaXB0IHByZXZpb3VzU2libGluZzwvdGl0bGU+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPiA6Oi13ZWJraXQtc2Nyb2xsYmFye3dpZHRoOjdweDtoZWlnaHQ6N3B4O306Oi13ZWJraXQtc2Nyb2xsYmFyLXRyYWNre2JhY2tncm91bmQ6I2ZmZjt9Ojotd2Via2l0LXNjcm9sbGJhci10aHVtYntib3JkZXItcmFkaXVzOjVweDtiYWNrZ3JvdW5kOiMyZjQ1ZmY7fTwvc3R5bGU+PC9oZWFkPg0KPGJvZHk+DQo8aDEgaWQ9ImgxIj5KYXZhU2NyaXB0IHByZXZpb3VzU2libGluZyA8L2gxPg0KPHAgaWQ9InBhcmFncmFwaCI+ZnJvbSBDbG9zZVRhZyBwcmV2aW91c0VsZW1lbnRTaWJsaW5nPC9wPg0KPHNjcmlwdD4NCiAgbGV0IHBhcmFncmFwaCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdwYXJhZ3JhcGgnKQ0KICAvKiBjaGVjayBjb25zb2xlICovDQogIGNvbnNvbGUubG9nKHBhcmFncmFwaC5wcmV2aW91c1NpYmxpbmcpDQo8L3NjcmlwdD4NCjwvYm9keT4NCjwvaHRtbD4=