diff --git a/src/index.js b/src/index.js index e3fb5d7143..d4b7e3ddd0 100644 --- a/src/index.js +++ b/src/index.js @@ -40,3 +40,66 @@ const siteContent = { // DO NOT CHANGE THIS OBJECT }; console.log('project wired!') + + +const navItal = document.getElementsByTagName('a') +const img0 = document.querySelector('.logo') + +navItal[0].className = "italic" +navItal[0].textContent = "Services" + +navItal[1].className = "italic" +navItal[1].textContent = "Product" + +navItal[2].className = "italic" +navItal[2].textContent = "Vision" + +navItal[3].className = "italic" +navItal[3].textContent = "Features" + +navItal[4].className = "italic" +navItal[4].textContent = "About" + +navItal[5].className = "italic" +navItal[5].textContent = "Contact" + +document.querySelector('h1').textContent = "DOM Is Awesome" + +document.querySelector('button').textContent = "Get Started" + +img0.src = "http://localhost:9000/img/logo.png" + +document.querySelector('#cta-img').src = "http://localhost:9000/img/cta.png" +document.querySelector('#middle-img').src = "http://localhost:9000/img/accent.png" + +const pancake = document.getElementsByTagName('h4') +const ptag = document.getElementsByTagName('p') + +pancake[2].textContent = "Services" + +pancake[3].textContent = "Product" + +pancake[4].textContent = "Vision" + +pancake[0].textContent = "Features" + +pancake[1].textContent = "About" + +pancake[5].textContent = "Contact" + +ptag[0].textContent = "Features content elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis." + +ptag[1].textContent = "About content elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis." + +ptag[2].textContent = "Services content elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis." + +ptag[3].textContent = "Product content elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis." + +ptag[4].textContent = "Vision content elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis." + +ptag[5].textContent = "123 Way 456 Street Somewhere, USA" +ptag[6].textContent = "1 (888) 888-8888" +ptag[7].textContent = "sales@greatidea.io" + +navItal[6].className = "bold" +navItal[6].textContent = "Copyright Great Idea! 2021" \ No newline at end of file