We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa73607 commit c320568Copy full SHA for c320568
.DS_Store
0 Bytes
.vscode/settings.json
@@ -0,0 +1,3 @@
1
+{
2
+ "liveServer.settings.port": 5501
3
+}
section3/1.회문문자열.html
@@ -0,0 +1,25 @@
+<html>
+ <head>
+ <meta charset="UTF-8" />
4
+ <title>출력결과</title>
5
+ </head>
6
+ <body>
7
+ <script>
8
+ function solution(s) {
9
+ let answer = 'NO';
10
+
11
+ const replacedString = s.toUpperCase();
12
13
+ const reversedString = replacedString.split('').reverse().join('');
14
15
+ if (replacedString === reversedString) {
16
+ return 'YES';
17
+ }
18
+ return answer;
19
20
21
+ let str = 'gooG';
22
+ console.log(solution(str));
23
+ </script>
24
+ </body>
25
+</html>
0 commit comments