From c4328f98d169a91fc694d52c10f245d746870958 Mon Sep 17 00:00:00 2001 From: Jericho-West <97463076+Jericho-West@users.noreply.github.com> Date: Tue, 8 Mar 2022 00:13:30 -0500 Subject: [PATCH 1/3] First 7 --- src/index.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/index.js b/src/index.js index e3fb5d7143..8c062705c8 100644 --- a/src/index.js +++ b/src/index.js @@ -40,3 +40,33 @@ 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" \ No newline at end of file From 4efee233446c8153958588a51e55e24923e0aba1 Mon Sep 17 00:00:00 2001 From: Jericho-West <97463076+Jericho-West@users.noreply.github.com> Date: Tue, 8 Mar 2022 01:02:49 -0500 Subject: [PATCH 2/3] First 7 --- src/index.js | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 8c062705c8..e7f22cb9de 100644 --- a/src/index.js +++ b/src/index.js @@ -69,4 +69,27 @@ 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" \ No newline at end of file +document.querySelector('#cta-img').src = "http://localhost:9000/img/cta.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" + +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." From 8630e24001b99eecb88f0eed4549557f329e8207 Mon Sep 17 00:00:00 2001 From: Jericho-West <97463076+Jericho-West@users.noreply.github.com> Date: Tue, 8 Mar 2022 01:10:13 -0500 Subject: [PATCH 3/3] First 7 --- src/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/index.js b/src/index.js index e7f22cb9de..d4b7e3ddd0 100644 --- a/src/index.js +++ b/src/index.js @@ -70,6 +70,7 @@ 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') @@ -84,6 +85,8 @@ 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." @@ -93,3 +96,10 @@ ptag[2].textContent = "Services content elementum magna eros, ac posuere elvit t 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