Skip to content

Commit

Permalink
Turtle transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanShih04 committed Sep 17, 2021
1 parent 3d0761a commit da09db9
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 33 deletions.

This file was deleted.

This file was deleted.

21 changes: 12 additions & 9 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 27 additions & 1 deletion templates/about/nathanabout.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,31 @@ <h1>About Nathan</h1>
</a>
<h1>I'm Nathan Shih and I'm a junior at Del Norte High School. I really like the Fast and Furious movie franchise as well as turtles. As of right now, I'm really enjoying CSP as learning to code has been very interesting and is very rewarding to see the final product in the website. This picture is also an embed link
</h1>
</body>

</script>
<button onclick = "MonkeyUndressFunction()">Turtle Transform</button>

<p>
<img alt = "/static/bred.jpg" src = "/static/tordle.png" width="250"
style = "..." id="MonkeyUndressButton" onclick="MonkeyUndressFunction()"

</p>

<script language = "javascript">
function MonkeyUndressFunction() {

if (document.getElementById("MonkeyUndressButton").src == "/static/tordle.png")
{
document.getElementById("MonkeyUndressButton").src = "/static/tordle.png";
}
else
{
document.getElementById("MonkeyUndressButton").src = "/static/bred.jpg";
}
}

</script>
<button type="button" onClick="window.location.reload();">Turtle Retransform</button>

</body>
</html>

0 comments on commit da09db9

Please sign in to comment.