Skip to content

Commit f7b57f1

Browse files
committed
change
x
1 parent e2e360d commit f7b57f1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2230
-2099
lines changed

.help.swp

12 KB
Binary file not shown.
+9-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
function caesarCipher(str, num){
2-
var lowerCaseStr = str.toLowerCase();
3-
var alphabet = 'abcdefghijklmnopqrstuvwxyz'.split('');
4-
var newStr = '';
5-
for(var i = 0;i<lowerCaseStr.length; i++){
6-
7-
}
8-
}
9-
1+
function caesarCipher(str, num){
2+
var lowerCaseStr = str.toLowerCase();
3+
var alphabet = 'abcdefghijklmnopqrstuvwxyz'.split('');
4+
var newStr = '';
5+
for(var i = 0;i<lowerCaseStr.length; i++){
6+
7+
}
8+
}
9+
1010
console.log(caesarCipher("ALL CAPITAL LETTERS", 0));

Coding Challenges/7-8-19/7-8-19.css

+26-26
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
body{
2-
margin: 0;
3-
padding: 0;
4-
box-sizing: border-box;
5-
}
6-
div.container{
7-
padding: 20px;
8-
margin: auto;
9-
text-align: center;
10-
display: flex;
11-
justify-content: center;
12-
align-items: center;
13-
height: 200px;
14-
width: 300px;
15-
border: 1px solid;
16-
}
17-
div.container:hover{
18-
color: #F0E9E8;
19-
}
20-
.btn-1,.btn-2{
21-
padding: 10px;
22-
margin: 10px;
23-
display: flex;
24-
justify-content: center;
25-
align-items: center;
26-
border-radius: 15%;
1+
body{
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
}
6+
div.container{
7+
padding: 20px;
8+
margin: auto;
9+
text-align: center;
10+
display: flex;
11+
justify-content: center;
12+
align-items: center;
13+
height: 200px;
14+
width: 300px;
15+
border: 1px solid;
16+
}
17+
div.container:hover{
18+
color: #F0E9E8;
19+
}
20+
.btn-1,.btn-2{
21+
padding: 10px;
22+
margin: 10px;
23+
display: flex;
24+
justify-content: center;
25+
align-items: center;
26+
border-radius: 15%;
2727
}
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<title>7-8-19 Coding Challenge</title>
8-
<link rel="stylesheet" href="7-8-19.css">
9-
<script src="7-8-19_Coding_Challenge.js" defer></script>
10-
</head>
11-
<body>
12-
<ol>
13-
<li>1) Make 2 buttons that when clicked one `console.log`s the number 1
14-
and the other the number 2.
15-
</li>
16-
<li>2) Wrap those buttons in a container and add some padding so that
17-
when you click the container it `console.log`s the number 3.
18-
</li>
19-
<li>3) If you used `onclick` try the above using `addEventListener`</li>
20-
</ol>
21-
<div class="container" id="3">
22-
<button class="btn-1" id="1" type="button">Button One</button>
23-
<button class="btn-2" id="2" type="button">Button Two</button>
24-
</div>
25-
</body>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7+
<title>7-8-19 Coding Challenge</title>
8+
<link rel="stylesheet" href="7-8-19.css">
9+
<script src="7-8-19_Coding_Challenge.js" defer></script>
10+
</head>
11+
<body>
12+
<ol>
13+
<li>1) Make 2 buttons that when clicked one `console.log`s the number 1
14+
and the other the number 2.
15+
</li>
16+
<li>2) Wrap those buttons in a container and add some padding so that
17+
when you click the container it `console.log`s the number 3.
18+
</li>
19+
<li>3) If you used `onclick` try the above using `addEventListener`</li>
20+
</ol>
21+
<div class="container" id="3">
22+
<button class="btn-1" id="1" type="button">Button One</button>
23+
<button class="btn-2" id="2" type="button">Button Two</button>
24+
</div>
25+
</body>
2626
</html>
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
let btn3 = document.getElementById("3");
2-
btn3.addEventListener("click", function(){console.log(event.target.id)});
1+
let btn3 = document.getElementById("3");
2+
btn3.addEventListener("click", function(){console.log(event.target.id)});

Coding Challenges/9-10-19/index.html

