KiranAminPanjwani / MedStats

A Personal Health Journal Website
https://medstats-health-journal.netlify.app/
MIT License
30 stars 53 forks source link

Fix </br> tag and unexpected closing tag and Reformatting Code #140

Open mdtausifiqbal opened 1 year ago

mdtausifiqbal commented 1 year ago

šŸŽ‡ Description

Hi I tried to run prettier to format all code once. I found some bug in code as follows. I want to fix these issue.

Checking formatting...
[warn] .github\ISSUE_TEMPLATE\bug.yaml
[warn] .github\ISSUE_TEMPLATE\doc-issue.yaml
[warn] .github\ISSUE_TEMPLATE\feature_request.yaml
[warn] .github\PULL_REQUEST_TEMPLATE.md
[warn] CODE_OF_CONDUCT.md
contactUs.html
[error] contactUs.html: SyntaxError: Void elements do not have end tags "br" (63:99)
[error]   61 |     <p class="text-center1">
[error]   62 |       Made by Kiran Amin Panjwani <br>
[error] > 63 |       This Project is participating in Hacktoberfest. Copyright Ā© <span id="current-year"></span>.</br></br>
[error]      |                                                                                                   ^^^^^
[error]   64 |     </p>
[error]   65 |   </footer>
[error]   66 |
[warn] Contributing_Guidlines.md
[warn] css\common.css
[warn] css\contactus.css
[warn] css\scrollTop.css
[warn] css\sign up.css
css\style.css
[error] css\style.css: SyntaxError: CssSyntaxError: Unexpected } (414:1)
[error]   412 |   transition: 0.15s;
[error]   413 |   scale: 1.07;
[error] > 414 | }
[error]       | ^
[error]   415 |
[error]   416 |
[error]   417 | .savebtn{
[warn] css\verticalScroll.css
index.html
[error] index.html: SyntaxError: Void elements do not have end tags "br" (94:45)
[error]   92 |       <ol class="progress-bar">
[error]   93 |         <li class="is-good" onclick="progressbarPopup(7)">
[error] > 94 |           <div class="popup"><span>Excellent</br><span>July/9/2023</span>
[error]      |                                             ^^^^^
[error]   95 |               <span class="popuptext" id="Popup7" style="left: -50%;">
[error]   96 |                 <div class="navProgressbar">
[error]   97 |                   <div class="dateBox">July/9/2023</div>
[warn] js\progressBar.js
[warn] js\script.js
[warn] js\scrollTop.js
login.html
[error] login.html: SyntaxError: Unexpected closing tag "div". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (64:3)
[error]   62 |     </div>
[error]   63 |
[error] > 64 |   </div>
[error]      |   ^^^^^^
[error]   65 |
[error]   66 |     <script>
[error]   67 |       const currentYear = new Date().getFullYear();
[warn] Readme.md
sign up.html
[error] sign up.html: SyntaxError: Unexpected closing tag "div". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (68:5)
[error]   66 |     </div>
[error]   67 |
[error] > 68 |     </div>
[error]      |     ^^^^^^
[error]   69 |   </section>
[error]   70 |
[error]   71 |   <footer>
[warn] Code style issues found in 15 files.

šŸ–¼ Screenshots

No response