Skip to content

Instantly share code, notes, and snippets.

@ShebaDoge
Created November 30, 2020 12:57
Show Gist options
  • Select an option

  • Save ShebaDoge/7d8ab9b674a1f5f813dda74d2ef37936 to your computer and use it in GitHub Desktop.

Select an option

Save ShebaDoge/7d8ab9b674a1f5f813dda74d2ef37936 to your computer and use it in GitHub Desktop.
The thing about codepen that is the worse
Theres a problem with codepen...
So first I am saying this on github because why would i script this on html
so the issue is if you try to copy somebodys work it wont work the only way
is to press ctrl+shift+i and select the document it sucks how you cant actually
copy the script that it shows, witch is one of the most logical way to do things
like this a 2d version of superhot so i try to copy the html
"<div class="container">
<div id="game"></div>
<h2>ARROW KEYS + SPACEBAR</h2>
<p>
INSPIRED BY <a href="https://superhotgame.com" target="_blank">SUPERHOT</a> (THE 3D GAME)
</p>
<p>MADE BY BENJAMIN MILES
<a href="https://twitter.com/benjaminmiles" target="_blank"><i class="fa fa-twitter"></i></a>
<a href="https://codepen.io/benjaminmiles" target="_blank"><i class="fa fa-codepen"></i></a>
<a href="http://www.benjaminmiles.com/blog/2016/2/29/superhot-2d" target="_blank"><i class="fa fa-external-link-square"></i></a>
</p>
<p>
<a href="https://codepen.io/benjaminmiles/pen/PNoXdQ" target="_blank">SOURCE CODE</a>
</p>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-19784624-1', 'auto');
ga('send', 'pageview');
</script>
"
theres obviously css and js but its to long so i decided to just copy them and paste them into a pen tha i created
and guess what yeah it dosent work at ALL so when i do ctrl+shift+i then select the document and copy it it will work.
and it takes a lot of effort just to do ONE thing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment