forked from DHRI-Curriculum/html-css
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy edits, moved files, new file for reminders, clarifications
- Loading branch information
Showing
6 changed files
with
52 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Commands for new folder and file | ||
|
||
After opening the terminal: | ||
|
||
```bash | ||
cd ~/Desktop/projects | ||
mkdir website | ||
cd website | ||
code index.html | ||
``` | ||
|
||
[<<< Back](create_site.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,54 @@ | ||
[<<<Back](conventions.md) | [Next>>>](css_basic.md) | ||
|
||
# ACTIVITY: Create an Institute Site! | ||
# Challenge: Create an Institute Site | ||
|
||
Using the tags we've just reviewed, and two additional ones (see below) begin creating an introductory page for your future institute. | ||
For this challenge, practice using the command line. If you need a reminder of which commands to use to create new folders and files, see [here](cli-reminder.md). | ||
|
||
On your desktop, create a new folder called `webite`. Create a `index.html` file inside that folder. This will be the homepage or landing page of your site. | ||
Using the tags we've just reviewed, and two additional ones (see below) begin creating an introductory page for your future Institute. | ||
|
||
**Challenge:** Practice using the command line. Commands are written out below if you need help getting started. | ||
In your `projects` folder on your desktop, create a new folder called `website`. Create a `index.html` file inside that folder. This will be the homepage or landing page of your site. | ||
|
||
## This page should include the following: | ||
<p> | ||
<ul> | ||
<li> Doctype </li> | ||
<li> Root element </li> | ||
<li> Head and a body </li> | ||
<li> Title for the page </li> | ||
<li> One heading </li> | ||
<li> One paragraph </li> | ||
<li> One image </li> | ||
<li> A menu or navigation bar that links to your `Home` and `About` pages </li> | ||
</ul> | ||
<strong>Think about the order of your content as you assemble the body of your page.</strong> | ||
</p> | ||
Add HTNL to your `index.html` file. This page should include the following: | ||
|
||
- Doctype | ||
- Root element | ||
- Head and a body | ||
- Title for the page | ||
- One heading | ||
- One paragraph | ||
- One image | ||
- A menu or navigation bar that links to your Home and About pages | ||
|
||
Think about the order of your content as you assemble the body of your page. | ||
|
||
Don't worry about getting the content just right, as much as using this exercise to review the structure of a webpage, and practice creating a webpage. | ||
|
||
## Additional Tags | ||
|
||
Here are two additional tags that might come in handy in assembling your page: | ||
<p> | ||
<ul> | ||
<li> To make a list. This may come in handy when making your menu or navigation bar. </li> | ||
</ul> | ||
</p> | ||
|
||
``` | ||
<p> | ||
<ul> | ||
<li> item 1 </li> | ||
<li> item 2 </li> | ||
<li> item 3 </li> | ||
To make a list: | ||
</ul> | ||
</p> | ||
|
||
```html | ||
<ul> | ||
<li> item 1 </li> | ||
<li> item 2 </li> | ||
<li> item 3 </li> | ||
</ul> | ||
``` | ||
|
||
<p> | ||
<ul> | ||
<li> To make a line break or give space between different elements. </li> | ||
</ul> | ||
</p> | ||
(This may come in handy when making your menu or navigation bar.) | ||
|
||
``` | ||
<br/> | ||
To make a line break or give space between different elements: | ||
|
||
```html | ||
<br> | ||
``` | ||
|
||
## CHALLENGE | ||
Finished? Play around with other tags by referring to an [html cheatsheet](http://www.simplehtmlguide.com/cheatsheet.php). | ||
## Further Challenge | ||
|
||
## Command Line for new folder and file | ||
After opening the terminal: </br> | ||
2. $ cd Desktop </br> | ||
3. $ mkdir website </br> | ||
4. $ cd website </br> | ||
5. $ touch index.html | ||
Finished early? Play around with other tags by referring to this [HTML cheatsheet](http://www.simplehtmlguide.com/cheatsheet.php). | ||
|
||
[<<<Back](conventions.md) | [Next>>>](css_basic.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters