Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.
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
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @anuthapaliy

I think you've committed a file by mistake. Don't use git add .. Add each file one by one and on purpose, so this doesn't happen for you.

// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"name": "Launch Chrome",
"request": "launch",
"type": "chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
},
{
"type": "msedge",
"request": "launch",
"name": "Open index.html",
"file": "/home/cyf/Desktop/Cyberpunk/HTML-CSS-Coursework-Week1/index.html"
}
]
}
36 changes: 36 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,44 @@







/**
* Add your custom styles below

*
* Remember:
* - Be organised, use comments and separate your styles into meaningful chunks
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/
body
{
Color: blue;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this meets the style guide, do you? 🤔

The reason I think this is our style guide asks you to install Prettier and Prettier automatically formats your code.

https://syllabus.codeyourfuture.io/guides/code-style-guide#using-prettier-to-format-code-automatically

background-image: url("https://img.freepik.com/premium-photo/set-various-social-media-blocks-blue-painted-wall_23-2147841215.jpg?w=2000");
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
font-size: medium;
}
.facebook{

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you think of a way to make a general class that controls the layout for all the articles on this page?

What does .class mean? How is it different from #id ?

margin: 1px;
padding: 5px ;
border: 2px;
}
.instagram{
Margin: 5px;
padding: 3px;
border: 3px;
}
.youtube{
margin: 5px;
padding: 4px;
border: 4px;

}

footer{
color: ;
font-style: ;
}
37 changes: 36 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,43 @@
<link rel="stylesheet" href="css/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>


<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->

<body>
<h1>Social Media </h1>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a sectioning element you could use to group this h1 and p tag? What is the purpose of grouping content with semantic html?

<p>Social media is a means of interactions among people in which they create, share and exchange information and ideas in virtual communities and networks.</p>

<article class="Facebook">
<h2> facebook</h2>
<p>Facebook is an online social media and social networking service owned by American company Meta Platforms. Founded in 2004 by Mark Zuckerberg.
Facebook. Facebook can be accessed from devices with Internet connectivity, such as personal computers, tablets and smartphones. After registering, users can create a profile revealing information about themselves. They can post text, photos and multimedia which are shared with any other users who have agreed to be their "friend" or, with different privacy settings, publicly. Users can also communicate directly with each other with Facebook Messenger, join common-interest groups, and receive notifications on the activities of their Facebook friends and the pages they follow.</p>
<a href="https://en.wikipedia.org/wiki/Facebook"> Read More</a>
</article>

<article class="instagram">
<h3>Instagram</h3>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think that Instagram and Youtube should be on the same level as Facebook? It seems like there are three blocks the same with different text content on this page. What do you think?

<p>Instagram started out as a photo- and video-sharing social media platform in 2010 when Kevin Systrom (co-founder) uploaded a picture of a dog with the caption “test.” Over the past.</p>
<a href="https://www.forbes.com/sites/shephyken/2022/10/09/the-power-of-instagram/?sh=1d164b2f6c79">Read More</a>
</article>

<article class="youtube">
<h4>youtube</h4>
<p>YouTube, Web site for sharing videos. It was registered on February 14, 2005, by Steve Chen, Chad Hurley, and Jawed Karim, three former employees of the American e-commerce company PayPal. They had the idea that ordinary people would enjoy sharing their “home videos.” The company is headquartered in San Bruno, California.</p>
<a href="https://www.britannica.com/topic/YouTube">Read More</a>
</article>
<footer>
Contact-: Anu Thapaliya

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way you could mark up your name as an email?

Facebook,Linkedin,Instagram
Anu Thapaliya
</footer>


</body>




</html>