Something went wrong on our end
Select Git revision
labAnswers.md
Forked from
Dr.Pirmann / CI101Week56Lab
This fork has diverged from the upstream repository.
-
SirMathhman authoredSirMathhman authored
labAnswers.md 2.34 KiB
Week 5/6 – HTML, JavaScript, and Websites
Lab Answer Sheet
Due 11:59 pm November 4, 2019
Lab Section #: 066
Student Full Names:
Gavin Bromberg DeAngelo Buxton
Week 5
-
Which option did your team choose? Why?
-
Add the link to the repository for this project: git@gitlab.cci.drexel.edu:trp74/CI101Week56Lab.git
-
What did you find inside the two folders? logos and nodes module
-
HTML Edits
-
Find the comment that says question 4a. Add a screenshot below, or just paste the code including the tags.
-
Find the comment for question 4b. Add a screenshot below, or just paste the code including the tags.
-
Find question 4c and add a value to the src attribute (currently #). Which logo did you choose, and why? Also, paste the edited line of code here.
cci-1.jpg, because I thought the design was nice.
-
Find question 4d and add the relative address of stylesheet.css to the href of the link tag. (hint, unlike the images, stylesheet.css is in the same folder as index.html) Paste the edited tag below. Reload the page in the browser. What changed, if anything?
-
<link rel="stylesheet" href="stylesheet.css">
-
We saw the stylesheet.css in the browser
-
Add a new row to the table, test it then paste your new line of code below.
-
CSS Edits
-
In stylesheet.css, change the background-color of #header-row. Reload the html page in your browser, what happened? Paste the changed CSS rule here.
-
Now change the background-color of .rows? How were the two results different? Based on what you've learned about id and class, what do you think the # and . mean?
-
Find question 5c in stylesheet.css. Notice how the button has a margin of 5px and a padding of 5px. What happens if you change the margin? The padding?
-
Find question 5d in stylesheet.css. add a background-image to the body element then paste the rule here.
-
A Little JavaScript
-
Find question 6 in index.html. Change the content of the onclick from # to goToCCI(). What happens when you press the button now? Look in index.js, can you find what's causing this change?