/MyKoh

My own website

Primary LanguageHTMLApache License 2.0Apache-2.0

Hello World, this is my website

Image of MyKoh Page

Code
Other Works

All my codes are open source but please leave proper recognition
Beginner, you can learn more about programming, markdown language1 & markdown language2

Task List

  • Write basic html, css, Javascript roughwork
  • Add Background
  • Add Images
  • Add videos
  • Add animations
  • Add alerts
  • Add forms, objects...
  • Add breathtaking designs
  • Add fun
  • Perfection!!

Basic HTML/CSS/JS syntaxes & examples:

HTML

  • Add Images: <img src="" atl"" class="">
  • Add Videos:
<video width="320" height="240" controls> OR <video width="320" height="240" autoplay>
<source src="" type="video/mp4">
Your browser does not support my video. Please use another browser!!
</video>
  • Add bot/top pointers:
<a href="#Top">Top</a>
&nbsp;|&nbsp;
<a href="#Bot">Bottom</a>
  • Adding a table:
<table>
  <thead>
  <tr>
    <th>
      Company Name
    </th>
    <th>
      Number of Items to Ship
    </th>
  </tr>
  </thead>
  <tr>
    <td colspan="2">Adam's Greenworks</td>
    <td rowspan="2">14</td>
  </tr>
  <tr>
    <td>hi<td/>
  </tr>
  <tfoot>
    <td>Total</td>
    <td>28</td>
  </tfoot>
</table>

CSS

  • Add background image:
body {
  background: url(".jpeg") no-repeat fixed center center;
}
  • Format Images added in html:
img.class {
  width: 350px;
  height: 450px;
  display: block;
  margin: 0px auto;
}
  • Add double colour gradient inside border(Experimental as it may not work in all browser)
.class {
  background-image: -webkit-linear-gradient(#FFD194, #BC1324);
}
  • Styling Tables:
table, th, td {
  border: 1px solid black;
  font-family: Arial, sans-serif;
  text-align: center;
}

Javascript with Jquery

  • Add Show/Hide List function using 'Jquery' Library in Javascript:
var main = function() {
  $('.wholeList').hide();
  $('.wholeList').fadeIn(1000);

  $('.list').hide();
  $('.headList').on('click', function() {
    /*$(this).next().toggle();*/
	$(this).next().slideToggle(400);
    $(this).toggleClass('active');
    $(this).text('Press to view again');
  });
}
$(document).ready(main);

Usage

Click anything you want freely.
Feel free to review my code. I am open-minded. Submit your pull request and proper credit will be given.

Customizing

  • Main Stylesheet(CSS)
  • CSS inside html
  • others: Javascript,...

Layouts

If you'd like to change the HTML layout, there are few ways:

  • Create a file called /_layouts/default.html in your project, write your codes in. Do not create index.html file!
  • Create index.html in first page of repo and start coding.
  • Don't create any .html file anywhere and write code in readme.md. Use markdown language to customise your webpage.
  • Use git-provided alternative following this guide

Contributor

  • kmykoh97 (owner)
  • ... (more to add)

Project Philosophy

Everyone can create their own website. My code can be a guide for beginner.

There are three responses to a piece of design – yes, no, and WOW! ~ Milton Glaser

Contributing

Interested in telling me my mistake in code? Feel free to make commmit. I appreciate your time.

Finally...

If you like my work
Bring me to your team so that we can take part in more projects together!!

Thank you, sincerely,
kmykoh97 😊

Please contact me if you don't understand anything :bowtie: