- š± Iām currently learning... how to make a github portfolio for my students
- š¬ Ask me about... how that's going
- ā” Fun fact:... I have a 14 year old chinchilla. He might be immortal.
- Go to your Github page and click to create a new repo
- Name that repo the same thing as your username (If your username is coolcode2000, name your repo that as well)
- Once you've typed in the repo name, a message will appear:
![Github Readme](https://private-user-images.githubusercontent.com/116577743/254324306-1478056d-87ba-48de-b694-05471c52c76c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyMzYzNTYsIm5iZiI6MTcyNTIzNjA1NiwicGF0aCI6Ii8xMTY1Nzc3NDMvMjU0MzI0MzA2LTE0NzgwNTZkLTg3YmEtNDhkZS1iNjk0LTA1NDcxYzUyYzc2Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMlQwMDE0MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZDY2NTM2ZmNjYmYwZWM5NmUzZDdmOTM1Njk2MGYzZGIwM2EwNTlhZjBiZGRiNjNhNTJlNDY0MjM3MzU1MDc1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.R62GF2IASgSlTqIBs60FF1fD7cOnPt7Slkj9pLRju8g)
- Make sure to select PUBLIC as the type of repo, and to check the box that adds a README file
- Create your repo and head back to your main profile page - you'll see the file appear at the top!
You can technically use CSS in most markdown files, but it's recommended you use actual markdown when you can. Here is a basic style guide to get you started.
- You can simply drag and drop images from your computer to Github, and it will be saved in your assets folder. Dropping the image will create an img tag in your README, which will have 'width' and 'alt' attributes that you can update to resize and change.
- The easiest way to do this is save the gif to your computer, then drag and drop it into the README file
- The other way is by going to a site like giphy.com and choosing a gif. Once selected, choose the "Embed" option
- Don't paste the entire div into your README - instead right click on the image and select "copy image address". Create an img tag and place that address in your 'src' attribute - the img element will display your gif, and will look amazing.
- Remember that when you're taking images you check that they are free to use! If a site requires you to link back to it, you can do so with an HTML anchor tag
- You can center and style items using HTML. To get the gif centered, I placed my img element into a paragraph:
<p align="center">
<img src="myImage.jpg"/>
</p>
A badge is a logo image you can add to link other social media and portfolio sites.
The standard code:
![Badge Name](https://img.shields.io/badge/BadgeName-hexColorforBackground)
So, to make a LinkedIn badge, this is the code and result:
![LinkedIn](https://img.shields.io/badge/LinkedIn-0A66C2)
- Here is the site with all the SVG icons
To make the badge link to a site, simply wrap it in an anchor tag, like so:
<a href="https://www.linkedin.com/yourLinkedIn"> ![LinkedIn](https://img.shields.io/badge/LinkedIn-0A66C2) </a>
Example of how this section can be styled:
- Devicon has development-specific icons
- Here is a list of HTML emojis that can be used as plain text
The code I used to create that section is here:
<h2> 🎉 Tools and Technologies 🎉</h2>
<p align="left">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/amazonwebservices/amazonwebservices-original.svg" width="60" height="60"/>  
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/javascript/javascript-original.svg" alt="javascript" width="60" height="60"/>  
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/java/java-original.svg" alt="java" width="60" height="60" />  
</p>
- Some CSS can be added to change the size of the emojis, but Github doesn't allow all properties (like margin). To make spaces, I used an actual space character: