How to join the three different code boxes from jsfiddle.net into a HTML page?

I've been trying to create a web site just with a jsfiddle.net application.

I'd like to know how to join the three different code boxes from jsfiddle.net into a HTML page.

The HTML code for my page is

<html>
    <head>
    <style type="text/css">
        ***CSS box***
        </style>
</head>
    <body>
    ***HTML box***

        <script language="JavaScript"  type="text/javascript">
        ***Javascript box***
        </script>   
    </body>
</html>

The problem is that I can't make it work

What am I doing wrong?

Thank you very much.

Upvotes: 0

Views: 1016

Answers (1)

dangerChihuahua007
dangerChihuahua007

Reputation: 20885

Just copy and paste the respective sections in a new HTML file on say your desktop.

<html>
    <head>
    <style type="text/css">
        // CSS Content
        </style>
</head>
    <body>
    <!-- some html elements -->

        <script language="JavaScript"  type="text/javascript">
            // more js here.
        </script>   
    </body>
</html>

And then link in any dependencies such as jQuery within your head element.

Upvotes: 1

Related Questions