Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
41 changes: 23 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Webkul Technical Round Question</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<style type="text/css" media="all">

body {
height: 100vh;
width: 100vw;
padding: 0;
margin: 0;
}
body {
height: 100vh;
width: 100vw;
padding: 0;
margin: 0;
overflow-x: hidden;

}

.grid-ctn-one {
border: none;
display: grid;
Expand All @@ -25,7 +27,7 @@
align-self: center;
justify-self: center;
}

.grid-ctn-two {
border: none;
display: grid;
Expand All @@ -35,25 +37,25 @@
align-self: center;
justify-self: center;
}

div {
border: none;
padding: 4px;
}

.img-ctn {
width: 90vw;
height: 30vh;
}

.img-ctn img {
width: 100%;
height: 100%;
object-fit: contain;
}

</style>
</head>

<body>
<div class="container">
<h1 class="text-center alert alert-danger m-5">Webkul Pattern Problem</h1>
Expand Down Expand Up @@ -238,9 +240,10 @@ <h2 class="text-center alert alert-info m-2">for input of 5</h2>
</div>
<hr />
<div class="container">
<h2 class="text-center alert alert-info m-2">Solution</h2>
<pre>
<h2 class="text-center alert alert-info m-2">Solution</h2>
<pre>
<code>
<strong>
for i in range(1,n+3):
for j in range(n//2+2):
if i <= n//2+2 and j < i:
Expand All @@ -259,10 +262,12 @@ <h2 class="text-center alert alert-info m-2">Solution</h2>
print("@",end=""
print()
print()
</strong>
</code>
</pre>
<a href="https://github.com/Mr-vabs/webkul/tree/main/Python" class="btn btn-primary btn-lg">See Code Repository</a>
<hr />
</div>
</body>
</html>

</html>