+14-15
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
2-
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<title>Coding Challenge</title>
8-
</head>
9-
<body>
10-
<div id="contents">#VetsWhoCode</div>
11-
<script>
12-
var contents = document.getElementById("contents").innerHTML;
13-
document.write(contents);
14-
</script>
15-
</body>
1+
<html lang="en">
2+
<head>
3+
<meta charset="UTF-8">
4+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
5+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
6+
<title>Coding Challenge</title>
7+
</head>
8+
<body>
9+
<div id="contents">#VetsWhoCode</div>
10+
<script>
11+
var contents = document.getElementById("contents").innerHTML;
12+
document.write(contents);
13+
</script>
14+
</body>
1615
</html>

Interneting is Hard Lessons/.idea/VetsWhoCode.iml

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Interneting is Hard Lessons/.idea/misc.xml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Interneting is Hard Lessons/.idea/modules.xml

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Interneting is Hard Lessons/.idea/vcs.xml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,67 @@
1-
*{
2-
margin: 0;
3-
padding: 0;
4-
box-sizing: border-box;
5-
font-family: Arial, Helvetica, sans-serif;
6-
}
7-
8-
body{
9-
height: 1200;
10-
font-size: 18px;
11-
font-family: sans-serif;
12-
color: #5d6063;
13-
}
14-
a:link, a:visited{
15-
color: #5d6063;
16-
text-decoration: none;
17-
}
18-
.header{
19-
position: fixed;
20-
display: flex;
21-
justify-content: space-between;
22-
width: 100%;
23-
padding: 50px;
24-
background: d6e9fe;
25-
}
26-
.menu{
27-
margin-top: 15px;
28-
}
29-
.menu > li{
30-
display: inline;
31-
margin-right: 50px;
32-
}
33-
.menu>li:last-of-type{
34-
margin-right: 0;
35-
}
36-
.dropdown:hover .features-menu{
37-
display: flex;
38-
flex-direction: column;
39-
background: #b2d6ff;
40-
border-radius: 5px;
41-
padding-top: 60px;
42-
position: absolute;
43-
top: -25px;
44-
left: -30px;
45-
z-index: 1;
46-
}
47-
.features-menu li{
48-
list-style: none;
49-
border-bottom: 1px solid #fff;
50-
padding: 0 40px 10px 20px;
51-
margin: 10px;
52-
53-
}
54-
.features-menu{
55-
display: none;
56-
}
57-
.features-menu li:last-of-type{
58-
border-bottom: none;
59-
}
60-
.dropdown{
61-
position: relative;
62-
}
63-
.dropdown > span{
64-
z-index: 2;
65-
position: relative;
66-
cursor: pointer;
1+
*{
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
font-family: Arial, Helvetica, sans-serif;
6+
}
7+
8+
body{
9+
height: 1200;
10+
font-size: 18px;
11+
font-family: sans-serif;
12+
color: #5d6063;
13+
}
14+
a:link, a:visited{
15+
color: #5d6063;
16+
text-decoration: none;
17+
}
18+
.header{
19+
position: fixed;
20+
display: flex;
21+
justify-content: space-between;
22+
width: 100%;
23+
padding: 50px;
24+
background: d6e9fe;
25+
}
26+
.menu{
27+
margin-top: 15px;
28+
}
29+
.menu > li{
30+
display: inline;
31+
margin-right: 50px;
32+
}
33+
.menu>li:last-of-type{
34+
margin-right: 0;
35+
}
36+
.dropdown:hover .features-menu{
37+
display: flex;
38+
flex-direction: column;
39+
background: #b2d6ff;
40+
border-radius: 5px;
41+
padding-top: 60px;
42+
position: absolute;
43+
top: -25px;
44+
left: -30px;
45+
z-index: 1;
46+
}
47+
.features-menu li{
48+
list-style: none;
49+
border-bottom: 1px solid #fff;
50+
padding: 0 40px 10px 20px;
51+
margin: 10px;
52+
53+
}
54+
.features-menu{
55+
display: none;
56+
}
57+
.features-menu li:last-of-type{
58+
border-bottom: none;
59+
}
60+
.dropdown{
61+
position: relative;
62+
}
63+
.dropdown > span{
64+
z-index: 2;
65+
position: relative;
66+
cursor: pointer;
6767
}

0 commit comments

Comments
 (0)