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

HTML Intro Workshop #2

Merged
merged 4 commits into from
Feb 13, 2020
Merged

HTML Intro Workshop #2

merged 4 commits into from
Feb 13, 2020

Conversation

yosefanajjar
Copy link
Member

@yosefanajjar yosefanajjar commented Feb 8, 2020

Wrote most of the workshop but still need to add more stuff:

  • Add an exercise to the end of the workshop
  • Provide more examples
  • Provide the results of the written code maybe on Codepen
  • Add the resources used and more helpful ones

01-HTML-Intor.md Outdated
To go throgh the course and be able to apply what you learn in the workshops you need to have the following:

- **A Browser**: Chrome (preferred), or Firefox or any modern browser
- **A Text Editor**: VS Code (preferred), Atom, Sublime Text, Brackets or your prefered choice
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can advise all of them to use VS Code and CodePen as it is online and would help with easier access to the content online. We want to encourage them to use these tools to be able to have a quick onboarding on what they need for the Code Academy application process.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I know that's why I wrote the word preferred next to them and about CodePen I wrote a note in the next lines about it, and during the workshop, we will make sure that they get to use it

@mghada
Copy link
Contributor

mghada commented Feb 9, 2020

@yosefanajjar Thank you so much for this. The structure looks good, I would also want you to start thinking about how the schedule of the workshop would look like and start drafting that (Time wise - sessions will be for 3 hours long with 20mins break) - I can help with that too if you need.

@mghada mghada assigned MohammedYehia and m4v15 and unassigned m4v15 Feb 9, 2020
@mghada mghada requested a review from m4v15 February 9, 2020 11:02
@mghada mghada requested review from hshahwan and removed request for hshahwan February 10, 2020 15:03
Copy link
Contributor

@mghada mghada left a comment

Choose a reason for hiding this comment

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

Looks great @yosefanajjar 👍

@mghada mghada requested review from MohammedYehia and removed request for hshahwan February 13, 2020 08:16
@mghada mghada merged commit 1862c3a into master Feb 13, 2020
Copy link
Member

@MohammedYehia MohammedYehia left a comment

Choose a reason for hiding this comment

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

**Learning Outcomes**
- Picking a code editor and get familiar with other tools we will be using in the course
- Basic understanding of HTML: DOM, Element, Attributes
- Understand the basic file structure for a web page
Copy link
Member

Choose a reason for hiding this comment

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

@yosefanajjar this should be basic structure without the word file

| `<b>` | Highlight important information|
| `<strong>` | Similarly to bold, to highlight key text|
| `<i>` | To denote text |
| `<em>` | Usually used as image captions |
Copy link
Member

Choose a reason for hiding this comment

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

@yosefanajjar
we have figcaption to be used as an image caption
maybe we should mention the main purpose of this tag, what do you think?
also maybe should add a reference for the difference between the i and em tag like this one
section <i> vs. <em>
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em

and also the same for b and strong tag

In order for the image tag to display the image we need to provide it with the path to the image which can be a path for it on your device or a link from the web

```html=
<img src="images/image.jpg" alt="some image" />
Copy link
Member

Choose a reason for hiding this comment

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

@yosefanajjar maybe you should add the example without the alt attribute then you can add the same one with alt and write some words to describe the benefits and how important it is

Copy link
Member Author

Choose a reason for hiding this comment

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

We can do that during the workshop and talk about it

**The expected output**:

<a href="www.google.com">Click Me</a>

Copy link
Member

Choose a reason for hiding this comment

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

@yosefanajjar maybe you can talk about the target attr


1. Your name which should be in an `<h1>` tag
2. A paragraph about yourself using the `<p>` tag and the text formatting tags **at least two** of them
2. An image of you using the `<img>` tag and specify a width and a height for it (150px/150px) and don't forget to add the **alt** attribute to it
Copy link
Member

Choose a reason for hiding this comment

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

@yosefanajjar you didn't mention anything about the width/height attr before

Copy link
Member Author

Choose a reason for hiding this comment

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

They can search for it


## HTML Attributes
HTML elements can have attributes, **Attributes** provide additional information about the element, Attributes come in **name/value pairs** like **charset="utf-8"**

Copy link
Member

Choose a reason for hiding this comment

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

@yosefanajjar this charset="utf-8 could bring a lot of questions and cause some confusion if they asked about it, maybe you could replace it with lang="ar" or even dir


#### Congrats that's it! You have finished the workshop now look at the resources that we used in the workshop to learn more:

https://www.w3schools.com/html/default.asp
Copy link
Member

Choose a reason for hiding this comment

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

make another empty line to display every link on its own line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants