I'm referring to this website to learn how to implement a side menu in CSS: http://ift.tt/1cLoBvf
I am not succeeding. I have a > on the upper part of my webpage, which only appeared after implementing the two source codes provided by the link. It isn't becoming interactive though. To get it responsive, I need to declare the line to enable the ui.js code, but I'm having trouble with this.
I declared:
`<!DOCTYPE html>
<!<script type="text/css" src="Scripts/main.css"></script>>
<script src="ui.js"></script>
<html>
<head>
<script src="ui.js"></script>
<style>
body {background-color:black}
h1 {color:azure}
p {color:whitesmoke; border:2px solid whitesmoke; padding: 10px;}
}</style>
<link rel="stylesheet" type="text/css" href="side-menu.css" media="screen" />
</head>
<h1>
Home
</h1>
<p>
Your momma!
</p>
<div>
<button id="btnAdd" class="btn btn-small">Add</button>
<button id="btnClear" class="btn btn-small">Clear</button>
</div>
</html>`
And it isn't becoming active. Any thoughts would be greatly appreciated!
Aucun commentaire:
Enregistrer un commentaire