0

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.

3
  • 3
    "The problem is that I can't make it work" ...and what did you try, that isn't working? What's going wrong with what you're trying? Commented Mar 1, 2012 at 17:10
  • 3
    jsFiddle isn't for developing websites, it's for testing code. Commented Mar 1, 2012 at 17:15
  • Your HTML code above is valid (assuming you replace ***CSS box*** etc. with appropriate code from your jsfiddle). As noted earlier, ksfiddle is only used to test code. Commented Mar 1, 2012 at 17:18

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

I did exactly as it is above for a very nice code I found for one embed YouTube channel. The code for YouTube channel is found here jsfiddle.net/SimoneGianni/NmvA9 | I used that code with the above HTML code to join everything together on a HTML page but it is not working... may you kindly help? Thanks a lot...
Thank you a lot. It is working. It was a problem with jQuery dependencies. Thank you

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.