Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

homework for week 3 #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions week-2/week2daniel.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<html>
<head>
<style>
article {
background-color: red;
margin: 1px;
padding: 1px;
border: 1px black;
border-radius: 5px;
box-shadow: 5px 2px 2px grey;
}
</style>
</head>
<body>
<article>
<h1>Article</h1>
<p>abc</p>
</article>
</body>
</html>
19 changes: 19 additions & 0 deletions week-3/homework.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/* This is a CSS file. If you would like to learn more about CSS, check out this page: https://www.w3schools.com/css/ */

p{
font-size: 16px;
color: #ffffff;
background-color: #aa3489;
border-radius: 4px;
padding: 4px 8px;
transition: font-size 300ms;
}

article {
border: 1px #000000 solid;
border-radius: 4px;
}

p:hover {
font-size: 18px;
}
41 changes: 41 additions & 0 deletions week-5/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<style>
.image {
float: left;
border: 5px #7bb431 solid;
margin-left: 10px;
}
</style>
</head>
<body>
<div id="images">
<div class="image" v-for="image in images">
<img :src="image.url" :width="image.width" :height="image.height" :alt="image.altText" :title="image.altText" />
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
<script>
new Vue({
el: "#images",
data: {
images: [
{
url: 'https://scontent.fmla2-1.fna.fbcdn.net/v/t1.6435-9/161205420_462814821823880_5022646181531233472_n.jpg?_nc_cat=104&ccb=1-5&_nc_sid=09cbfe&_nc_ohc=JkZNSTJoFyoAX_u3sDC&_nc_ht=scontent.fmla2-1.fna&oh=44a5efc1273ee801d69b8d9cd6b38327&oe=61C6FA01',
width: 600,
height: 550,
altText: 'After swim :)'
},
{
url: 'https://scontent.fmla2-1.fna.fbcdn.net/v/t1.6435-9/150417557_444275733677789_6142807182560640315_n.jpg?_nc_cat=110&ccb=1-5&_nc_sid=174925&_nc_ohc=fSV448MpyO0AX9P6mVS&tn=-g_9sIS5TMKPmEI2&_nc_ht=scontent.fmla2-1.fna&oh=01fe73c8da1da9a23a9fd52d76d96355&oe=61C908C9',
width: 600,
height: 550,
altText: 'With Bianca rabbit <3'
}
]
}
});
</script>
</body>
</html>