- π± 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:
- 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: