File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 9898
9999.center-wrapper {
100100 width : 100vw ;
101- height : 100vh ;;
101+ height : 100vh ;
102102 display : flex;
103103 justify-content : center;
104104 align-items : center;
181181 overflow : hidden;
182182}
183183
184- # character {
184+ # character1 {
185185 width : 90px ;
186186 position : absolute;
187187 bottom : 300px ;
395395 top : -170px ;
396396 width : 1400px ;
397397 height : 55px ;
398- border : 1px solid red;
399398}
400399
401400[data-info = "vscode" ]{
Original file line number Diff line number Diff line change 1414< body >
1515 < div class ="center-wrapper ">
1616 < div class ="wrapper ">
17- < img src ="links/character/notMoving@2x.png " alt ="character " id ="character ">
17+ < img src ="links/character/notMoving@2x.png " alt ="character " id ="character1 ">
1818 < div id ="music-switch " onclick ="backgroundMusicSwitch() "> </ div >
1919 < a href ="https://github.com/yannick1691/jquaryGame " target ="_blank " class ="github "> < img src ="links/icons/Octocat.png " height ="55 " alt ="github "> </ a >
2020 < div class ="guide ">
@@ -116,7 +116,7 @@ <h3 data-info="digitaloceanh3">server</h3>
116116 < audio src ="links/music/denied.wav " css ="hidden " data-music ="denied "> </ audio >
117117 < script >
118118 const noAcces = document . querySelector ( 'audio[data-music="denied"]' ) ; // select's the no acces mp3
119- const character = document . querySelector ( '#character ' ) ; // pretty straight forward selects the character
119+ const character = document . querySelector ( '#character1 ' ) ; // pretty straight forward selects the character
120120 const musicSwitch = document . querySelector ( '#music-switch' ) ; // defines the music switch button to change music on click
121121 const container = document . querySelector ( 'body' ) ; // sets the variable container to absolute body
122122 const scene = document . querySelector ( '.wrapper' ) ; // define's the wrapper (basicly the canvas)
You can’t perform that action at this time.
0 commit comments