Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
javascript-exercise
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shanelle Valencia
javascript-exercise
Commits
0cdfad0a
Commit
0cdfad0a
authored
Apr 09, 2021
by
Shanelle Valencia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean thy code
parent
f0078c69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
practice.html
practice.html
+6
-9
No files found.
practice.html
View file @
0cdfad0a
...
...
@@ -11,7 +11,6 @@
}
</script>
<script
type=
"text/javascript"
src=
"randomMood.js"
></script>
<script
type=
"text/javascript"
src=
"buttonFunc.js"
></script>
<script
type=
"text/javascript"
src=
"loops.js"
>
...
...
@@ -27,7 +26,7 @@
<script>
((
name
,
session
)
=>
{
document
.
write
(
`Hello
${
name
}
! Welcome to
${
session
}
.`
);
})(
"
Test
er"
,
"JS Basics"
);
})(
"
Us
er"
,
"JS Basics"
);
</script>
</marquee>
</h2>
...
...
@@ -46,16 +45,14 @@
</form>
<script>
document
.
write
(
doWhileLoop
(
arr
)
+
'<br>'
);
<
!-- <
script>
document.write(doWhileLoop(arr) + '<br>'
+ forOfLoop(arr) + '<br>'
);
</script>
<br>
<br> -->
<input
type=
"button"
onclick=
"testButton()"
value=
"Click?"
>
<input
type=
"button"
onclick=
"document.write(switchStatements(strArr))"
value=
"Task"
>
</body>
</html>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment