How to make cheatsheet using Html, CSS and Javascript

Hello friends, today we will be going to how do we Make Cheatsheet Using Html, CSS and Javascript. I have posted many videos and articles before related to the JavaScript project, now this the something new that we are going to build.

Video Tutorial of How To Make Cheatsheet Using Html, CSS and Javascript


As you have seen on the given video tutorial of  How To Make Cheatsheet Using Html, CSS and Javascript, 

If you are feeling bored watching the given video tutorial of How To Make Cheatsheet Using Html, CSS and Javascript then you can copy or download the given codes below:


How To Make Cheatsheet Using Html, CSS and Javascript | Free Source Code

To create this program (Make Cheatsheet). First, you need to create two Files one HTML File and another one is CSS File. After creating these files just paste the following codes in your file.

In the first download prism.js, prism.css, make a HTML document with the name of index.html and glue the given codes in your HTML record. Keep in mind, you've to make a document with .html extension.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=1200px, initial-scale=1.0">
    <link rel="stylesheet" href="./prism.css">
    <script src="./prism.js"></script>
    <link rel="stylesheet" href="style.css">
    <title>HTML Cheatsheet by S-Tech04</title>
    <!-- https://www.youtube.com/channel/UCohfXb6cfvSdwREriCClrBA -->
</head>
<body>
    <nav>
        <h2 class="title">This Cheatsheet is For You</h2>
    </nav>
    <div class="container">
        <ol>
            <li><b>Html Boilerplate:</b> This is basic Html Boilerplate code
                <pre class="language-html"><code><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html></code>
                </pre>
            </li>
            <li><b>Html Boilerplate:</b> This is basic CSS Boilerplate code
                <pre class="language-css"><code>*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
nav
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 52px;
    background: #282722;
    color: #fff;
}
nav .title
{
    font-family: cursive;
    font-weight: 700;
}
.container
{
    width: 60%;
    padding: 30px 0;
    margin: auto;
    font-family: sans-serif;
}
div.code-toolbar > .toolbar button
{
    color: #fff;
    border-radius: 15px;
    border: 1px solid #fff;
    padding: 5px 14px;
    margin-top: 10px;
    margin-right: 15px;
    cursor: pointer;
}
div.code-toolbar > .toolbar button:hover
{
    color: #fff;
}</code>
                </pre>
            </li>
            </li>
            <li><b>Html Boilerplate:</b> This is basic JavaScript Boilerplate code
                <pre class="language-js"><code>const Cheatsheet = document.querySelector('.language-js');
let n = 0;</code>
                </pre>
            </li>
        </ol>
    </div>
</body>
</html>
Second, make a CSS record with the name of style.css and glue the given codes in your CSS document. Keep in mind, you've to make a record with .css extension.
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
nav
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 52px;
    background: #282722;
    color: #fff;
}
nav .title
{
    font-family: cursive;
    font-weight: 700;
}
.container
{
    width: 60%;
    padding: 30px 0;
    margin: auto;
    font-family: sans-serif;
}
div.code-toolbar > .toolbar button
{
    color: #fff;
    border-radius: 15px;
    border: 1px solid #fff;
    padding: 5px 14px;
    margin-top: 10px;
    margin-right: 15px;
    cursor: pointer;
}
div.code-toolbar > .toolbar button:hover
{
    color: #fff;
}
That’s all, now you’ve successfully created a program to How To Make Cheatsheet Using Html, CSS & JavaScript. If your code doesn’t work or you’ve faced any error/problem, please download the source code files from the given download button. It’s free and a .zip file will be downloaded then you’ve to extract it.
Click on the following download button to download all source code files.


Download Now
Please Wait...
Direct Link click here.

How can I help you

Post a Comment

How can I help you

Post a Comment (0)

Previous Post Next Post