+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/midterm/js/main.js b/midterm/js/main.js
new file mode 100644
index 0000000..a2fcfe4
--- /dev/null
+++ b/midterm/js/main.js
@@ -0,0 +1,14 @@
+let menuButton = document.querySelector('#nav-menu')
+menuButton.addEventListener('click', toggleMenu)
+
+let navLinks = document.querySelector('#nav-links')
+let navTitle = document.querySelector('.title')
+function toggleMenu() {
+ if (navLinks.className == 'm-hidden') {
+ navLinks.className = 'show';
+ // navTitle.className = 'hidden';
+ } else {
+ // navTitle.className = 'show';
+ navLinks.className = 'm-hidden';
+ }
+}
\ No newline at end of file
diff --git a/week-4/js/plugins.js b/midterm/js/plugins.js
similarity index 100%
rename from week-4/js/plugins.js
rename to midterm/js/plugins.js
diff --git a/week-4/js/vendor/jquery-3.4.1.min.js b/midterm/js/vendor/jquery-3.4.1.min.js
similarity index 100%
rename from week-4/js/vendor/jquery-3.4.1.min.js
rename to midterm/js/vendor/jquery-3.4.1.min.js
diff --git a/week-4/js/vendor/modernizr-3.8.0.min.js b/midterm/js/vendor/modernizr-3.8.0.min.js
similarity index 100%
rename from week-4/js/vendor/modernizr-3.8.0.min.js
rename to midterm/js/vendor/modernizr-3.8.0.min.js
diff --git a/week-4/robots.txt b/midterm/robots.txt
similarity index 100%
rename from week-4/robots.txt
rename to midterm/robots.txt
diff --git a/week-4/site.webmanifest b/midterm/site.webmanifest
similarity index 100%
rename from week-4/site.webmanifest
rename to midterm/site.webmanifest
diff --git a/week-4/js/main.js b/midterm/style.css
similarity index 100%
rename from week-4/js/main.js
rename to midterm/style.css
diff --git a/week-4/tile-wide.png b/midterm/tile-wide.png
similarity index 100%
rename from week-4/tile-wide.png
rename to midterm/tile-wide.png
diff --git a/week-4/tile.png b/midterm/tile.png
similarity index 100%
rename from week-4/tile.png
rename to midterm/tile.png
diff --git a/week-4/udacity.png b/midterm/udacity.png
similarity index 100%
rename from week-4/udacity.png
rename to midterm/udacity.png
diff --git a/picture-element-master/.gitignore b/picture-element-master/.gitignore
new file mode 100644
index 0000000..496ee2c
--- /dev/null
+++ b/picture-element-master/.gitignore
@@ -0,0 +1 @@
+.DS_Store
\ No newline at end of file
diff --git a/picture-element-master/css/main.css b/picture-element-master/css/main.css
new file mode 100644
index 0000000..6636457
--- /dev/null
+++ b/picture-element-master/css/main.css
@@ -0,0 +1,66 @@
+body {
+ font-family: Arial, Helvetica, sans-serif;
+ margin: 1em;
+ background-color: azure
+}
+h1,h2, h3, h4, h5, h6 {
+ font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif
+}
+
+a:link {
+ color: rgb(101, 101, 206);
+}
+a:hover{
+ color:rgb(61, 61, 126);
+}
+a:visited {
+ color:rgb(107, 107, 121)
+}
+
+
+figure.quote {
+ color: #698b9c;
+ margin: 2em 1em;
+ background-color: white;
+ font-size: 1.25em;
+ border-left: 1px dotted rgb(139, 139, 207);
+ padding: 0 1em;
+}
+figcaption::before {
+ content: "— ";
+}
+figcaption {
+ line-height: 1.5em;
+}
+blockquote {
+ margin: 0;
+ padding: 0;
+}
+
+code {
+ background-color: rgb(234, 234, 234);
+}
+
+li {
+ margin-bottom: 1em;
+}
+
+hr {
+ border: 1px dotted rgb(139, 139, 207);
+ margin: 2em;
+}
+
+
+
+@media (min-width: 945px ) {
+ main {
+ display: flex;
+ }
+ main > article, main > aside {
+ width: 50%;
+ }
+ img {
+ float: right;
+ max-width: 100%
+ }
+}
\ No newline at end of file
diff --git a/picture-element-master/images/art-large.jpg b/picture-element-master/images/art-large.jpg
new file mode 100644
index 0000000..99d72cd
Binary files /dev/null and b/picture-element-master/images/art-large.jpg differ
diff --git a/picture-element-master/images/art-medium.jpg b/picture-element-master/images/art-medium.jpg
new file mode 100644
index 0000000..f17b729
Binary files /dev/null and b/picture-element-master/images/art-medium.jpg differ
diff --git a/picture-element-master/images/extralarge.jpg b/picture-element-master/images/extralarge.jpg
new file mode 100644
index 0000000..bd738ae
Binary files /dev/null and b/picture-element-master/images/extralarge.jpg differ
diff --git a/picture-element-master/images/udacity.png b/picture-element-master/images/udacity.png
new file mode 100644
index 0000000..beb792d
Binary files /dev/null and b/picture-element-master/images/udacity.png differ
diff --git a/picture-element-master/index.html b/picture-element-master/index.html
new file mode 100644
index 0000000..ba34522
--- /dev/null
+++ b/picture-element-master/index.html
@@ -0,0 +1,51 @@
+
+
+
+
+
+ Picture Element Exercise
+
+
+
+
+
+
+
+
Using the <picture> Element
+
+
+
+ Using srcset and sizes is extremely easy, but it places all decisions in the hands of your web browser.
+ You may provide recommendations for the images that are served to your users, but ultimately it's the decision of the web browser.
+
+
+
+ The picture element gives us significantly more control over the images that we serve to our users. As a result, it can be more time-consuming to
+ configure.
+
+
+
+
+
Instructions
+
+
Add the picture element to the aside. Set one of our 3 images (in images/) to the default image.
+
Add a source that uses the large image at 945px.
+
Add a source that uses the extra large image at 1100px.
+
Publish this page and submit your link to HuskyCT.
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Minus atque in ex itaque quae! Culpa voluptates odit aspernatur nihil labore. Eligendi odit delectus eos modi adipisci esse officiis minus commodi.
-
-
-
-
-
-
-
-
-
-
Social Media
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet.